Skip to content

Commit

Permalink
spi: dt-bindings: Introduce spi-cs-setup-ns property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tudor Ambarus authored and Mark Brown committed Nov 18, 2022
1 parent 84b60f2 commit f6c911f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ properties:
description:
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:
description:
Bus width to the SPI bus used for read transfers.
Expand Down

0 comments on commit f6c911f

Please sign in to comment.