Message ID | 20240603083558.9629-2-francesco@dolcini.it (mailing list archive) |
---|---|
State | Accepted |
Commit | f12e04c39e45b38d60263c41775b0a76b3f8dd0e |
Headers | show |
Series | usb: typec: mux: gpio-sbu: Make enable gpio optional | expand |
diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml index 88e1607cf053..30edcce82f97 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -44,13 +44,18 @@ properties: required: - compatible - - enable-gpios - select-gpios - orientation-switch - port allOf: - $ref: usb-switch.yaml# + - if: + required: + - mode-switch + then: + required: + - enable-gpios additionalProperties: false