From 9bd01741eb5e5d111788e3cb9c3b5ffdeb7397e3 Mon Sep 17 00:00:00 2001 From: Oskari Lemmela Date: Thu, 11 Jul 2024 10:47:36 +0300 Subject: [PATCH] kernel: modules: add irq support for pca953x Enable interrupt controller support for PCA953x kernel module Signed-off-by: Oskari Lemmela Link: https://github.com/openwrt/openwrt/pull/15926 Signed-off-by: Hauke Mehrtens --- 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 -- 2.30.2