From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-oi0-f50.google.com ([209.85.218.50]:35455 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755626AbbKYAFk (ORCPT ); Tue, 24 Nov 2015 19:05:40 -0500 Date: Tue, 24 Nov 2015 18:05:32 -0600 From: Rob Herring To: Martyn Welch Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/2] Add binding documentation for Zodiac Watchdog Timer 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 Content-Disposition: inline In-Reply-To: <1448370250-28183-1-git-send-email-martyn.welch@collabora.co.uk> Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@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@vger.kernel.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 >