From: Mauri Sandberg Date: Sat, 5 Feb 2022 23:07:09 +0000 (+0200) Subject: kernel: add package kmod-gpio-cascade X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2f50d6516125209cd37200ae48cf2b56a83d3822;p=openwrt%2Fstaging%2Flinusw.git kernel: add package kmod-gpio-cascade Adds kernel module for Generic GPIO cascade. Signed-off-by: Mauri Sandberg Signed-off-by: Petr Štetiar [missing commit description] --- 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))