aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorMauri Sandberg <maukka@ext.kapsi.fi>2022-02-06 01:07:09 +0200
committerPetr Štetiar <ynezz@true.cz>2022-02-19 13:10:01 +0100
commit2f50d6516125209cd37200ae48cf2b56a83d3822 (patch)
tree44dd85ad41bbb922a8c0f129662443b21a67b435 /package/kernel/linux
parent15f0074beb55f85ee1de6a34a4c7758f5616f9e1 (diff)
downloadupstream-2f50d6516125209cd37200ae48cf2b56a83d3822.tar.gz
upstream-2f50d6516125209cd37200ae48cf2b56a83d3822.tar.bz2
upstream-2f50d6516125209cd37200ae48cf2b56a83d3822.zip
kernel: add package kmod-gpio-cascade
Adds kernel module for Generic GPIO cascade. Signed-off-by: Mauri Sandberg <maukka@ext.kapsi.fi> Signed-off-by: Petr Štetiar <ynezz@true.cz> [missing commit description]
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/gpio-cascade.mk20
1 files changed, 20 insertions, 0 deletions
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))