]> 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)
commit3099f48af06e18fc0a3bf29ca4dad66bdfc9189d
tree07e88d0f30eabd897e828e119bec384804df3452
parentb413fc842b99b5782d9044739d3da1cf4c5eca9d
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: 4917e83af005 ("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