From: Oskari Lemmela Date: Thu, 11 Jul 2024 07:47:36 +0000 (+0300) Subject: kernel: modules: add irq support for pca953x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9bd01741eb5e5d111788e3cb9c3b5ffdeb7397e3;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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