[PATCH v3 2/9] spi: pxa2xx: Provide num-cs for Sharp PDAs via device properties

Linus Walleij linus.walleij at linaro.org
Thu May 2 01:07:57 PDT 2024


On Wed, Apr 17, 2024 at 1:04 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:

> 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 at linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list