summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolae Rosia <Nicolae_Rosia@mentor.com>2016-11-01 12:42:36 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-05 02:07:43 +0300
commit8e9e3f5ba9ec1ea9bcfc6a87b9247c7bb41a4178 (patch)
tree3a94dc0428b390b1807835b50edc2dfc6547fa01
parent959df7778bbd3003fe2ade67e3b41ecb5e0ca25d (diff)
downloadlinux-8e9e3f5ba9ec1ea9bcfc6a87b9247c7bb41a4178.tar.xz
Documentation: bindings: fix twl-rtc documentation
Add interrupts documentation Fix example and formatting Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--Documentation/devicetree/bindings/rtc/twl-rtc.txt19
1 files changed, 9 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/rtc/twl-rtc.txt b/Documentation/devicetree/bindings/rtc/twl-rtc.txt
index 596e0c97be7a..8f9a94f2f896 100644
--- a/Documentation/devicetree/bindings/rtc/twl-rtc.txt
+++ b/Documentation/devicetree/bindings/rtc/twl-rtc.txt
@@ -1,12 +1,11 @@
-* TI twl RTC
-
-The TWL family (twl4030/6030) contains a RTC.
+* Texas Instruments TWL4030/6030 RTC
Required properties:
-- compatible : Should be twl4030-rtc
-
-Examples:
-
-rtc@0 {
- compatible = "ti,twl4030-rtc";
-};
+- compatible : Should be "ti,twl4030-rtc"
+- interrupts : Should be the interrupt number.
+
+Example:
+ rtc {
+ compatible = "ti,twl4030-rtc";
+ interrupts = <11>;
+ };