[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221117105249.115649-1-tudor.ambarus@microchip.com>
Date: Thu, 17 Nov 2022 12:52:41 +0200
From: Tudor Ambarus <tudor.ambarus@...rochip.com>
To: <broonie@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <nicolas.ferre@...rochip.com>,
<alexandre.belloni@...tlin.com>, <claudiu.beznea@...rochip.com>
CC: <linux-spi@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mtd@...ts.infradead.org>,
Tudor Ambarus <tudor.ambarus@...rochip.com>
Subject: [PATCH 0/8] spi: Introduce spi-cs-setup-ns dt property
SPI NOR flashes have specific cs-setup time requirements without which
they can't work at frequencies close to their maximum supported frequency,
as they miss the first bits of the instruction command. Unrecognized
commands are ignored, thus the flash will be unresponsive. Introduce the
spi-cs-setup-ns property to allow spi devices to specify their cs setup
time.
Tudor Ambarus (8):
spi: dt-bindings: Introduce spi-cs-setup-ns property
spi: Introduce spi-cs-setup-ns property
spi: Reintroduce spi_set_cs_timing()
spi: atmel-quadspi: Add support for configuring CS timing
ARM: dts: at91-sama5d27_wlsom1: Set sst26vf064b SPI NOR flash at its
maximum frequency
ARM: dts: at91-sama5d27_som1: Set sst26vf064b SPI NOR flash at its
maximum frequency
ARM: dts: at91: sama5d2_icp: Set sst26vf064b SPI NOR flash at its
maximum frequency
ARM: dts: at91: sam9x60ek: Set sst26vf064b SPI NOR flash at its
maximum frequency
.../bindings/spi/spi-peripheral-props.yaml | 5 +++
arch/arm/boot/dts/at91-sam9x60ek.dts | 3 +-
arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 3 +-
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 3 +-
arch/arm/boot/dts/at91-sama5d2_icp.dts | 3 +-
drivers/spi/atmel-quadspi.c | 34 +++++++++++++++
drivers/spi/spi.c | 43 +++++++++++++++++++
7 files changed, 90 insertions(+), 4 deletions(-)
--
2.25.1
Powered by blists - more mailing lists