mbox series

[v2,0/2] usb: typec: mux: gpio-sbu: Make enable gpio optional

Message ID 20240603083558.9629-1-francesco@dolcini.it
Headers show
Series usb: typec: mux: gpio-sbu: Make enable gpio optional | expand

Message

Francesco Dolcini June 3, 2024, 8:35 a.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

The enable gpio is not required when the SBU mux is used only for orientation,
make it optional.

v2:
 - add Acked-by: Conor Dooley
 - remove useless NULL checks for the optional enable GPIO
v1:
 - https://lore.kernel.org/all/20240524071034.4441-1-francesco@dolcini.it/

Francesco Dolcini (2):
  dt-bindings: usb: gpio-sbu-mux: Make 'enable-gpios' optional
  usb: typec: mux: gpio-sbu: Make enable gpio optional

 Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 7 ++++++-
 drivers/usb/typec/mux/gpio-sbu-mux.c                    | 6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)