linux-stable/drivers/thunderbolt
Mika Westerberg 389c06cf84 thunderbolt: Keep the domain powered when USB4 port is in redrive mode
[ Upstream commit a75e0684ef ]

If a DiplayPort cable is directly connected to the host routers USB4
port, there is no tunnel involved but the port is in "redrive" mode
meaning that it is re-driving the DisplayPort signals from its
DisplayPort source. In this case we need to keep the domain powered on
otherwise once the domain enters D3cold the connected monitor blanks
too.

Since this happens only on Intel Barlow Ridge add a quirk that takes
runtime PM reference if we detect that the USB4 port entered redrive
mode (and release it once it exits the mode).

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 13:10:09 +02:00
..
Kconfig thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
Makefile thunderbolt: Move CLx support functions into clx.c 2023-06-09 12:07:23 +03:00
acpi.c thunderbolt: Log a warning if device links are not found 2023-08-08 08:13:11 +03:00
cap.c
clx.c thunderbolt: Check for unplugged router in tb_switch_clx_disable() 2023-10-13 08:49:13 +03:00
ctl.c thunderbolt: Add the new USB4 v2 notification types 2023-06-16 09:53:28 +03:00
ctl.h thunderbolt: Add support for DisplayPort bandwidth allocation mode 2023-01-17 11:37:16 +02:00
debugfs.c thunderbolt: Fix memory leak in margining_port_remove() 2023-11-27 12:45:47 +02:00
dma_port.c thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devices 2021-05-31 14:37:54 +03:00
dma_port.h
dma_test.c thunderbolt: dma_test: Use enum tb_link_width 2023-10-13 08:49:12 +03:00
domain.c thunderbolt: make tb_bus_type const 2023-12-20 08:21:57 +01:00
eeprom.c thunderbolt: Ignore data CRC mismatch for USB4 routers 2023-06-16 09:53:27 +03:00
icm.c thunderbolt: Reduce retry timeout to speed up boot for some devices 2023-12-22 13:00:26 +02:00
lc.c thunderbolt: Add internal xHCI connect flows for Thunderbolt 3 devices 2022-02-02 13:56:51 +03:00
nhi.c thunderbolt: Add support for Intel Lunar Lake 2023-12-14 08:07:45 +02:00
nhi.h thunderbolt: Add support for Intel Lunar Lake 2023-12-14 08:07:45 +02:00
nhi_ops.c
nhi_regs.h thunderbolt: Reset USB4 v2 host router 2023-06-16 09:53:28 +03:00
nvm.c thunderbolt: Increase NVM_MAX_SIZE to support Intel Barlow Ridge controller 2023-06-16 09:53:28 +03:00
path.c thunderbolt: Set path power management packet support bit for USB4 v2 routers 2023-10-20 18:18:01 +03:00
property.c
quirks.c thunderbolt: Keep the domain powered when USB4 port is in redrive mode 2024-04-13 13:10:09 +02:00
retimer.c thunderbolt: Log NVM version of routers and retimers 2023-10-13 08:49:13 +03:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-13 11:54:20 +02:00
switch.c thunderbolt: Fix NULL pointer dereference in tb_port_update_credits() 2024-02-16 10:36:51 +02:00
tb.c thunderbolt: Keep the domain powered when USB4 port is in redrive mode 2024-04-13 13:10:09 +02:00
tb.h thunderbolt: Keep the domain powered when USB4 port is in redrive mode 2024-04-13 13:10:09 +02:00
tb_msgs.h thunderbolt: Add the new USB4 v2 notification types 2023-06-16 09:53:28 +03:00
tb_regs.h thunderbolt: Fix setting the CNS bit in ROUTER_CS_5 2024-01-29 09:48:40 +02:00
test.c thunderbolt: Add test case for 3 DisplayPort tunnels 2023-06-16 09:53:29 +03:00
tmu.c thunderbolt: Unwind TMU configuration if tb_switch_set_tmu_mode_params() fails 2023-12-14 08:07:44 +02:00
tunnel.c thunderbolt: Calculate DisplayPort tunnel bandwidth after DPRX capabilities read 2024-04-13 13:10:09 +02:00
tunnel.h thunderbolt: Change bandwidth reservations to comply USB4 v2 2023-10-20 18:18:01 +03:00
usb4.c thunderbolt: Fix setting the CNS bit in ROUTER_CS_5 2024-01-29 09:48:40 +02:00
usb4_port.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
xdomain.c thunderbolt: Log XDomain link speed and width 2023-12-14 08:07:44 +02:00