]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: mux: Add On Semi fsa4480 driver
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 22 Apr 2022 22:23:51 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 11:47:13 +0000 (13:47 +0200)
commit810836906ee4317ffde050a5bcf87ce03cbf92f7
treea315ce54223aa84b7a74a21e0fbe76d65845f9ac
parent34853c73294b00cca0fc46042897ed3471f22c4c
usb: typec: mux: Add On Semi fsa4480 driver

The ON Semiconductor FSA4480 is a USB Type-C port multimedia switch with
support for analog audio headsets. It allows sharing a common USB Type-C
port to pass USB2.0 signal, analog audio, sideband use wires and analog
microphone signal.

Due to lacking upstream audio support for testing, the audio muxing is
left untouched, but implementation of muxing the SBU lines is provided
as a pair of Type-C mux and switch devices. This provides the necessary
support for enabling the DisplayPort altmode on devices with this
circuit.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220422222351.1297276-8-bjorn.andersson@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/fsa4480.c [new file with mode: 0644]