diff options
author | Matti Vaittinen <matti.vaittinen@nsn.com> | 2014-10-13 18:52:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:18 -0400 |
commit | 2ac848c018615bf3605faa711207518292d4bfef (patch) | |
tree | f6442523cdc7e04a7c38c4d4d18e3079d92e1bd0 /Documentation | |
parent | 038b892aa925cd0530472284c7b4b3f32e2b1f56 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/rtc/dallas,ds1339.txt | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt index 5af3d9df6ecb..fbde415078e6 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt | |||
@@ -35,7 +35,6 @@ catalyst,24c32 i2c serial eeprom | |||
35 | cirrus,cs42l51 Cirrus Logic CS42L51 audio codec | 35 | cirrus,cs42l51 Cirrus Logic CS42L51 audio codec |
36 | dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock | 36 | dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock |
37 | dallas,ds1338 I2C RTC with 56-Byte NV RAM | 37 | dallas,ds1338 I2C RTC with 56-Byte NV RAM |
38 | dallas,ds1339 I2C Serial Real-Time Clock | ||
39 | dallas,ds1340 I2C RTC with Trickle Charger | 38 | dallas,ds1340 I2C RTC with Trickle Charger |
40 | dallas,ds1374 I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output | 39 | dallas,ds1374 I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output |
41 | dallas,ds1631 High-Precision Digital Thermometer | 40 | dallas,ds1631 High-Precision Digital Thermometer |
diff --git a/Documentation/devicetree/bindings/rtc/dallas,ds1339.txt b/Documentation/devicetree/bindings/rtc/dallas,ds1339.txt new file mode 100644 index 000000000000..916f57601a8f --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/dallas,ds1339.txt | |||
@@ -0,0 +1,18 @@ | |||
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 | }; | ||