Re: [GIT PULL] SPI updates for v6.8

From: Mark Brown
Date: Mon Jan 22 2024 - 14:01:15 EST


On Mon, Jan 22, 2024 at 07:30:09PM +0100, Klaus Kudielka wrote:
> On Sun, 2024-01-07 at 22:38 +0000, Mark Brown wrote:

> >  - Support for multiple chip selects.

> [skipped the rest]
>
> Hi, it seems I have an issue related with this new feature.
>
> I just booted 6.8.0-rc1 on Turris Omnia (CONFIG_SPI_ORION=y,
> device tree: arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts)

> and got the following error:
>
> [ 0.090231] spi_master spi0: No. of CS is more than max. no. of supported CS
> [ 0.097358] spi_master spi0: Failed to create SPI device for /soc/spi@10600/flash@0

> End result: the three MTD partitions I used to have on the SPI-NOR are gone.

Yes, this was found on another platform - there's a patch which should
address this (unless the number is more than 8) in CI:

https://lore.kernel.org/linux-spi/20240122-spi-multi-cs-max-v1-1-a7e98cd5f6c7@xxxxxxxxxx/T/#u

Attachment: signature.asc
Description: PGP signature