diff options
author | Pavel Machek <pavel@ucw.cz> | 2014-10-13 18:52:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:18 -0400 |
commit | d5fae669a99d00dc9362da354f2b9fdfbeb669a7 (patch) | |
tree | f759b59559c0f30ac7c36d506999e3424a3091f7 /Documentation | |
parent | 765a98a6b9e71702fd8e3822b654f9041a206b47 (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 <pavel@denx.de>
Reviewed-by: Jason Cooper <jason@lakedameon.net>
Cc: Matti Vaittinen <matti.vaittinen@nsn.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/ti,bq32k.txt | 18 |
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 @@ | |||
1 | * TI BQ32000 I2C Serial Real-Time Clock | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should contain "ti,bq32000". | ||
5 | - reg: I2C address for chip | ||
6 | |||
7 | Optional properties: | ||
8 | - trickle-resistor-ohms : Selected resistor for trickle charger | ||
9 | Values usable are 1120 and 20180 | ||
10 | Should be given if trickle charger should be enabled | ||
11 | - trickle-diode-disable : Do not use internal trickle charger diode | ||
12 | Should be given if internal trickle charger diode should be disabled | ||
13 | Example: | ||
14 | bq32000: rtc@68 { | ||
15 | compatible = "ti,bq32000"; | ||
16 | trickle-resistor-ohms = <1120>; | ||
17 | reg = <0x68>; | ||
18 | }; | ||