[PATCH 4/6] kernel: add package kmod-gpio-cascade
Mauri Sandberg
maukka at ext.kapsi.fi
Thu Nov 18 11:04:26 PST 2021
Signed-off-by: Mauri Sandberg <maukka at ext.kapsi.fi>
---
package/kernel/linux/modules/gpio-cascade.mk | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 package/kernel/linux/modules/gpio-cascade.mk
diff --git a/package/kernel/linux/modules/gpio-cascade.mk b/package/kernel/linux/modules/gpio-cascade.mk
new file mode 100644
index 0000000000..3a559f19ef
--- /dev/null
+++ b/package/kernel/linux/modules/gpio-cascade.mk
@@ -0,0 +1,20 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+MENU_TITLE:=GPIO support
+
+define KernelPackage/gpio-cascade
+ SUBMENU:=$(MENU_TITLE)
+ TITLE:=Generic GPIO cascade
+ KCONFIG:=CONFIG_GPIO_CASCADE
+ DEPENDS:=@GPIO_SUPPORT +kmod-mux-core
+ FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cascade.ko
+ AUTOLOAD:=$(call AutoLoad,29,gpio-cascade,1)
+endef
+
+define KernelPackage/gpio-cascade/description
+ Kernel module for Generic GPIO cascade
+endef
+
+$(eval $(call KernelPackage,gpio-cascade))
--
2.25.1
More information about the openwrt-devel
mailing list