From 6ca5e85514afc92c0062e799bb0297b2a53a3b80 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 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 511cd3af8..fc6ab66ba 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