kernel: add keyboard-imx module

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38537
owl
Luka Perkov 2013-10-25 10:29:49 +00:00
parent 61a4b9753d
commit 3d77352390
1 changed files with 19 additions and 1 deletions

View File

@ -159,7 +159,7 @@ define KernelPackage/input-matrixkmap
KCONFIG:=CONFIG_INPUT_MATRIXKMAP KCONFIG:=CONFIG_INPUT_MATRIXKMAP
DEPENDS:=@!LINUX_3_3 DEPENDS:=@!LINUX_3_3
FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko
AUTOLOAD:=$(call AutoLoad,20,matrix-keymap) AUTOLOAD:=$(call AutoProbe,matrix-keymap)
$(call AddDepends/input) $(call AddDepends/input)
endef endef
@ -184,3 +184,21 @@ define KernelPackage/acpi-button/description
endef endef
$(eval $(call KernelPackage,acpi-button)) $(eval $(call KernelPackage,acpi-button))
define KernelPackage/keyboard-imx
SUBMENU:=$(INPUT_MODULES_MENU)
TITLE:=IMX keypad support
DEPENDS:=@(TARGET_mxs||TARGET_imx6) +kmod-input-matrixkmap
KCONFIG:= \
CONFIG_KEYBOARD_IMX \
CONFIG_INPUT_KEYBOARD=y
FILES:=$(LINUX_DIR)/drivers/input/keyboard/imx_keypad.ko
AUTOLOAD:=$(call AutoProbe,imx_keypad)
endef
define KernelPackage/keyboard-imx/description
Enable support for IMX keypad port.
endef
$(eval $(call KernelPackage,keyboard-imx))