From: Rob Herring <robh@kernel.org>
To: Frank Li <Frank.li@nxp.com>
Cc: Eduard Bostina <egbostina@gmail.com>,
daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com,
m-chawdhry@ti.com, Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] dt-bindings: watchdog: Convert TS-4800 to DT schema
Date: Mon, 23 Mar 2026 13:10:08 -0500 [thread overview]
Message-ID: <20260323181008.GA864363-robh@kernel.org> (raw)
In-Reply-To: <acFxdiHYjlSOESf_@lizhi-Precision-Tower-5810>
On Mon, Mar 23, 2026 at 12:59:34PM -0400, Frank Li wrote:
> On Mon, Mar 23, 2026 at 10:46:12AM +0200, Eduard Bostina wrote:
> > Convert the Technologic Systems TS-4800 watchdog timer bindings
> > to DT schema.
> >
> > Signed-off-by: Eduard Bostina <egbostina@gmail.com>
> > ---
> > Note:
> > * This patch is part of the GSoC2026 application process for device tree bindings conversions
> > * https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
> >
> > .../watchdog/technologic,ts4800-wdt.yaml | 46 +++++++++++++++++++
> > .../bindings/watchdog/ts4800-wdt.txt | 25 ----------
> > 2 files changed, 46 insertions(+), 25 deletions(-)
> > create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml
> > delete mode 100644 Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt
> >
> > diff --git a/Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml b/Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml
> > new file mode 100644
> > index 000000000..cb2066b4b
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml
> > @@ -0,0 +1,46 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/watchdog/technologic,ts4800-wdt.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Technologic Systems TS-4800 Watchdog
> > +
> > +maintainers:
> > + - Eduard Bostina <egbostina@gmail.com>
> > +
> > +allOf:
> > + - $ref: watchdog.yaml#
>
> Move allOf after required incase add if-else branch later.
>
> > +
> > +properties:
> > + compatible:
> > + const: technologic,ts4800-wdt
> > +
> > + syscon:
> > + $ref: /schemas/types.yaml#/definitions/phandle-array
> > + items:
> > + - items:
> > + - description: Phandle to the FPGA's syscon
> > + - description: Offset to the watchdog register
> > + description: Phandle / integers array that points to the syscon node which
> > + describes the FPGA's syscon registers.
> > +
> > +required:
> > + - compatible
> > + - syscon
> > +
> > +unevaluatedProperties: false
> > +
> > +examples:
> > + - |
> > + syscon: syscon@b0010000 {
> > + compatible = "syscon", "simple-mfd";
> > + reg = <0xb0010000 0x3d>;
> > + reg-io-width = <2>;
> > +
>
> Needn't this part. just keep below watchdog node should be enough.
Well, the next thing to fix is going to be that this node needs a
specific compatible. It doesn't look like there's any other child nodes,
so probably want just one schema that defines both nodes.
Rob
next prev parent reply other threads:[~2026-03-23 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 8:46 [PATCH 0/2] dt-bindings: watchdog: Convert TS-4800 to DT schema Eduard Bostina
2026-03-23 8:46 ` [PATCH 1/2] " Eduard Bostina
2026-03-23 13:24 ` Rob Herring (Arm)
2026-03-23 16:59 ` Frank Li
2026-03-23 18:10 ` Rob Herring [this message]
2026-03-23 8:46 ` [PATCH 2/2] ARM: dts: nxp: imx51-ts4800: Rename wdt node to watchdog Eduard Bostina
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=20260323181008.GA864363-robh@kernel.org \
--to=robh@kernel.org \
--cc=Frank.li@nxp.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=d-gole@ti.com \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=egbostina@gmail.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=m-chawdhry@ti.com \
--cc=s.hauer@pengutronix.de \
--cc=simona.toaca@nxp.com \
--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: link
Be 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.