diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2020-12-23 00:14:25 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-06 13:08:47 +0000 |
commit | f453f293979fb648d2e505c132887811acb6bde6 (patch) | |
tree | 4e8400e026cf2f1eabfed191073e087a0285fa28 /fs/ocfs2/aops.h | |
parent | 0920a32cf6f20467aa133a47b776ee782daa889f (diff) | |
download | lwn-f453f293979fb648d2e505c132887811acb6bde6.tar.gz lwn-f453f293979fb648d2e505c132887811acb6bde6.zip |
spi: cadence-quadspi: Add DTR support
Double Transfer Rate (DTR) mode transfers data twice per clock cycle.
Add support for parsing DTR ops and set up the registers to allow it.
Most SPI NOR flashes expect 2 byte commands. Parse the 2-byte opcode
from SPI MEM and set it up in the CQSPI_REG_OP_EXT_LOWER register.
Increment the delay needed before issuing indirect writes because larger
delay is needed for DTR mode. With the current delay some writes end up
missing.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20201222184425.7028-8-p.yadav@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/ocfs2/aops.h')
0 files changed, 0 insertions, 0 deletions