thunderbolt: Introduce tb_port_reset()
authorSanath S <Sanath.S@amd.com>
Sat, 13 Jan 2024 09:39:57 +0000 (11:39 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jan 2024 11:21:06 +0000 (13:21 +0200)
commit01da6b99d49f60b1edead44e33569b1a2e9f49b7
treee71543de189d5b6c50aca793f117a91424366362
parent6613476e225e090cc9aad49be7fa504e290dd33d
thunderbolt: Introduce tb_port_reset()

Introduce a function that issues Downstream Port Reset to a USB4 port.
This supports Thunderbolt 2, 3 and USB4 routers.

Signed-off-by: Sanath S <Sanath.S@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/lc.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/usb4.c