usb: typec: mux: add Qualcomm WCD939X USB SubSystem Altmode Mux driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 12 Dec 2023 08:54:29 +0000 (09:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:54:13 +0000 (13:54 +0100)
commit36d586c0570e075c18bcc3b4ec4de11fcdbf5dd1
treea927f5b47f7336c21e06d9a5b7d7a5314dd15773
parentde12c5384307d2fa2a735b7d21cf7603e1bcb5c9
usb: typec: mux: add Qualcomm WCD939X USB SubSystem Altmode Mux driver

Qualcomm WCD9390/WCD9395 is a standalone Hi-Fi audio codec IC with a
functionally separate USB SubSystem for Altmode/Analog Audio Switch
accessible over an I2C interface.

It provides switching USB-C USB2.0 lines between USB and Audio Headphones
speaker lines, and the USB-C SBU lines between DisplayPort AUX and Audio
Headphones Microphone/Ground.

The Audio Headphone and Microphone data path between the Codec and the
USB-C Mux subsystems are external to the IC, thus requiring DT
port-endpoint graph description to handle USB-C altmode & orientation
switching for Audio Accessory Mode.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231212-topic-sm8650-upstream-wcd939x-usbss-v2-2-38961fea5867@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/Kconfig
drivers/usb/typec/mux/Makefile
drivers/usb/typec/mux/wcd939x-usbss.c [new file with mode: 0644]