On 08/06/2022 11:18, Krzysztof Kozlowski wrote:
+anyOf:
- required:
- mode-switch
- required:
- orientation-switch
+additionalProperties: true
Why true? I see usb-connector has it from commit 6a0e321ea735 ("dt-bindings: Explicitly allow additional properties in common schemas") but that looks also weird - this is not a common schema, but a complete, generic one.
Ah, I see now, the parent device uses the additional properties. It's ok, skip the comment.
Best regards, Krzysztof