This is a short series which introduces retimer control to Type-C bus code, chiefly in the context of alternate mode drivers. Patch 1/3 adds retimer handles to the altmode struct. Patch 2/3 introduces a wrapper where all Type-C switch commands can be placed; this is a foundation patch for Patch 3/3. No functional changes are introduced by this patch. Patch 3/3 introduces the typec_retimer_set() call to the switch wrapper. Prashant Malani (3): usb: typec: Add retimer handle to port altmode usb: typec: Add wrapper for bus switch set code usb: typec: Make bus switch code retimer-aware drivers/usb/typec/bus.c | 33 +++++++++++++++++++++++++++++++-- drivers/usb/typec/bus.h | 2 ++ drivers/usb/typec/class.c | 15 +++++++++++++-- drivers/usb/typec/retimer.h | 2 +- 4 files changed, 47 insertions(+), 5 deletions(-) -- 2.39.0.314.g84b9a713c41-goog