Skip to content

Commit

Permalink
kernel: add package kmod-gpio-cascade
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
msandber authored and ynezz committed Feb 19, 2022
1 parent 15f0074 commit 2f50d65
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions 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))

0 comments on commit 2f50d65

Please sign in to comment.