mbox series

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

Message ID 20220822153517.3747679-1-xu.yang_2@nxp.com
Headers show
Series typec orientation switch support via mux controller | expand

Message

Xu Yang Aug. 22, 2022, 3:35 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: allow get mux_control from fwnode if of_node is NULL
  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  | 120 ++++++++++++++++++
 drivers/mux/core.c                            |   3 +
 drivers/usb/typec/mux.c                       |  74 +++++++++++
 include/linux/usb/typec_mux.h                 |   7 +-
 5 files changed, 217 insertions(+), 5 deletions(-)