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

rtc: s3c: Document required clocks in the DT binding

The S3C Real Time Clock driver requires the clock and source clock to
be defined in the device node but that requirement is not documented.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Javier Martinez Canillas and committed by
Rob Herring
43f34082 32e593b9

+6
+6
Documentation/devicetree/bindings/rtc/s3c-rtc.txt
··· 14 14 interrupt number is the rtc alarm interrupt and second interrupt number 15 15 is the rtc tick interrupt. The number of cells representing a interrupt 16 16 depends on the parent interrupt controller. 17 + - clocks: Must contain a list of phandle and clock specifier for the rtc 18 + and source clocks. 19 + - clock-names: Must contain "rtc" and "rtc_src" entries sorted in the 20 + same order as the clocks property. 17 21 18 22 Example: 19 23 ··· 25 21 compatible = "samsung,s3c6410-rtc"; 26 22 reg = <0x10070000 0x100>; 27 23 interrupts = <44 0 45 0>; 24 + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; 25 + clock-names = "rtc", "rtc_src"; 28 26 };