Message ID | 20190819182039.24892-1-mripard@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings | expand |
On Mon, Aug 19, 2019 at 1:20 PM Maxime Ripard <mripard@kernel.org> 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. > > 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 Reviewed-by: Rob Herring <robh@kernel.org>
On 8/19/19 11:20 AM, 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. > > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> What is the target subsystem for this series ? You didn't copy the watchdog mailing list, so I assume it won't be the watchdog subsystem. Thanks, Guenter > > --- > > 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. > + > +... >
Hi Guenter, On Tue, Aug 20, 2019 at 08:54:53AM -0700, Guenter Roeck wrote: > On 8/19/19 11:20 AM, 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. > > > > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> > > What is the target subsystem for this series ? You didn't copy the watchdog > mailing list, so I assume it won't be the watchdog subsystem. Sorry for that :/ It can either go through the DT or watchdog tree. I'll resend it and let you and Rob figure it out :) Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
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. + +...