This series contains the required TIPD changes to support USB3 on Apple
Silicon machines and also prepares DisplayPort alternate mode and
Thunderbolt/USB4 support there.
As discussed in the series combining TIPD, DWC3, PHY, and DTS changes
this series contains only the TIPD changes which are already in a pretty
decent shape.
Link to v2 of the combined series: https://lore.kernel.org/asahi/20250906-atcphy-6-17-v2-0-52c348623ef6@kernel.org/
Changes since v2 of that series:
- Added r-b tags from Heikki and Neal
- Addressed Janne's feedback:
- Updated the tipd commit description to match the dwc3 glue driver
approach
- Removed a stale comment left-over from a WIP version and no longer
required
- Cleared cd321x->state.data after typec_set_mode is done
- Removed spurious NULL checks for typec_mux_put and typec_unregister_altmode
- Call cd321x_connect instead of open-coding almost the same logic
inside cd321x_interrupt
Best,
Sven
Signed-off-by: Sven Peter <sven@kernel.org>
---
Hector Martin (4):
usb: typec: tipd: Update partner identity when power status was updated
usb: typec: tipd: Use read_power_status function in probe
usb: typec: tipd: Read data status in probe and cache its value
usb: typec: tipd: Handle mode transitions for CD321x
Sven Peter (7):
usb: typec: tipd: Clear interrupts first
usb: typec: tipd: Move initial irq mask to tipd_data
usb: typec: tipd: Move switch_power_state to tipd_data
usb: typec: tipd: Trace data status for CD321x correctly
usb: typec: tipd: Add cd321x struct with separate size
usb: typec: tipd: Read USB4, Thunderbolt and DisplayPort status for cd321x
usb: typec: tipd: Register DisplayPort and Thunderbolt altmodes for cd321x
drivers/usb/typec/tipd/core.c | 559 ++++++++++++++++++++++++++++++++++----
drivers/usb/typec/tipd/tps6598x.h | 5 +
drivers/usb/typec/tipd/trace.h | 39 +++
3 files changed, 550 insertions(+), 53 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250914-apple-usb3-tipd-5907537d1eb5
Best regards,
--
Sven Peter <sven@kernel.org>