diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-17 13:54:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-03 05:11:32 +0300 |
commit | 11346db50616698b04da44a62d4fac17d9227a62 (patch) | |
tree | 68d4b61fe84401f6871a8c8064562baa9ef9ff4a /drivers/spi | |
parent | 2c547549ac69380bb03b495c5ef3dbc03c9c7a48 (diff) | |
download | linux-11346db50616698b04da44a62d4fac17d9227a62.tar.xz |
spi: pxa2xx: Provide num-cs for Sharp PDAs via device properties
Since driver can parse num-cs device property, replace platform data
with this new approach. This pursues the following objectives:
- getting rid of the public header that barely used outside of
the SPI subsystem (more specifically the SPI PXA2xx drivers)
- making a trampoline for the driver to support non-default number
of the chip select pins in case the original code is going to be
converted to Device Tree model
It's not expected to have more users in board files except this one.
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-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions