diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-11-13 15:53:00 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-03 19:15:38 +0000 |
| commit | 1093f83b2cfbca9b30b80ea0152fc78255ef398a (patch) | |
| tree | 5e98c628951f18bb9bce44ebaf4f198c7f7dc4f8 /tools/lib/python | |
| parent | 998d20e4e99d909f14d96fdf0bdcf860f7efe3ef (diff) | |
| download | linux-1093f83b2cfbca9b30b80ea0152fc78255ef398a.tar.gz linux-1093f83b2cfbca9b30b80ea0152fc78255ef398a.zip | |
iio: adc: ad4695: add custom regmap bus callbacks
Add a custom implementation of regmap read/write callbacks using the SPI
bus. This allows them to be performed at a lower SCLK rate than data
reads. Previously, all SPI transfers were being performed at a lower
speed, but with this change sample data is read at the max bus speed
while the register reads/writes remain at the lower rate.
Also remove .can_multi_write from the AD4695 driver's regmap_configs, as
this isn't implemented or needed.
For some background context, see:
https://lore.kernel.org/linux-iio/20241028163907.00007e12@Huawei.com/
Suggested-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Tested-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241113-tgamblin-ad4695_improvements-v2-3-b6bb7c758fc4@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
