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

From: Linus Walleij
Date: Thu May 02 2024 - 04:08:21 EST


On Wed, Apr 17, 2024 at 1:04 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij