Re: [PATCH 1/2] spi: renesas,rzv2m-csi: Add SPI Slave related properties

From: Mark Brown
Date: Wed Sep 27 2023 - 05:00:29 EST


On Wed, Sep 27, 2023 at 09:59:05AM +0200, Geert Uytterhoeven wrote:
> On Tue, Sep 26, 2023 at 11:08 PM Fabrizio Castro

> > + type: boolean
> > + description:
> > + Use CSI Slave Selection (SS) pin to enable transmission and reception when
> > + in slave mode.

> Can't this be done in a more generic way? I had expected that the
> existing SPI_NO_CS flag can be set using a property in the "slave" subnode,
> but apparently there is no "spi-no-cs" property defined yet.

The description is clearly saying there is a chip select, _NO_CS seems
entirely inappropriate. It's not specified in the device tree because
when there's no chip select for a device it's a fundamental property of
how the device is controlled and we don't need any information beyond
the compatible.

Attachment: signature.asc
Description: PGP signature