spi: pxa2xx: Prepare for new Intel LPSS SPI type
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 4 Jun 2015 13:55:11 +0000 (16:55 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jun 2015 10:40:45 +0000 (11:40 +0100)
commitdccf7369652f3934456345aab6a92fa905177886
tree2d942ae9e9a14483a0962c7a9858d0cf026e9e61
parent03fbf488cece461468d3abb795f5e5f055e00040
spi: pxa2xx: Prepare for new Intel LPSS SPI type

Some of the Intel LPSS SPI properties will be different in upcoming
platforms compared to existing Lynxpoint and BayTrail/Braswell. LPSS SPI
private registers will be at different offset and there will be changes in
individual registers and default FIFO thresholds too.

Add configuration for these differences and use them in runtime based on
LPSS SSP type. With this change private registers offset autodetection
becomes needless.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c
include/linux/pxa2xx_ssp.h