Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: document the rtc-sh bindings

Add the binding documentation for rtc-sh which is an RTC for
SuperH and RZ/A SoCs.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Chris Brandt and committed by
Alexandre Belloni
04767b9f dab5aec6

+28
+28
Documentation/devicetree/bindings/rtc/rtc-sh.txt
··· 1 + * Real Time Clock for Renesas SH and ARM SoCs 2 + 3 + Required properties: 4 + - compatible: Should be "renesas,r7s72100-rtc" and "renesas,sh-rtc" as a 5 + fallback. 6 + - reg: physical base address and length of memory mapped region. 7 + - interrupts: 3 interrupts for alarm, period, and carry. 8 + - interrupt-names: The interrupts should be labeled as "alarm", "period", and 9 + "carry". 10 + - clocks: The functional clock source for the RTC controller must be listed 11 + first (if exists). Additionally, potential clock counting sources are to be 12 + listed. 13 + - clock-names: The functional clock must be labeled as "fck". Other clocks 14 + may be named in accordance to the SoC hardware manuals. 15 + 16 + 17 + Example: 18 + rtc: rtc@fcff1000 { 19 + compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc"; 20 + reg = <0xfcff1000 0x2e>; 21 + interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING 22 + GIC_SPI 277 IRQ_TYPE_EDGE_RISING 23 + GIC_SPI 278 IRQ_TYPE_EDGE_RISING>; 24 + interrupt-names = "alarm", "period", "carry"; 25 + clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>, 26 + <&rtc_x3_clk>, <&extal_clk>; 27 + clock-names = "fck", "rtc_x1", "rtc_x3", "extal"; 28 + };