Re: [PATCH v3 3/6] Documentation: DT: Document twl4030-madc-battery bindings

From: Dr. H. Nikolaus Schaller
Date: Tue Mar 17 2015 - 05:00:23 EST



Am 17.03.2015 um 09:48 schrieb Pavel Machek <pavel@xxxxxx>:

>>
>> Temperature calibration should have already been done in the underlaying twl4030 iio driver.
>>
>> Discharge rate is the real current flow reported in uA. Also
>> reported by iio.
>
> Ack, but there's rather severe temperature dependency of the lithium
> battery, which you should take into account if you want to compute
> “percentage charged".

We just want to estimate it as good as possible. 5-10% is sufficient
and better than no value at all (which is what you get without this
driver).

And, we just convert the (existing) driver from non-DT to DT and to use
iio, so we do not want to change the inner logic what it does and how it
works.

BR,
Nikolaus

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/