summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorChaitanya Bandi <bandik@nvidia.com>2014-01-30 19:39:52 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-02-05 01:57:32 -0800
commitce18c3492287848c66afe36c0b30c832a94c3b1d (patch)
treeafee30dd26f82a852c79cfdd2ecaad751bb7aaee /Documentation/devicetree
parentba535ed67ac99538d3a4a769b3780277d1fdb61d (diff)
power: lc709203f: Add thermistor_b, intial_rsoc, status bit programming
Added programming of thermistor_b, intial_rsoc and status bit in LC709203f FG driver. Bug 1447012 Change-Id: I69b0219e6bfffb307c6cfd66beba691a912fd93b Signed-off-by: Chaitanya Bandi <bandik@nvidia.com> Reviewed-on: http://git-master/r/362013 (cherry picked from commit 3169bbeacc41085bd509e796fff1d6d0e4399320) Reviewed-on: http://git-master/r/363139 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
index cd00bee55bf1..5fd2d7b3f280 100644
--- a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
+++ b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
@@ -3,11 +3,18 @@ lc709203f battery
Required properties :
- compatible : Should contain "onsemi,lc709203f".
+
+Optional properties:
+
- onsemi,tz-name : Thermal zone name.
+ - onsemi,thermistor-beta : THERMISTOR_B register value to be written
+ - onsemi,initial-rsoc : INITIAL_RSOC register value to be written
Example:
lc709203f@0b {
compatible = "onsemi,lc709203f";
onsemi,tz-name = "battery-temp";
+ onsemi,thermistor-beta = 0x0d34;
+ onsemi,initial-rsoc = 0xAA55;
};