]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Implement CIO reset correctly for Titan Ridge
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 31 May 2019 10:31:54 +0000 (13:31 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 14 Jun 2019 11:25:43 +0000 (14:25 +0300)
commitc66cb355ef4e338859d9dbb93a6545a5f636b846
tree07e88d0f30eabd897e828e119bec384804df3452
parente14cafb5f14dd5887de9c8997942c5385638d572
thunderbolt: Implement CIO reset correctly for Titan Ridge

When starting ICM firmware on Apple systems we need to perform CIO reset
as part of the flow. However, it turns out that the reset register has
changed to another location in Titan Ridge.

Fix this by introducing ->cio_reset() callback with corresponding
implementations for Alpine and Titan Ridge.

Fixes: cb68b53ce4b2 ("thunderbolt: Start firmware on Titan Ridge Apple systems")
Reported-by: Peter Bowen <pzb@amazon.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/icm.c