linux/drivers/usb/typec
Andrei Kuchynski ffbe78fdbb usb: typec: ucsi: Enforce mode selection for cros_ec_ucsi
The mode selection sequence is initiated by the driver after all partner
alternate modes have been successfully registered.
When a partner is disconnected, the driver also stops the mode selection
process and releases resources via `typec_mode_selection_delete`.

Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260119131824.2529334-8-akuchynski@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-23 17:18:01 +01:00
..
altmodes usb: typec: Introduce mode_selection bit 2026-01-23 17:18:01 +01:00
mux usb: typec: ps883x: Fix missing mutex_unlock() 2025-10-23 10:42:27 +02:00
tcpm Merge 6.19-rc6 usb-next 2026-01-19 10:24:11 +01:00
tipd usb: typec: tipd: mark as orientation aware 2025-11-21 15:10:58 +01:00
ucsi usb: typec: ucsi: Enforce mode selection for cros_ec_ucsi 2026-01-23 17:18:01 +01:00
anx7411.c usb: typec: anx7411: add WQ_PERCPU to alloc_workqueue users 2025-11-21 15:17:36 +01:00
bus.c usb: typec: Export typec bus and typec altmode device type 2025-12-17 14:42:34 +01:00
bus.h usb: typec: Export typec bus and typec altmode device type 2025-12-17 14:42:34 +01:00
class.c usb: typec: Introduce mode_selection bit 2026-01-23 17:18:01 +01:00
class.h usb: typec: Implement mode selection 2026-01-23 17:18:01 +01:00
hd3ss3220.c usb: typec: hd3ss3220: Enable VBUS based on role state 2026-01-23 17:16:18 +01:00
Kconfig usb: typec: qcom: Add Qualcomm PMIC Type-C driver 2023-05-13 19:03:46 +09:00
Makefile usb: typec: Implement mode selection 2026-01-23 17:18:01 +01:00
mode_selection.c usb: typec: Implement mode selection 2026-01-23 17:18:01 +01:00
mux.c usb: typec: mux: do not return on EOPNOTSUPP in {mux, switch}_set 2025-04-11 16:08:32 +02:00
mux.h usb: typec: mux: Introduce indirection 2022-04-26 13:47:13 +02:00
pd.c usb: typec: pd: Register SPR AVS caps with usb_power_delivery class 2025-10-22 10:58:31 +02:00
pd.h usb: typec: Separate USB Power Delivery from USB Type-C 2022-06-12 06:49:47 +02:00
port-mapper.c usb: typec: Connect Type-C port with associated USB4 port 2025-04-17 12:21:45 +03:00
retimer.c usb: typec: constify struct class usage 2024-03-02 20:21:06 +01:00
retimer.h usb: typec: Make bus switch code retimer-aware 2023-01-17 17:29:00 +01:00
rt1719.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
stusb160x.c usb: typec: stusb160x: Make use of i2c_get_match_data() 2024-10-04 15:12:15 +02:00
wusb3801.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00