diff options
| author | 2022-05-19 08:46:04 +0900 | |
|---|---|---|
| committer | 2022-06-06 12:41:36 +0100 | |
| commit | 8d0b512844fdee83b6299647aa178828a4ebfc3b (patch) | |
| tree | 14972e0e17ca64aa4dc3a042c654a1f7a33f753f /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | spi: spi.c: Convert statistics to per-cpu u64_stats_t (diff) | |
| download | linux-dev-8d0b512844fdee83b6299647aa178828a4ebfc3b.tar.xz linux-dev-8d0b512844fdee83b6299647aa178828a4ebfc3b.zip | |
spi: spi-ti-qspi: Support per-transfer and per-slave speed_hz settings
The spi-ti-qspi driver initializes its spi clock by the
spi-max-frequency property from the controller node, and ignores
per-transfer (and per-slave) speed_hz settings.
Isolate clock settings out from ti_qspi_setup() and call it from
ti_qspi_start_transfer_one() and ti_qspi_exec_mem_op(), using
per-transfer speed_hz and per-slave max_speed_hz settings.
Also drop spi_max_frequency from struct ti_qspi and use spi_master's
max_speed_hz.
Signed-off-by: Atsushi Nemoto <atsushi.nemoto@sord.co.jp>
Link: https://lore.kernel.org/r/20220519.084604.966119051165023533.atsushi.nemoto@sord.co.jp
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
