mbox series

[v2,0/4] typec orientation switch support via mux controller

Message ID 20220823195429.1243516-1-xu.yang_2@nxp.com (mailing list archive)
Headers show
Series typec orientation switch support via mux controller | expand

Message

Xu Yang Aug. 23, 2022, 7:54 p.m. UTC
Since typec port support flip-ability, there may need various swithes to
set correct path for SuperSpeed or Sideband use cases. As a common way, mux
controller could complete such tasks in simple cases, such as GPIO-based
swich or reg-based switch. This implementation could be an alternate way to
control orientation switch.

Xu Yang (4):
  dt-bindings: connector: Add typec orientation switch properties
  mux: convert to use fwnode interface
  usb: typec: mux: add typec orientation switch support via mux
    controller
  arm64: dts: imx8mp-evk: add typec node

 .../bindings/connector/usb-connector.yaml     |  18 +++
 arch/arm64/boot/dts/freescale/imx8mp-evk.dts  | 122 ++++++++++++++++++
 drivers/mux/core.c                            |  65 +++++-----
 drivers/usb/typec/Kconfig                     |   1 +
 drivers/usb/typec/mux.c                       |  76 ++++++++++-
 include/linux/usb/typec_mux.h                 |   7 +-
 6 files changed, 251 insertions(+), 38 deletions(-)