aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2019-03-21 17:47:22 +0100
committerJonathan Cameron <[email protected]>2019-04-04 20:20:32 +0100
commit2e19ba661ece580b23115f7eff1e5fad25317172 (patch)
tree69286b366246f5ff954eabc6f47eea1b9c2bf389 /tools/perf/scripts/python
parent57565828adf56e1a3200dd488ad86c84673a361e (diff)
iio: adc: stm32-dfsdm: make spi_master_freq more accurate
Current ckout divider may be set to a value that makes ckout to exceed spi-max-frequency. Rather use lower value (e.g. round up divider when ckout isn't accurate). Also when the SPI clock isn't accurate, 'spi_master_freq' is filled in with expected frequency. Use computed value instead to be more accurate: - e.g. source clock / (CKOUTDIV + 1) Enforce checks on the divider: ckoutdiv range can be from 1-255 to provide divider of 2-256. Signed-off-by: Fabrice Gasnier <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions