diff mbox

Documentation: bindings: fix twl-rtc documentation

Message ID 1477993356-9195-1-git-send-email-Nicolae_Rosia@mentor.com
State Accepted
Headers show

Commit Message

Nicolae Rosia Nov. 1, 2016, 9:42 a.m. UTC
Add interrupts documentation
Fix example and formatting

Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com>
---
 Documentation/devicetree/bindings/rtc/twl-rtc.txt | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Comments

Alexandre Belloni Nov. 4, 2016, 11:09 p.m. UTC | #1
On 01/11/2016 at 11:42:36 +0200, Nicolae Rosia wrote :
> Add interrupts documentation
> Fix example and formatting
> 
> Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com>
> ---
>  Documentation/devicetree/bindings/rtc/twl-rtc.txt | 19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 
Applied, thanks.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/rtc/twl-rtc.txt b/Documentation/devicetree/bindings/rtc/twl-rtc.txt
index 596e0c9..8f9a94f 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>;
+	};