Re: [PATCH] meta-schemas: nodes: Allow if-then-else directly in patternProperties objects

Rob Herring <[email protected]> Mon, 9 Jun 2025 08:17:22 -0500
Newsgroups org.kernel.vger.devicetree-spec
Message-ID <[email protected]>
On Mon, Jun 09, 2025 at 09:59:51AM +0000, John Ernberg wrote:
> Having local singular if-then-else statements under a patternProperties
> object-node causes a schema warning about an unexpected statement.
> 
> Allow this construct to reduce size of singular if-then-else blocks in
> this context, aligning the rules of them with the top-level.
> 
> Signed-off-by: John Ernberg <[email protected]>
> ---
>  dtschema/meta-schemas/nodes.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.

Rob