Re: [PATCH 3/8] dt-bindings: watchdog: Add AAEON embedded controller watchdog binding

Linus Walleij
2025-12-31T21:51:06Z

On Fri, Dec 12, 2025 at 9:20 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> On 12/12/2025 08:41, Thomas Perrot (Schneider Electric) wrote:
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + watchdog {
> > + compatible = "aaeon,srg-imx8pl-wdt";
>
> No, that was discussed many times on the mailing list already. Fold the
> child into the parent. Your driver model really do not matter for DT.

True. For an example in Linux check how I spawn a watchdog
platform device from a timer node in:
drivers/clocksource/timer-ixp4xx.c

It's just one node in the device tree, in Linux it is in two different
subsystems but we just deal with that in code.

Yours,
Linus Walleij