1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

spi: dt-bindings: Introduce spi-cs-setup-ns 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.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20221117105249.115649-2-tudor.ambarus@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Tudor Ambarus 2022-11-17 12:52:42 +02:00 committed by Mark Brown
parent 84b60f2bce
commit f6c911f330
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -44,6 +44,11 @@ properties:
description: description:
Maximum SPI clocking speed of the device in Hz. Maximum SPI clocking speed of the device in Hz.
spi-cs-setup-ns:
description:
Delay in nanosecods to be introduced by the controller after CS is
asserted.
spi-rx-bus-width: spi-rx-bus-width:
description: description:
Bus width to the SPI bus used for read transfers. Bus width to the SPI bus used for read transfers.