[PATCH 0/8] spi: Introduce spi-cs-setup-ns dt property

From: Tudor Ambarus
Date: Thu Nov 17 2022 - 05:53:46 EST


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