linux/drivers/staging/iio
David Lechner 27ffa2216a staging: iio: resolver: ad2s1210: refactor sample toggle
This refactors the sample line toggle in the ad2s1210 resolver driver
to a separate function. The sample has some timing requirements, so
this ensures that it is always done the same way, both in the existing
call sites and any future usage.

Previously, the sample line was kept on for the duration of the read,
but this is not necessary. Data is latched in on the rising edge and
after the specified delay the state of the sample line does not matter.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231010-ad2s1210-mainline-v5-1-35a0f6ffa04a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-10-12 08:56:08 +01:00
..
accel staging: iio: accel: adis16240: Call '__adis_initial_startup()' 2022-11-23 20:37:51 +00:00
adc iio:adc:ad7280a: Move out of staging 2022-02-21 19:33:05 +00:00
addac staging: iio: Switch i2c drivers back to use .probe() 2023-05-28 17:40:36 +01:00
Documentation staging: iio: resolver: ad2s1210: rename DOS reset min/max attrs 2023-10-11 15:54:41 +01:00
frequency staging: iio: Use devm_clk_get_enabled() helper function 2023-09-11 20:12:40 +01:00
impedance-analyzer staging: iio: Use devm_clk_get_enabled() helper function 2023-09-11 20:12:40 +01:00
resolver staging: iio: resolver: ad2s1210: refactor sample toggle 2023-10-12 08:56:08 +01:00
Kconfig staging: iio: meter: Drop ade7854 driver 2023-03-11 12:18:28 +00:00
Makefile staging: iio: meter: Drop ade7854 driver 2023-03-11 12:18:28 +00:00
TODO staging: iio: remove mention of defunct list 2021-03-25 19:13:49 +00:00