From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer Date: Tue, 24 Nov 2015 18:05:32 -0600 Message-ID: <20151125000532.GA24930@rob-hp-laptop> References: <1448370250-28183-1-git-send-email-martyn.welch@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1448370250-28183-1-git-send-email-martyn.welch-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Martyn Welch Cc: Wim Van Sebroeck , linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Tue, Nov 24, 2015 at 01:04:09PM +0000, Martyn Welch wrote: > This patchs adds documentation for the binding of the Zodiac RAVE > Switch Watchdog Processor. This is an i2c based watchdog. > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Martyn Welch > --- > > v2: Addition of optional properties. > > .../devicetree/bindings/watchdog/ziirave-wdt.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt b/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt > new file mode 100644 > index 0000000..069cc2a > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt > @@ -0,0 +1,19 @@ > +Zodiac RAVE Watchdog Timer > + > +Required properties: > +- compatible: must be "zii,rave-wdt" > +- reg: i2c slave address of device, usually 0x38 > + > +Optional Properties: > +- timeout-sec: Watchdog timeout value in seconds. > +- reset-duration-msec: Duration of the pulse generated when the watchdog times Should be "-ms" rather than msec. > + out. Value in milliseconds. > + > +Example: > + > + watchdog@38 { > + compatible = "zii,rave-wdt"; > + reg = <0x38>; > + timeout-sec = <30>; > + reset-duration-msec = <30>; > + }; > -- > 2.1.4 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html