]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad4000: Add timestamp channel
authorMarcelo Schmitt <marcelo.schmitt@analog.com>
Mon, 2 Dec 2024 14:07:56 +0000 (11:07 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Dec 2024 19:20:49 +0000 (19:20 +0000)
commit646acd46fc909ff55c3fea17b697e480a4e2cd57
treec6d370ddaf7852d64f52c998bb762661bb51db61
parentc54b909481de76f4047e824781304a9ec1ac0387
iio: adc: ad4000: Add timestamp channel

The ADC data is pushed to the IIO buffer along with timestamp but no
timestamp channel was provided to retried the time data.
Add a timestamp channel to provide sample capture time.

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