[PATCH 3/4] rtc: ds1307: add device tree bindings documentation
From: Tomas Novotny
Date: Mon Nov 24 2014 - 10:59:21 EST
Signed-off-by: Tomas Novotny <tomas@xxxxxxxxxx>
---
.../devicetree/bindings/rtc/maxim,ds1307.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/maxim,ds1307.txt
diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds1307.txt b/Documentation/devicetree/bindings/rtc/maxim,ds1307.txt
new file mode 100644
index 0000000..eb6164c
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/maxim,ds1307.txt
@@ -0,0 +1,23 @@
+* Maxim (Dallas) DS1307 and compatible Real Time Clock
+
+For example, compatible chips are Maxim DS1337, Microchip MCP794xx,
+STMicroelectronics M41T00 and Epson RX-8025.
+
+Required properties:
+- compatible: For example "maxim,ds1307" (see rtc-ds1307.c driver for a full
+ list).
+- reg: i2c address
+
+Example for DS1307:
+
+ds1307: rtc@68 {
+ compatible = "maxim,ds1307";
+ reg = <0x68>;
+};
+
+Example for MCP79401:
+
+mcp7940x: rtc@6f {
+ compatible = "microchip,mcp7940x";
+ reg = <0x6f>;
+};
--
2.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/