]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: backend: add support for data source get
authorAngelo Dureghello <adureghello@baylibre.com>
Wed, 9 Apr 2025 18:36:30 +0000 (20:36 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:10:03 +0000 (19:10 +0100)
commit2086321576425361e8ea0052d9ef6eec55f99a6f
treedc6dbf154ae7f363dfd29f95a05706967a4107c9
parentede84c4556598b8899a93890d881bd407650c344
iio: backend: add support for data source get

Add backend support for getting the data source used.

The ad3552r HDL implements an internal ramp generator, so adding the
getter to allow data source get/set by debugfs.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250409-wip-bl-ad3552r-fixes-v5-3-fb429c3a6515@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-backend.c
include/linux/iio/backend.h