mbox series

[0/6] thunderbolt: Sideband access and retimer lane margining support

Message ID 20240610100627.3521887-1-mika.westerberg@linux.intel.com (mailing list archive)
Headers show
Series thunderbolt: Sideband access and retimer lane margining support | expand

Message

Mika Westerberg June 10, 2024, 10:06 a.m. UTC
Hi all,

This series adds USB4 link sideband access through debugfs. This can be
used to run port operations etc. from userspace usable for example in
manufacturing. The other feature is receiver lane margining support for
retimers with similar use case.

Mika Westerberg (6):
  thunderbolt: Move usb4_port_margining_caps() declaration into correct place
  thunderbolt: Make usb4_port_sb_read/write() available outside of usb4.c
  thunderbolt: Add sideband register access to debugfs
  thunderbolt: Split out margining from USB4 port
  thunderbolt: Make margining functions accept target and retimer index
  thunderbolt: Add receiver lane margining support for retimers

 drivers/thunderbolt/Kconfig   |  11 +-
 drivers/thunderbolt/debugfs.c | 623 ++++++++++++++++++++++++++--------
 drivers/thunderbolt/retimer.c |  53 +--
 drivers/thunderbolt/sb_regs.h |   9 +
 drivers/thunderbolt/tb.h      |  47 ++-
 drivers/thunderbolt/usb4.c    | 183 +++++-----
 6 files changed, 657 insertions(+), 269 deletions(-)