]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: iio: add kmod-iio-ad7405 package 22989/head
authorThomas Richard <thomas.richard@bootlin.com>
Sat, 18 Apr 2026 12:54:38 +0000 (14:54 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 9 Jun 2026 07:10:23 +0000 (09:10 +0200)
Create kernel package for the AD7405 ADC driver.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/22989
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
package/kernel/linux/modules/iio.mk

index d2626d800cbed4d681f30a5fd6cc54b8dc116fb4..1787602291676bfab026b440520b6a73ed47cdf8 100644 (file)
@@ -115,6 +115,22 @@ endef
 $(eval $(call KernelPackage,industrialio-triggered-buffer))
 
 
+define KernelPackage/iio-ad7405
+  TITLE:=Analog Devices AD7405 ADC Driver
+  KCONFIG:=CONFIG_AD7405
+  FILES:=$(LINUX_DIR)/drivers/iio/adc/ad7405.ko
+  AUTOLOAD:=$(call AutoLoad,56,ad7405)
+  $(call AddDepends/iio, +kmod-industrialio-backend)
+endef
+
+define KernelPackage/iio-ad7405/description
+  This driver adds support for Analog Devices AD7405, ADUM7701, ADUM7702,
+  ADUM7703 ADCs.
+endef
+
+$(eval $(call KernelPackage,iio-ad7405))
+
+
 define KernelPackage/iio-ad799x
   DEPENDS:=+kmod-i2c-core +kmod-industrialio-triggered-buffer
   TITLE:=Analog Devices AD799x ADC driver