summaryrefslogtreecommitdiff
path: root/drivers/usb/typec/mux/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2023-12-12 11:54:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-15 15:54:13 +0300
commit36d586c0570e075c18bcc3b4ec4de11fcdbf5dd1 (patch)
treea927f5b47f7336c21e06d9a5b7d7a5314dd15773 /drivers/usb/typec/mux/Kconfig
parentde12c5384307d2fa2a735b7d21cf7603e1bcb5c9 (diff)
downloadlinux-36d586c0570e075c18bcc3b4ec4de11fcdbf5dd1.tar.xz
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>
Diffstat (limited to 'drivers/usb/typec/mux/Kconfig')
-rw-r--r--drivers/usb/typec/mux/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/typec/mux/Kconfig b/drivers/usb/typec/mux/Kconfig
index 816b9bd08355..71968179c1cb 100644
--- a/drivers/usb/typec/mux/Kconfig
+++ b/drivers/usb/typec/mux/Kconfig
@@ -56,4 +56,14 @@ config TYPEC_MUX_PTN36502
Say Y or M if your system has a NXP PTN36502 Type-C redriver chip
found on some devices with a Type-C port.
+config TYPEC_MUX_WCD939X_USBSS
+ tristate "Qualcomm WCD939x USBSS Analog Audio Switch driver"
+ depends on I2C
+ select REGMAP_I2C
+ help
+ Driver for the Qualcomm WCD939x Audio Codec USBSS domain which
+ provides support for muxing analog audio and sideband signals on a
+ common USB Type-C connector.
+ If compiled as a module, the module will be named wcd939x-usbss.
+
endmenu