Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: gpio-sbu-mux: Make 'enable-gpios' optional

The enable gpio is not required when the SBU mux is used only for
orientation, make enable-gpios required only for alternate mode
switch use case.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240603083558.9629-2-francesco@dolcini.it
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Francesco Dolcini and committed by
Greg Kroah-Hartman
f12e04c3 c313a44a

+6 -1
+6 -1
Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml
··· 44 44 45 45 required: 46 46 - compatible 47 - - enable-gpios 48 47 - select-gpios 49 48 - orientation-switch 50 49 - port 51 50 52 51 allOf: 53 52 - $ref: usb-switch.yaml# 53 + - if: 54 + required: 55 + - mode-switch 56 + then: 57 + required: 58 + - enable-gpios 54 59 55 60 additionalProperties: false 56 61