Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: dt-bindings: trickle charger dt binding document for ds1339

Some DS13XX devices have "trickle chargers". Introduce a device tree
binding for the resistor and diode configuration for enabling trickle
charger.

Signed-off-by: Matti Vaittinen <matti.vaittinen@nsn.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pavel Machek <pavel@denx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Matti Vaittinen and committed by
Linus Torvalds
2ac848c0 038b892a

+18 -1
-1
Documentation/devicetree/bindings/i2c/trivial-devices.txt
··· 35 35 cirrus,cs42l51 Cirrus Logic CS42L51 audio codec 36 36 dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock 37 37 dallas,ds1338 I2C RTC with 56-Byte NV RAM 38 - dallas,ds1339 I2C Serial Real-Time Clock 39 38 dallas,ds1340 I2C RTC with Trickle Charger 40 39 dallas,ds1374 I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output 41 40 dallas,ds1631 High-Precision Digital Thermometer
+18
Documentation/devicetree/bindings/rtc/dallas,ds1339.txt
··· 1 + * Dallas DS1339 I2C Serial Real-Time Clock 2 + 3 + Required properties: 4 + - compatible: Should contain "dallas,ds1339". 5 + - reg: I2C address for chip 6 + 7 + Optional properties: 8 + - trickle-resistor-ohms : Selected resistor for trickle charger 9 + Values usable for ds1339 are 250, 2000, 4000 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 + ds1339: rtc@68 { 15 + compatible = "dallas,ds1339"; 16 + trickle-resistor-ohms = <250>; 17 + reg = <0x68>; 18 + };