summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorJonas Rebmann <jre@pengutronix.de>2024-11-13 13:18:32 +0100
committerMark Brown <broonie@kernel.org>2024-11-13 16:40:39 +0100
commita3bb4e663df318b232746478e7b191bcf6e3af40 (patch)
treec57cce4618fa72e54e5b86cf3e468b651b50d7aa /drivers/base
parentspi: imx: pass struct spi_transfer to prepare_transfer() (diff)
downloadlinux-a3bb4e663df318b232746478e7b191bcf6e3af40.tar.xz
linux-a3bb4e663df318b232746478e7b191bcf6e3af40.zip
spi: imx: support word delay
Implement support for the word delay feature of i.MX51 (and onwards) via the ECSPI interface. Convert the requested delay to SPI cycles and account for an extra inter-word delay inserted by the controller in addition to the requested number of cycles, which was observed when testing this patch. Disable dynamic burst when word delay is set. As the configurable delay period in the controller is inserted after bursts, the burst length must equal the word length. Account for word delay in the transfer time estimation for polling_limit_us. Signed-off-by: Jonas Rebmann <jre@pengutronix.de> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20241113-imx-spi-word-delay-v2-2-2b65b737bf29@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions