Skip to content

Commit d5fae66

Browse files
pavelmachektorvalds
authored andcommitted
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>
1 parent 765a98a commit d5fae66

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
};

0 commit comments

Comments
 (0)