[openwrt/openwrt] kernel: add kmod-touchscreen-edt-ft5x06 package

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 11 05:31:52 PDT 2022


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3750acb28a5961d97415a7ccf9fd694f5fd60030

commit 3750acb28a5961d97415a7ccf9fd694f5fd60030
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Thu Apr 28 23:34:23 2022 +0200

    kernel: add kmod-touchscreen-edt-ft5x06 package
    
    This module contains driver for touchscreen used in TechNexion
    PICO-PI-IMX7D board.
    
    Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
---
 package/kernel/linux/modules/input.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk
index e052a7afac..7f042e8535 100644
--- a/package/kernel/linux/modules/input.mk
+++ b/package/kernel/linux/modules/input.mk
@@ -193,6 +193,27 @@ endef
 $(eval $(call KernelPackage,input-touchscreen-ads7846))
 
 
+define KernelPackage/input-touchscreen-edt-ft5x06
+  SUBMENU:=$(INPUT_MODULES_MENU)
+  TITLE:=EDT FT5x06 and Focaltech FT6236 based touchscreens
+  DEPENDS:=+kmod-i2c-core +kmod-input-core
+  KCONFIG:= \
+	CONFIG_INPUT_TOUCHSCREEN=y \
+	CONFIG_TOUCHSCREEN_PROPERTIES=y at lt5.13 \
+	CONFIG_TOUCHSCREEN_EDT_FT5X06
+  FILES:=$(LINUX_DIR)/drivers/input/touchscreen/edt-ft5x06.ko \
+	$(LINUX_DIR)/drivers/input/touchscreen/of_touchscreen.ko at lt5.13
+  AUTOLOAD:=$(call AutoProbe,edt-ft5x06)
+endef
+
+define KernelPackage/input-touchscreen-edt-ft5x06/description
+  Kernel module for EDT FT5206, FT5306, FT5406, FT5506, Evervision FT5726 \
+  and Focaltech FT6236 based touchscreens
+endef
+
+$(eval $(call KernelPackage,input-touchscreen-edt-ft5x06))
+
+
 define KernelPackage/keyboard-imx
   SUBMENU:=$(INPUT_MODULES_MENU)
   TITLE:=IMX keypad support




More information about the lede-commits mailing list