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(-) -- 2.34.1