spi: pxa2xx: Default thresholds to PXA configuration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Sep 2016 12:43:22 +0000 (15:43 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 12 Sep 2016 19:01:43 +0000 (20:01 +0100)
commit7c7289a40425d48bbfcaacc454a8caf5b47f63b0
tree5b7789114fb9ae509a231e6f0d9b460ec7652378
parent96579a4e56bdecfb4642cfb68eb85d079acb9d28
spi: pxa2xx: Default thresholds to PXA configuration

Most of the devices in the supported list have PXA configuration of FIFO. In
particularly Intel Medfield and Merrifield have bigger FIFO, than it's defined
for CE4100.

Split CE4100 in the similar way how it was done for Intel Quark, i.e. prefix
definitions by CE4100 and append necessary pieces of code to switch case
conditions.

We are on safe side since those bits are ignored on all LPSS IPs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-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