spi: spi-zynqmp-gqspi: Add tap delay support for ZynqMP GQSPI Controller
authorNaga Sureshkumar Relli <nagasure@xilinx.com>
Tue, 11 Oct 2022 06:20:38 +0000 (11:50 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 13:34:38 +0000 (14:34 +0100)
commitfae7b3c3ecd76a911a1f0e45d2258a420559cbf6
treedcee930567a9845901b37ce1a92701c4e1c7adee
parent1e400cb9cff2157f89ca95aba4589f95253425ba
spi: spi-zynqmp-gqspi: Add tap delay support for ZynqMP GQSPI Controller

GQSPI controller uses the internal clock for loopback mode. The loopback
mode is used with the high-speed Quad SPI timing mode, where the memory
interface clock needs to be greater than 40 MHz. Based on the tap delay
value programmed, the internal clock is delayed and used for capturing
the data.
Based upon the frequency of operation set the recommended tap delay
values in GQSPI driver.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Link: https://lore.kernel.org/r/20221011062040.12116-6-amit.kumar-mahapatra@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-zynqmp-gqspi.c