[openwrt/openwrt] kernel: modules: add irq support for pca953x

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 22 09:46:26 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9bd01741eb5e5d111788e3cb9c3b5ffdeb7397e3

commit 9bd01741eb5e5d111788e3cb9c3b5ffdeb7397e3
Author: Oskari Lemmela <oskari at lemmela.net>
AuthorDate: Thu Jul 11 10:47:36 2024 +0300

    kernel: modules: add irq support for pca953x
    
    Enable interrupt controller support for PCA953x kernel module
    
    Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
    Link: https://github.com/openwrt/openwrt/pull/15926
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/gpio.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/gpio.mk b/package/kernel/linux/modules/gpio.mk
index 511cd3af8c..fc6ab66ba8 100644
--- a/package/kernel/linux/modules/gpio.mk
+++ b/package/kernel/linux/modules/gpio.mk
@@ -109,7 +109,8 @@ define KernelPackage/gpio-pca953x
   SUBMENU:=$(GPIO_MENU)
   DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
   TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
-  KCONFIG:=CONFIG_GPIO_PCA953X
+  KCONFIG:=CONFIG_GPIO_PCA953X \
+	   CONFIG_GPIO_PCA953X_IRQ=y
   FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
   AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
 endef




More information about the lede-commits mailing list