diff mbox series

[v2,2/2] doc: device-tree-bindings: rtc: Abracon AB x80x i2c rtc

Message ID 20210115055303.6366-3-grandpaul@gmail.com
State New
Headers show
Series add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc | expand

Commit Message

Ying-Chun Liu Jan. 15, 2021, 5:53 a.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>


Document the bindings for abracon,abx80x and related compatibles.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>

---
v2: nothing changed
---
 .../rtc/abracon,abx80x.txt                    | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 doc/device-tree-bindings/rtc/abracon,abx80x.txt

-- 
2.29.2

Comments

Tom Rini Jan. 28, 2021, 11:59 p.m. UTC | #1
On Fri, Jan 15, 2021 at 01:53:03PM +0800, Ying-Chun Liu wrote:

> From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>

> 

> Document the bindings for abracon,abx80x and related compatibles.

> 

> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/doc/device-tree-bindings/rtc/abracon,abx80x.txt b/doc/device-tree-bindings/rtc/abracon,abx80x.txt
new file mode 100644
index 0000000000..2405e35a1b
--- /dev/null
+++ b/doc/device-tree-bindings/rtc/abracon,abx80x.txt
@@ -0,0 +1,31 @@ 
+Abracon ABX80X I2C ultra low power RTC/Alarm chip
+
+The Abracon ABX80X family consist of the ab0801, ab0803, ab0804, ab0805, ab1801,
+ab1803, ab1804 and ab1805. The ab0805 is the superset of ab080x and the ab1805
+is the superset of ab180x.
+
+Required properties:
+
+ - "compatible": should one of:
+        "abracon,abx80x"
+        "abracon,ab0801"
+        "abracon,ab0803"
+        "abracon,ab0804"
+        "abracon,ab0805"
+        "abracon,ab1801"
+        "abracon,ab1803"
+        "abracon,ab1804"
+        "abracon,ab1805"
+        "microcrystal,rv1805"
+	Using "abracon,abx80x" will enable chip autodetection.
+ - "reg": I2C bus address of the device
+
+Optional properties:
+
+The abx804 and abx805 have a trickle charger that is able to charge the
+connected battery or supercap. Both the following properties have to be defined
+and valid to enable charging:
+
+ - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V)
+ - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output
+                          resistor, the other values are in kOhm.