Re: [PATCH] dt-bindings: leds: bcm6358: Convert to DT schema

From: Ninad Naik

Date: Sat May 30 2026 - 15:53:23 EST


+patternProperties:
+ "^led@(0|1?[0-9a-f])$":
+ type: object
+ $ref: common.yaml#
+ description: Each LED is represented as a sub-node of
+ this device.
+
+ properties:
+ reg:
+ description: LED pin number.
+ minimum: 0
+ maximum: 31
Is this missing a maxItems: 1?
Thanks Conor for pointing this out. I will include it in v2.

+
+ required:
+ - reg
+
+ unevaluatedProperties: false
I wonder if this should be additionalProperties: false instead, and list
the three properties mentioned by the text binding explicitly?


Cheers,
Conor.
I added unevaluatedProperties: false because my understanding was
that explicitly listing the properties inherited from common.yaml would
be redundant.
I'd be interested to hear the maintainers' preference here, and can
adjust this in v2 if needed.

Thanks,
Ninad Naik