thunderbolt: Configure port for XDomain
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 9 Apr 2020 11:23:32 +0000 (14:23 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 3 Sep 2020 09:06:41 +0000 (12:06 +0300)
commit284652a4a49917e121277a6cacbefed9f65b94ca
treed126165f7d01a7c19443ba8aefd3ac810a700a1b
parente28178bf566cf7281b513856aa71a8d41aa81154
thunderbolt: Configure port for XDomain

When the port is connected to another host it should be marked as such
in the USB4 port capability. This information is used by the router
during sleep and wakeup.

Also do the same for legacy switches via link controller vendor specific
registers.

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