Documentation: bindings: fix twl-rtc documentation
authorNicolae Rosia <Nicolae_Rosia@mentor.com>
Tue, 1 Nov 2016 09:42:36 +0000 (11:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 4 Nov 2016 23:07:43 +0000 (00:07 +0100)
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>
Documentation/devicetree/bindings/rtc/twl-rtc.txt

index 596e0c97be7aa318a5d2268e5d464b9b147dd7bf..8f9a94f2f8969911e4490b744563c180a413426b 100644 (file)
@@ -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>;
+       };