thunderbolt: Configure lanes when switch is initialized
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 11 Oct 2018 09:33:08 +0000 (12:33 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:51 +0000 (11:18 +0300)
commite879a709de0210802ba14243a168d632cb7ab527
tree755d8ff601ef92bc67802e9663a76ee156ba371a
parenta9be55824a10653d0247de12dc6b9a741ce3fc98
thunderbolt: Configure lanes when switch is initialized

Thunderbolt 2 devices and beyond need to have additional bits set in
link controller specific registers. This includes two bits in LC_SX_CTRL
that tell the link controller which lane is connected and whether it is
upstream facing or not.

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