summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
diff options
context:
space:
mode:
authorEmil Bartczak <emilbart@gmail.com>2016-03-21 03:06:10 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-22 00:55:29 +0300
commit7f8a58925b4c0198c12344025b6ffd5dd7d9f1f5 (patch)
treeb399addb8b7ff7258ad9cae5b3de8b1eccb695ef /Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
parent15c6ea6f81328b0071cf63fb00b324199a9b8647 (diff)
downloadlinux-7f8a58925b4c0198c12344025b6ffd5dd7d9f1f5.tar.xz
rtc: mcp795: add devicetree support
Add device tree support to the rtc-mcp795 driver. Signed-off-by: Emil Bartczak <emilbart@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/maxim,mcp795.txt')
-rw-r--r--Documentation/devicetree/bindings/rtc/maxim,mcp795.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/maxim,mcp795.txt b/Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
new file mode 100644
index 000000000000..a59fdd8c236d
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
@@ -0,0 +1,11 @@
+* Maxim MCP795 SPI Serial Real-Time Clock
+
+Required properties:
+- compatible: Should contain "maxim,mcp795".
+- reg: SPI address for chip
+
+Example:
+ mcp795: rtc@0 {
+ compatible = "maxim,mcp795";
+ reg = <0>;
+ };