Re: [PATCH] dt-bindings: watchdog: Convert marvell,orion-wdt to DT schema

From: Gregory CLEMENT

Date: Tue Oct 14 2025 - 05:45:49 EST


Hello Rob,

Thank you for your work. I have one question:

> + reg:
> + minItems: 2

Should we also include this constraint here?

maxItems: 3

This would further restrict the binding.

Gregory

> + items:
> + - description: Timer control register address.
> + - description: RSTOUT enable register address.
> + - description: Shared mask/unmask RSTOUT register address.
> +

[...]

> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - marvell,armada-375-wdt
> + - marvell,armada-380-wdt
> + then:
> + properties:
> + reg:
> + minItems: 3
> + else:
> + properties:
> + reg:
> + maxItems: 2
> +

--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com