linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini
@ 2017-01-28 22:59 Linus Walleij
  2017-01-29 17:29 ` Guenter Roeck
  2017-02-01 16:04 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2017-01-28 22:59 UTC (permalink / raw)
  To: linux-arm-kernel

This adds DT bindings for the Cortina systems Gemini SoC
watchdog timer.

Cc: devicetree at vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
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>;
+};
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini
  2017-01-28 22:59 [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini Linus Walleij
@ 2017-01-29 17:29 ` Guenter Roeck
  2017-02-01 16:04 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2017-01-29 17:29 UTC (permalink / raw)
  To: linux-arm-kernel

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 <linus.walleij@linaro.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
> 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>;
> +};
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini
  2017-01-28 22:59 [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini Linus Walleij
  2017-01-29 17:29 ` Guenter Roeck
@ 2017-02-01 16:04 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2017-02-01 16:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Jan 28, 2017 at 11:59:05PM +0100, 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 <linus.walleij@linaro.org>
> ---
> 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 +++++++++++++++++

gemin?

With that fixed,

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-01 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-28 22:59 [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini Linus Walleij
2017-01-29 17:29 ` Guenter Roeck
2017-02-01 16:04 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).