summaryrefslogtreecommitdiff
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-02-10 23:57:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-19 22:32:22 +0300
commit1a97905d3e48ebe79a06d16143fbfa427c56ce5f (patch)
tree1c24ebf6d74fc8711a56bd1980304ce37d7e2f73 /drivers/iio/Makefile
parent9c446288d7b31402adb454535cb2c3cbdb55bb88 (diff)
downloadlinux-1a97905d3e48ebe79a06d16143fbfa427c56ce5f.tar.xz
iio: add the IIO backend framework
This is a Framework to handle complex IIO aggregate devices. The typical architecture is to have one device as the frontend device which can be "linked" against one or multiple backend devices. All the IIO and userspace interface is expected to be registers/managed by the frontend device which will callback into the backends when needed (to get/set some configuration that it does not directly control). The basic framework interface is pretty simple: - Backends should register themselves with @devm_iio_backend_register() - Frontend devices should get backends with @devm_iio_backend_get() Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240210-iio-backend-v11-5-f5242a5fb42a@analog.com Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 9622347a1c1b..0ba0e1521ba4 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_IIO_GTS_HELPER) += industrialio-gts-helper.o
obj-$(CONFIG_IIO_SW_DEVICE) += industrialio-sw-device.o
obj-$(CONFIG_IIO_SW_TRIGGER) += industrialio-sw-trigger.o
obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o
+obj-$(CONFIG_IIO_BACKEND) += industrialio-backend.o
obj-y += accel/
obj-y += adc/