From: Maxime Ripard <mripard@kernel.org> To: linux@roeck-us.net, wim@linux-watchdog.org Cc: linux-kernel@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <mripard@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Maxime Ripard <maxime.ripard@bootlin.com> Subject: [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Date: Mon, 19 Aug 2019 20:20:34 +0200 [thread overview] Message-ID: <20190819182039.24892-1-mripard@kernel.org> (raw) From: Maxime Ripard <maxime.ripard@bootlin.com> The watchdogs have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> --- Changes from v1: - New patch --- .../bindings/watchdog/watchdog.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.yaml diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml new file mode 100644 index 000000000000..187bf6cb62bf --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Watchdog Generic Bindings + +maintainers: + - Guenter Roeck <linux@roeck-us.net> + - Wim Van Sebroeck <wim@linux-watchdog.org> + +description: | + This document describes generic bindings which can be used to + describe watchdog devices in a device tree. + +properties: + $nodename: + pattern: "^watchdog(@.*|-[0-9a-f])?$" + + timeout-sec: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Contains the watchdog timeout in seconds. + +... -- 2.21.0
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <mripard@kernel.org> To: linux@roeck-us.net, wim@linux-watchdog.org Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, Maxime Ripard <maxime.ripard@bootlin.com>, linux-kernel@vger.kernel.org, Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Date: Mon, 19 Aug 2019 20:20:34 +0200 [thread overview] Message-ID: <20190819182039.24892-1-mripard@kernel.org> (raw) From: Maxime Ripard <maxime.ripard@bootlin.com> The watchdogs have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> --- Changes from v1: - New patch --- .../bindings/watchdog/watchdog.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.yaml diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml new file mode 100644 index 000000000000..187bf6cb62bf --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Watchdog Generic Bindings + +maintainers: + - Guenter Roeck <linux@roeck-us.net> + - Wim Van Sebroeck <wim@linux-watchdog.org> + +description: | + This document describes generic bindings which can be used to + describe watchdog devices in a device tree. + +properties: + $nodename: + pattern: "^watchdog(@.*|-[0-9a-f])?$" + + timeout-sec: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Contains the watchdog timeout in seconds. + +... -- 2.21.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-08-19 18:20 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-19 18:20 Maxime Ripard [this message] 2019-08-19 18:20 ` [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Maxime Ripard 2019-08-19 18:20 ` [PATCH v2 2/6] dt-bindings: watchdog: Convert Allwinner watchdog to a schema Maxime Ripard 2019-08-19 18:20 ` Maxime Ripard 2019-08-19 19:06 ` Rob Herring 2019-08-19 19:06 ` Rob Herring 2019-08-19 19:06 ` Rob Herring 2019-08-19 18:20 ` [PATCH v2 3/6] dt-bindings: watchdog: sun4i: Add the watchdog interrupts Maxime Ripard 2019-08-19 18:20 ` Maxime Ripard 2019-08-19 18:20 ` [PATCH v2 4/6] dt-bindings: watchdog: sun4i: Add the watchdog clock Maxime Ripard 2019-08-19 18:20 ` Maxime Ripard 2019-08-19 18:56 ` Rob Herring 2019-08-19 18:56 ` Rob Herring 2019-08-19 18:56 ` Rob Herring 2019-08-19 18:20 ` [PATCH v2 5/6] ARM: dts: sunxi: Add missing watchdog interrupts Maxime Ripard 2019-08-19 18:20 ` Maxime Ripard 2019-08-19 18:20 ` [PATCH v2 6/6] ARM: dts: sunxi: Add missing watchdog clocks Maxime Ripard 2019-08-19 18:20 ` Maxime Ripard 2019-08-19 19:04 ` [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Rob Herring 2019-08-19 19:04 ` Rob Herring 2019-08-19 19:04 ` Rob Herring 2019-08-20 15:54 ` Guenter Roeck 2019-08-20 15:54 ` Guenter Roeck 2019-08-21 14:33 ` Maxime Ripard 2019-08-21 14:33 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190819182039.24892-1-mripard@kernel.org \ --to=mripard@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=frowand.list@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@bootlin.com \ --cc=robh+dt@kernel.org \ --cc=wens@csie.org \ --cc=wim@linux-watchdog.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.