diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2014-04-13 12:18:37 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-04-13 05:38:45 -0700 |
commit | 4e87d8c960256166fed7e6edd228b418bbe1aa08 (patch) | |
tree | 22e3ff44948057615b909e67cfb3c583ee4c3bd6 | |
parent | ff66b38933844c9cd6b57abcf3073b13a35dc092 (diff) |
power: lc709203f: Update DT document for battery current meaurement
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
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt index cab288316776..74c32afe7cf3 100644 --- a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt +++ b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt @@ -34,6 +34,16 @@ if battery thermistor isnot connected to device and temperature is read from 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 { |