summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2024-10-30 14:44:26 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-11-09 10:41:13 +0000
commit0e1168f8f2bfb43dd29a8d224d0a4d3ffccd47d9 (patch)
tree2f60930ea03e506c76118dfc6485d04e8b23cb7f /tools/perf/scripts/python/syscall-counts.py
parent19406b0a3152dd94fe3b6c454412454acbf2439a (diff)
iio: adc: ad7380: fix oversampling formula
The formula in the datasheet for oversampling time conversion seems to be valid when device is at full speed using the maximum number of SDO lines. The driver currently support only 1 SDO line. The correct formula is: t_convert = T_CONVERT_0_NS + T_CONVERT_X_NS*(x - 1)*num_channel/number_of_sdo_lines. It will produce larger delays than what is currently set, but some devices actually require it. Signed-off-by: Julien Stephan <jstephan@baylibre.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20241030-ad7380-add-adaq4380-4-support-v4-2-864ff02babae@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions