]> Gentwo Git Trees - linux/.git/commit
iio: adc: ad4000: Use device specific timing for SPI transfers
authorMarcelo Schmitt <marcelo.schmitt@analog.com>
Mon, 2 Dec 2024 14:08:13 +0000 (11:08 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Dec 2024 19:20:49 +0000 (19:20 +0000)
commitfc8f6300954966ca0c826d33ae6b4a4de1d8419a
tree249193d376a6844614e9949ca5528e9b981160a6
parent646acd46fc909ff55c3fea17b697e480a4e2cd57
iio: adc: ad4000: Use device specific timing for SPI transfers

The SPI transfers for AD4020, AD4021, and AD4022 have slightly different
timing specifications. Use device specific timing constraints to set SPI
transfer parameters. While tweaking time constraints, remove time related
defines including unused AD4000_TQUIET1_NS.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/a36fcf44cc00b2a498170e2ae3f005829d516266.1733147444.git.marcelo.schmitt@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad4000.c