[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o6q9g6kc.fsf@BLaptop.bootlin.com>
Date: Tue, 14 Oct 2025 11:45:39 +0200
From: Gregory CLEMENT <gregory.clement@...tlin.com>
To: "Rob Herring (Arm)" <robh@...nel.org>, Wim Van Sebroeck
<wim@...ux-watchdog.org>, Guenter Roeck <linux@...ck-us.net>, Krzysztof
Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Andrew
Lunn <andrew@...n.ch>
Cc: linux-watchdog@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: watchdog: Convert marvell,orion-wdt to DT
schema
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
Powered by blists - more mailing lists