From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini Date: Sun, 29 Jan 2017 09:29:07 -0800 Message-ID: References: <20170128225905.24549-1-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170128225905.24549-1-linus.walleij@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Linus Walleij , Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Wim Van Sebroeck Cc: openwrt-devel@openwrt.org, devicetree@vger.kernel.org, Janos Laube , Paulius Zaleckas List-Id: devicetree@vger.kernel.org On 01/28/2017 02:59 PM, Linus Walleij wrote: > This adds DT bindings for the Cortina systems Gemini SoC > watchdog timer. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij Reviewed-by: Guenter Roeck > --- > ChangeLog v1->v2: > - Make the timeout an optional property > - Do not mention any Linux defaults if the property is not there > --- > .../bindings/watchdog/cortina,gemin-watchdog.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > new file mode 100644 > index 000000000000..bc4b865d178b > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > @@ -0,0 +1,17 @@ > +Cortina Systems Gemini SoC Watchdog > + > +Required properties: > +- compatible : must be "cortina,gemini-watchdog" > +- reg : shall contain base register location and length > +- interrupts : shall contain the interrupt for the watchdog > + > +Optional properties: > +- timeout-sec : the default watchdog timeout in seconds. > + > +Example: > + > +watchdog@41000000 { > + compatible = "cortina,gemini-watchdog"; > + reg = <0x41000000 0x1000>; > + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; > +}; > From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@roeck-us.net (Guenter Roeck) Date: Sun, 29 Jan 2017 09:29:07 -0800 Subject: [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini In-Reply-To: <20170128225905.24549-1-linus.walleij@linaro.org> References: <20170128225905.24549-1-linus.walleij@linaro.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/28/2017 02:59 PM, Linus Walleij wrote: > This adds DT bindings for the Cortina systems Gemini SoC > watchdog timer. > > Cc: devicetree at vger.kernel.org > Signed-off-by: Linus Walleij Reviewed-by: Guenter Roeck > --- > ChangeLog v1->v2: > - Make the timeout an optional property > - Do not mention any Linux defaults if the property is not there > --- > .../bindings/watchdog/cortina,gemin-watchdog.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > new file mode 100644 > index 000000000000..bc4b865d178b > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt > @@ -0,0 +1,17 @@ > +Cortina Systems Gemini SoC Watchdog > + > +Required properties: > +- compatible : must be "cortina,gemini-watchdog" > +- reg : shall contain base register location and length > +- interrupts : shall contain the interrupt for the watchdog > + > +Optional properties: > +- timeout-sec : the default watchdog timeout in seconds. > + > +Example: > + > +watchdog at 41000000 { > + compatible = "cortina,gemini-watchdog"; > + reg = <0x41000000 0x1000>; > + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; > +}; >