[PATCH v2 0/4] typec orientation switch support via mux controller
Xu Yang
xu.yang_2 at nxp.com
Tue Aug 23 12:54:25 PDT 2022
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(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list