Re: [PATCH 1/2] dt-bindings: mfd: Add binding for synology,microp devices

From: Krzysztof Kozlowski

Date: Sat Mar 07 2026 - 09:25:41 EST


On 07/03/2026 11:20, Krzysztof Kozlowski wrote:
>> + power-led:
>> + $ref: /schemas/leds/common.yaml
>> + unevaluatedProperties: false
>> + status-led:
>> + $ref: /schemas/leds/common.yaml
>> + unevaluatedProperties: false
>> + alert-led:
>> + $ref: /schemas/leds/common.yaml
>> + unevaluatedProperties: false
>> + usb-led:
>> + $ref: /schemas/leds/common.yaml
>> + unevaluatedProperties: false
>
> That's pretty unreadable code.

... and could be simpler with patternProperties and regex
>


Best regards,
Krzysztof