The lc709203f driver provided the property to measure battery current now.
The battery current can be read from the IIO interface with monitor.
This patch explain about the properties on nodes to measure the current.
bug
1413219
Change-Id: Ib1346f445f90d3a40cbf7ab7338c382ae8b3d120
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/395551
other source then following properties are required:
onsemi,tz-name
+Battery current monitoring:
+ Driver supports the battery current monitoring through IIO interface
+ and if platform supports it then following properties are required to
+ enable it as per iio-binding.txt.
+
+ io-channels = <&ina3221x INA3221_CHAN_INDEX(0, CURRENT, NORMAL)>;
+ io-channel-names = "battery-current";
+
+ Here iio-channel name for battry current is "battery-current".
+
Example:
lc709203f@0b {