* rtc: bq32000: add trickle charger device tree binding
@ 2014-09-11 10:40 Pavel Machek
2014-09-11 11:24 ` Jason Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2014-09-11 10:40 UTC (permalink / raw)
To: kernel list, matti.vaittinen, robh+dt, akpm, ijc+devicetree,
a.zummo, linux
Cc: jason
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>
diff --git a/Documentation/devicetree/bindings/i2c/ti,bq32k.txt b/Documentation/devicetree/bindings/i2c/ti,bq32k.txt
new file mode 100644
index 0000000..e204906
--- /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>;
+ };
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: rtc: bq32000: add trickle charger device tree binding
2014-09-11 10:40 rtc: bq32000: add trickle charger device tree binding Pavel Machek
@ 2014-09-11 11:24 ` Jason Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2014-09-11 11:24 UTC (permalink / raw)
To: Pavel Machek
Cc: kernel list, matti.vaittinen, robh+dt, akpm, ijc+devicetree,
a.zummo, linux
On Thu, Sep 11, 2014 at 12:40:45PM +0200, Pavel Machek wrote:
> 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>
thx,
Jason.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-11 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11 10:40 rtc: bq32000: add trickle charger device tree binding Pavel Machek
2014-09-11 11:24 ` Jason Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox