Re: [PATCH 1/2] dt-bindings: tegra: pmc: Update aotag as an optional aperture

Krzysztof Kozlowski
2025-11-18T13:08:36Z

On 18/11/2025 12:11, Jon Hunter wrote:
> then:
> properties:
> reg-names:
> @@ -184,7 +187,7 @@ examples:
> <0x0c370000 0x10000>,
> <0x0c380000 0x10000>,
> <0x0c390000 0x10000>;
> - reg-names = "pmc", "wake", "aotag", "scratch";
> + reg-names = "pmc", "wake", "scratch", "scratch";
> nvidia,invert-interrupt;
>
> sdmmc1_3v3: sdmmc1-3v3 {
>
>
> The above did not trigger any errors even though I introduced
> an error in the example. Anything I am missing?

You are right - dtschema does not work here. That's a bug, because it
should and we already rely on that for many other bindings. You can add
"uniqueItems: true" as workaround, but we should fix it in dtschema, so
you can go with my approach anyway.

Best regards,
Krzysztof