[openwrt/openwrt] kernel: modules: iio: package industrialio-backend module

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 21 05:31:12 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/74011c5c1cbd47b98f02c14c04182b88ed603b6d

commit 74011c5c1cbd47b98f02c14c04182b88ed603b6d
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Mon May 12 14:15:37 2025 +0200

    kernel: modules: iio: package industrialio-backend module
    
    The stm32-dfsdm-adc module depends on it (kernel 6.12).
    
    Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/18740
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/iio.mk | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index bd6a77f720..d3bc1686ac 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -47,6 +47,25 @@ endef
 $(eval $(call KernelPackage,iio-kfifo-buf))
 
 
+define KernelPackage/industrialio-backend
+  TITLE:=IIO Backend support
+  KCONFIG=CONFIG_IIO_BACKEND
+  FILES:=$(LINUX_DIR)/drivers/iio/industrialio-backend.ko
+  AUTOLOAD:=$(call AutoProbe,industrialio-backend)
+  $(call AddDepends/iio)
+endef
+
+define KernelPackage/industrialio-backend/description
+  Framework to handle complex IIO aggregate devices. The typical
+  architecture that can make use of this framework is to have one
+  device as the frontend device which can be "linked" against one or
+  multiple backend devices. The framework then makes it easy to get
+  and control such backend devices.
+endef
+
+$(eval $(call KernelPackage,industrialio-backend))
+
+
 define KernelPackage/industrialio-hw-consumer
   TITLE:=Provides a bonding way to an other device in hardware
   KCONFIG:=CONFIG_IIO_BUFFER_HW_CONSUMER




More information about the lede-commits mailing list