linux/drivers/usb
Heikki Krogerus 540bfab7fb usb: typec: Rationalize the API for the muxes
Since with accessory modes there is no need for additional
identification when requesting a handle to the mux, we can
replace the second parameter that is passed to the
typec_mux_get() function with a pointer to alternate mode
description structure, and simply passing NULL with
accessory modes.

This change means the naming of the mux device connections
can be updated. Alternate and Accessory Modes will both be
handled with muxes named "mode-switch", and the orientation
switches will be named "orientation-switch".

Future identification of the alternate modes will be later
done using device property "svid" of the mux.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-14 10:52:25 +01:00
..
atm USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
c67x00 USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
chipidea Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
class USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
common usb: roles: Add a description for the class to Kconfig 2018-12-17 14:07:59 +01:00
core USB: Fix configuration selection issues introduced in v4.20.0 2019-02-08 10:22:39 +01:00
dwc2 Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
dwc3 Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
early drivers: usb: early: clean up indentation, remove extraneous tabs 2018-11-23 16:13:14 +01:00
gadget Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
host usb: host: oxu210hp-hcd: fix indentation issue 2019-02-12 10:30:48 +01:00
image USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
isp1760 USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
misc usb: ftdi-elan: Fix if == else warnings in ftdi_elan_respond_engine 2019-01-25 10:06:25 +01:00
mon USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
mtu3 USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
musb USB: musb: mark expected switch fall-through 2019-02-13 19:40:20 +01:00
phy Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
renesas_usbhs usb: renesas_usbhs: replace udelay() with usleep_range() 2019-01-18 10:00:49 +01:00
roles USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
serial Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
storage USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
typec usb: typec: Rationalize the API for the muxes 2019-02-14 10:52:25 +01:00
usbip usbip: Fix vep_free_request() null pointer checks on input args 2019-01-30 09:22:35 +01:00
wusbcore USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: roles: Add Intel xHCI USB role switch driver 2018-03-22 13:49:27 +01:00
usb-skeleton.c usb: usb-skeleton: use irqsave() in USB's complete callback 2018-06-28 19:36:06 +09:00