diff options
| author | Ramona Gradinariu <ramona.bolboaca13@gmail.com> | 2024-05-27 17:26:14 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-04 21:53:09 +0300 |
| commit | f5657c7751d73db8d88c6eee556dce6534620a1f (patch) | |
| tree | bdc7cc13dba15c6ec3f2396b657e4afb3cee736c /tools/perf/scripts/python | |
| parent | 880b1b1fbef5e6dc6bbcdb25311b9a030adf5a4e (diff) | |
| download | linux-f5657c7751d73db8d88c6eee556dce6534620a1f.tar.xz | |
drivers: iio: imu: adis16475: generic computation for sample rate
Currently adis16475 supports a sample rate between 1900 and 2100 Hz.
This patch changes the setting of sample rate from hardcoded values to
a generic computation based on the internal clock frequency.
This is a preparatory patch for adding support for adis1657x family
devices which allow sample rates between 3900 and 4100 Hz.
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Ramona Gradinariu <ramona.bolboaca13@gmail.com>
Link: https://lore.kernel.org/r/20240527142618.275897-6-ramona.bolboaca13@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
