Re: [RFC PATCH 1/2] spi: Add multiple CS support for a single SPI device
From: Mark Brown
Date: Fri Jul 15 2022 - 12:03:43 EST
On Fri, Jul 15, 2022 at 03:36:23PM +0000, Mahapatra, Amit Kumar wrote:
> Thank you for the clarification.
> As per my understanding we would not be needing a new DT
> property for expressing multi chip select support in the driver.
> We can use "num-cs" property of the spi controller for
> broadcasting multi chip select support of the driver.
> If "num-cs" value is greater than 1 then the driver can support
> multiple chip selects.
That's true in some sense but not in the sense of being actually able to
use more than one chip select for a single device. If the controller
hardware manages the chip selects it may not be physically possible for
it to control more than one chip select.
While it's not an issue for the bindings even hardware that can
physically do it is going to need a driver update (in the core for GPIO
stuff) to do so.
Description: PGP signature