Re: [PATCH] dt-bindings: pinctrl: nvidia,tegra234-pinmux: Restructure common schema

From: Linus Walleij
Date: Wed Feb 07 2024 - 05:55:01 EST


On Fri, Feb 2, 2024 at 11:35 PM Rob Herring <robh@xxxxxxxxxx> wrote:

> The structure of the NVIDIA Tegra234 common pinmux schema doesn't work
> for restricting properties because a child node schema can't be extended
> with additional properties from another schema defining the same child
> node. The 2 child node schemas are evaluated independently as the
> schemas are not recursively combined in any way.
>
> As the common schema is almost all the child node schema anyways, just
> remove the parent node from the common schema. Then add 'reg' and adjust
> the $ref's in the users of the common schema.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij