aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <[email protected]>2014-10-13 15:52:52 -0700
committerLinus Torvalds <[email protected]>2014-10-14 02:18:18 +0200
commitd5fae669a99d00dc9362da354f2b9fdfbeb669a7 (patch)
treef759b59559c0f30ac7c36d506999e3424a3091f7
parent765a98a6b9e71702fd8e3822b654f9041a206b47 (diff)
rtc: bq32000: add trickle charger device tree binding
BQ32000 have "trickle chargers". Introduce a device tree binding for specifying the trickle charger configuration for that. Signed-off-by: Pavel Machek <[email protected]> Reviewed-by: Jason Cooper <[email protected]> Cc: Matti Vaittinen <[email protected]> Cc: Rob Herring <[email protected]> Cc: Ian Campbell <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/i2c/ti,bq32k.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/ti,bq32k.txt b/Documentation/devicetree/bindings/i2c/ti,bq32k.txt
new file mode 100644
index 000000000000..e204906b9ad3
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/ti,bq32k.txt
@@ -0,0 +1,18 @@
+* TI BQ32000 I2C Serial Real-Time Clock
+
+Required properties:
+- compatible: Should contain "ti,bq32000".
+- reg: I2C address for chip
+
+Optional properties:
+- trickle-resistor-ohms : Selected resistor for trickle charger
+ Values usable are 1120 and 20180
+ Should be given if trickle charger should be enabled
+- trickle-diode-disable : Do not use internal trickle charger diode
+ Should be given if internal trickle charger diode should be disabled
+Example:
+ bq32000: rtc@68 {
+ compatible = "ti,bq32000";
+ trickle-resistor-ohms = <1120>;
+ reg = <0x68>;
+ };