lkml.org 
[lkml]   [2022]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 1/2] spi: Add multiple CS support for a single SPI device
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-07-15 18:05    [W:0.077 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site