diff options
author | David Lechner <[email protected]> | 2023-12-04 11:33:28 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-06 14:19:30 +0000 |
commit | 9d023ecc31859c7f7c8ca27b5fec52b2dbb8086f (patch) | |
tree | 6f3905e804724f952544b02339ea0f78db3496b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2e0d75f8dd9e31b3fb175f780494dd7dd988ceae (diff) |
spi: axi-spi-engine: populate xfer->effective_speed_hz
This adds a new spi_engine_precompile_message() function to the ADI AXI
SPI Engine driver to populate the xfer->effective_speed_hz field since
the SPI core doesn't/can't do this for us.
This driver is already using spi_delay_to_ns() which depends on
effective_speed_hz to get an accurate value in some cases.
Having an effective_speed_hz value can also be used in future changes
to simplify other code.
Signed-off-by: David Lechner <[email protected]>
Acked-by: Michael Hennerich <[email protected]>
Acked-by: Nuno Sa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions