Re: [PATCH] spi: spi-fsl-espi: add GPIO chipselect support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 28, 2020 at 10:20:24AM +0100, Geert Uytterhoeven wrote:
> On Tue, Jan 28, 2020 at 8:26 AM Maxim Kochetkov <fido_max@xxxxxxxx> wrote:

> > eSPI controller can't send transactions without hardware chip selects.
> > So, to use GPIO chip selects with eSPI controller we need to use one
> > dedicated hardware chip select signal. To specify shared chip select for
> > GPIO use "fsl,espi-shared-chipselect" DT property.

> Do you need a property to specify this?
> Can't the driver just pick an unused native chip select instead?
> Recently I've added generic support for that to the SPI core, cfr. commit
> 7d93aecdb58d47e8 ("spi: Add generic support for unused native cs with
> cs-gpios").

The only reason I would expect for needing this is if there's no pinmux
control so you need to make sure that the chip select used isn't going
to cause electrical problems.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux