spi: pxa2xx: Allow number of chip select pins to be read from property
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 17 Apr 2024 10:54:28 +0000 (13:54 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2024 02:11:31 +0000 (11:11 +0900)
commit2c547549ac69380bb03b495c5ef3dbc03c9c7a48
treecfd0512df33c6ceea9df5bb114175a15e0675ba4
parent6be871d5fd2ecac8987a63fbf7ee38e007d14133
spi: pxa2xx: Allow number of chip select pins to be read from property

In some cases the number of the chip select pins might come from
the device property. Allow driver to use it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240417110334.2671228-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c