]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dt-bindings: rtc: Add Realtek RTD1295
authorAndreas Färber <afaerber@suse.de>
Mon, 4 Sep 2017 22:53:22 +0000 (00:53 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 5 Sep 2017 07:31:32 +0000 (09:31 +0200)
Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt b/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt
new file mode 100644 (file)
index 0000000..bbf1ccb
--- /dev/null
@@ -0,0 +1,16 @@
+Realtek RTD129x Real-Time Clock
+===============================
+
+Required properties:
+- compatible :  Should be "realtek,rtd1295-rtc"
+- reg        :  Specifies the physical base address and size
+- clocks     :  Specifies the clock gate
+
+
+Example:
+
+       rtc@9801b600 {
+               compatible = "realtek,rtd1295-clk";
+               reg = <0x9801b600 0x100>;
+               clocks = <&clkc RTD1295_CLK_EN_MISC_RTC>;
+       };