aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-02-09 12:23:52 -0500
committerRob Herring <robh@kernel.org>2016-02-12 17:16:31 -0500
commit43f3408261a2fd5054ada359efa15f0b78faf0a7 (patch)
tree3c548a1aa6ef887c724071ed29462224556b2fc2
parent32e593b9c7be1a14d42ed288ab68a8e7b41ad873 (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/rtc/s3c-rtc.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
index ac2fcd6ff4b8..1068ffce9f91 100644
--- a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
+++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
@@ -14,6 +14,10 @@ Required properties:
14 interrupt number is the rtc alarm interrupt and second interrupt number 14 interrupt number is the rtc alarm interrupt and second interrupt number
15 is the rtc tick interrupt. The number of cells representing a interrupt 15 is the rtc tick interrupt. The number of cells representing a interrupt
16 depends on the parent interrupt controller. 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
18Example: 22Example:
19 23
@@ -21,4 +25,6 @@ Example:
21 compatible = "samsung,s3c6410-rtc"; 25 compatible = "samsung,s3c6410-rtc";
22 reg = <0x10070000 0x100>; 26 reg = <0x10070000 0x100>;
23 interrupts = <44 0 45 0>; 27 interrupts = <44 0 45 0>;
28 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
29 clock-names = "rtc", "rtc_src";
24 }; 30 };