aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJonas Rebmann <[email protected]>2024-11-13 13:18:32 +0100
committerMark Brown <[email protected]>2024-11-13 15:40:39 +0000
commita3bb4e663df318b232746478e7b191bcf6e3af40 (patch)
treec57cce4618fa72e54e5b86cf3e468b651b50d7aa /rust/helpers/task.c
parent7b94af24a7a4d12a76183f1b2f0d363d2c9ced43 (diff)
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 <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions