From: Guenter Roeck <linux@roeck-us.net> To: Maxime Ripard <mripard@kernel.org> Cc: wim@linux-watchdog.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai <wens@csie.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, linux-watchdog@vger.kernel.org Subject: Re: [PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Date: Fri, 30 Aug 2019 09:48:11 -0700 [thread overview] Message-ID: <20190830164811.GA7911@roeck-us.net> (raw) In-Reply-To: <20190821143835.7294-1-mripard@kernel.org> On Wed, Aug 21, 2019 at 04:38:30PM +0200, Maxime Ripard wrote: > 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. > > Reviewed-by: Rob Herring <robh@kernel.org> > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > > --- > > 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: Guenter Roeck <linux@roeck-us.net> To: Maxime Ripard <mripard@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, wim@linux-watchdog.org, Frank Rowand <frowand.list@gmail.com>, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Date: Fri, 30 Aug 2019 09:48:11 -0700 [thread overview] Message-ID: <20190830164811.GA7911@roeck-us.net> (raw) In-Reply-To: <20190821143835.7294-1-mripard@kernel.org> On Wed, Aug 21, 2019 at 04:38:30PM +0200, Maxime Ripard wrote: > 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. > > Reviewed-by: Rob Herring <robh@kernel.org> > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > > --- > > 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 prev parent reply other threads:[~2019-08-30 16:48 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-21 14:38 [PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-21 14:38 ` [PATCH RESEND v2 2/6] dt-bindings: watchdog: Convert Allwinner watchdog to a schema Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-30 16:48 ` Guenter Roeck 2019-08-30 16:48 ` Guenter Roeck 2019-08-21 14:38 ` [PATCH RESEND v2 3/6] dt-bindings: watchdog: sun4i: Add the watchdog interrupts Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-30 16:48 ` Guenter Roeck 2019-08-30 16:48 ` Guenter Roeck 2019-08-21 14:38 ` [PATCH RESEND v2 4/6] dt-bindings: watchdog: sun4i: Add the watchdog clock Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-30 16:48 ` Guenter Roeck 2019-08-30 16:48 ` Guenter Roeck 2019-08-21 14:38 ` [PATCH RESEND v2 5/6] ARM: dts: sunxi: Add missing watchdog interrupts Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-21 14:38 ` [PATCH RESEND v2 6/6] ARM: dts: sunxi: Add missing watchdog clocks Maxime Ripard 2019-08-21 14:38 ` Maxime Ripard 2019-08-28 8:18 ` [PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Maxime Ripard 2019-08-28 8:18 ` Maxime Ripard 2019-08-30 16:48 ` Guenter Roeck [this message] 2019-08-30 16:48 ` Guenter Roeck 2019-09-02 11:46 ` Maxime Ripard 2019-09-02 11:46 ` Maxime Ripard 2019-09-03 0:37 ` Guenter Roeck 2019-09-03 0:37 ` Guenter Roeck
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=20190830164811.GA7911@roeck-us.net \ --to=linux@roeck-us.net \ --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-watchdog@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=mripard@kernel.org \ --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.