diff options
author | Alexander Dahl <ada@thorsis.com> | 2024-09-18 10:27:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-20 11:41:19 +0200 |
commit | 329ca3eed4a9a161515a8714be6ba182321385c7 (patch) | |
tree | 197dad6713b622e90d2bfab0645fdb1592324165 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fffca269e4f31c3633c6d810833ba1b184407915 (diff) |
spi: atmel-quadspi: Avoid overwriting delay register settings
Previously the MR and SCR registers were just set with the supposedly
required values, from cached register values (cached reg content
initialized to zero).
All parts fixed here did not consider the current register (cache)
content, which would make future support of cs_setup, cs_hold, and
cs_inactive impossible.
Setting SCBR in atmel_qspi_setup() erases a possible DLYBS setting from
atmel_qspi_set_cs_timing(). The DLYBS setting is applied by ORing over
the current setting, without resetting the bits first. All writes to MR
did not consider possible settings of DLYCS and DLYBCT.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Fixes: f732646d0ccd ("spi: atmel-quadspi: Add support for configuring CS timing")
Link: https://patch.msgid.link/20240918082744.379610-2-ada@thorsis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions