spi: dw-mmio: add MSCC Jaguar2 support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 29 Aug 2018 12:45:48 +0000 (14:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Aug 2018 13:15:16 +0000 (14:15 +0100)
commitbe17ee0da35a5fe75813adb8e2c110c5541c8456
tree71eb1731671215a7621deeb19abb7977a549f0e0
parenteeaceb8b7d1fb64b6030249ca0dd1d902ef3069e
spi: dw-mmio: add MSCC Jaguar2 support

Unfortunately, the Jaguar2 CPU_SYSTEM_CTRL register set has a different
layout than the Ocelot one. Handle that while keeping most of the code
common.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c