summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChaitanya Bandi <bandik@nvidia.com>2014-03-14 11:23:08 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-19 04:20:46 -0700
commitdeb37e638c00ea47e8a400f49ae71bed180762ef (patch)
treefbfc07a7ca6a73fd3049581778a03981a008aa8c /Documentation
parent9a5eeced3e54f49f8bf8b81bf2120d22e4eb0b99 (diff)
power: bq2477x: Add device tree support
Added device tree support for bq2477x. Change-Id: I5dc928c609c8b4d6d9e8d09f46382307315f4f1c Signed-off-by: Chaitanya Bandi <bandik@nvidia.com> Reviewed-on: http://git-master/r/381886 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power/bq2477x-charger.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/bq2477x-charger.txt b/Documentation/devicetree/bindings/power/bq2477x-charger.txt
new file mode 100644
index 000000000000..6f9eee6a943f
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/bq2477x-charger.txt
@@ -0,0 +1,22 @@
+bq2477x charger
+~~~~~~~~~~~~~~~
+
+Required properties :
+ - compatible : should contain "ti,bq2477x".
+ - ti,dac-ichg : Charge current that must be programmed
+ - ti,dac-v : The maximum charge voltage that must be programmed
+ - ti,dac-minsv : The minimum System voltage that must be programmed
+ - ti,dac-iin : The input current that must be programmed
+ - ti,wdt-refresh-timeout : watch dog timer that must be programmed
+
+Example:
+
+ bq2477x@6a {
+ compatible = "ti,bq2477x";
+ reg = <0x6a>;
+ ti,dac-ichg = <2240>;
+ ti,dac-v = <9008>;
+ ti,dac-minsv = <4608>;
+ ti,dac-iin = <4992>;
+ ti,wdt-refresh-timeout = <40>;
+ };