aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-03-20 15:57:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-22 13:40:10 +0100
commit2000016c94b4f724cb5851486b9f9a94e8da32fc (patch)
tree641098ba55d73a982c0f26f8cbdacb1612fa13d0 /drivers/usb/typec/Kconfig
parentusb: typec: tcpm: Set USB role switch to device mode when configured as such (diff)
downloadlinux-dev-2000016c94b4f724cb5851486b9f9a94e8da32fc.tar.xz
linux-dev-2000016c94b4f724cb5851486b9f9a94e8da32fc.zip
usb: typec: tcpm: Use new Type-C switch/mux and usb-role-switch functions
Remove the unused (not implemented anywhere) tcpc_mux_dev abstraction and replace it with calling the new typec_set_orientation, usb_role_switch_set and typec_set_mode functions. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/Kconfig')
-rw-r--r--drivers/usb/typec/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/typec/Kconfig b/drivers/usb/typec/Kconfig
index bcb2744c5977..a2a0684e7c82 100644
--- a/drivers/usb/typec/Kconfig
+++ b/drivers/usb/typec/Kconfig
@@ -48,6 +48,7 @@ if TYPEC
config TYPEC_TCPM
tristate "USB Type-C Port Controller Manager"
depends on USB
+ select USB_ROLE_SWITCH
help
The Type-C Port Controller Manager provides a USB PD and USB Type-C
state machine for use with Type-C Port Controllers.