[PATCH v10 4/8] spi: spi-uclass: Read chipselect and restrict capabilities
Jagan Teki
jagan at amarulasolutions.com
Mon Feb 19 12:48:24 CET 2024
On Tue, Jan 30, 2024 at 10:15 AM Venkatesh Yadav Abbarapu
<venkatesh.abbarapu at amd.com> wrote:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
>
> Read chipselect properties from DT which are populated using 'reg'
> property and save it in plat->cs[] array for later use.
>
> Also read multi chipselect capability which is used for
> parallel-memories and return errors if they are passed on using DT but
> driver is not capable of handling it.
Why would the SPI controller need to know about multi chip select
capabilities of one slave time called spi flash. We need a way to
abstract the slave capabilities from the controller point-of-view.
Jagan.
More information about the U-Boot
mailing list