Re: [PATCH] dt-bindings: leds: bcm6358: Convert to DT schema
From: Ninad Naik
Date: Sat May 30 2026 - 15:53:23 EST
Thanks Conor for pointing this out. I will include it in v2.+patternProperties:Is this missing a maxItems: 1?
+ "^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
I added unevaluatedProperties: false because my understanding was
+I wonder if this should be additionalProperties: false instead, and list
+ required:
+ - reg
+
+ unevaluatedProperties: false
the three properties mentioned by the text binding explicitly?
Cheers,
Conor.
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