diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2019-02-13 12:51:27 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2019-02-24 01:17:01 +0200 |
commit | 77a54bbf13bf2a798cfdfc8dd6c61759ac18a19f (patch) | |
tree | 6a45ca46e093fadad300227ec90b843283ecf1be | |
parent | c22cde2ea13133a9c75522a03fde225ccfd2770d (diff) | |
download | upstream-77a54bbf13bf2a798cfdfc8dd6c61759ac18a19f.tar.gz upstream-77a54bbf13bf2a798cfdfc8dd6c61759ac18a19f.tar.bz2 upstream-77a54bbf13bf2a798cfdfc8dd6c61759ac18a19f.zip |
kernel: add kmod-input-touchscreen-ads7846
This module adds support for ADS7846 based touchscreens used in devices
like the WaveShare 3.5" and 4" LCD displays designed for Raspberry Pi.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r-- | package/kernel/linux/modules/input.mk | 19 | ||||
-rw-r--r-- | target/linux/brcm2708/bcm2708/config-4.14 | 2 | ||||
-rw-r--r-- | target/linux/brcm2708/bcm2709/config-4.14 | 2 | ||||
-rw-r--r-- | target/linux/brcm2708/bcm2710/config-4.14 | 2 |
4 files changed, 25 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index e410fe8d0c..76b4f40bdd 100644 --- a/package/kernel/linux/modules/input.mk +++ b/package/kernel/linux/modules/input.mk @@ -173,6 +173,25 @@ endef $(eval $(call KernelPackage,input-matrixkmap)) +define KernelPackage/input-touchscreen-ads7846 + SUBMENU:=$(INPUT_MODULES_MENU) + TITLE:=ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens + DEPENDS:=+kmod-hwmon-core +kmod-spi-bitbang + KCONFIG:= \ + CONFIG_INPUT_TOUCHSCREEN=y \ + CONFIG_TOUCHSCREEN_PROPERTIES=y \ + CONFIG_TOUCHSCREEN_ADS7846 + FILES:=$(LINUX_DIR)/drivers/input/touchscreen/ads7846.ko + AUTOLOAD:=$(call AutoProbe,ads7846) +endef + +define KernelPackage/input-touchscreen-ads7846/description + Kernel module for ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens +endef + +$(eval $(call KernelPackage,input-touchscreen-ads7846)) + + define KernelPackage/keyboard-imx SUBMENU:=$(INPUT_MODULES_MENU) TITLE:=IMX keypad support diff --git a/target/linux/brcm2708/bcm2708/config-4.14 b/target/linux/brcm2708/bcm2708/config-4.14 index cc563edacf..284d7cfa4b 100644 --- a/target/linux/brcm2708/bcm2708/config-4.14 +++ b/target/linux/brcm2708/bcm2708/config-4.14 @@ -385,6 +385,8 @@ CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y CONFIG_TINY_SRCU=y CONFIG_TMPFS_POSIX_ACL=y +# CONFIG_TOUCHSCREEN_EXC3000 is not set +# CONFIG_TOUCHSCREEN_RPI_FT5406 is not set CONFIG_UEVENT_HELPER_PATH="" # CONFIG_UID16 is not set CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" diff --git a/target/linux/brcm2708/bcm2709/config-4.14 b/target/linux/brcm2708/bcm2709/config-4.14 index ef49952ebd..9817656a60 100644 --- a/target/linux/brcm2708/bcm2709/config-4.14 +++ b/target/linux/brcm2708/bcm2709/config-4.14 @@ -425,6 +425,8 @@ CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y CONFIG_TMPFS_POSIX_ACL=y +# CONFIG_TOUCHSCREEN_EXC3000 is not set +# CONFIG_TOUCHSCREEN_RPI_FT5406 is not set CONFIG_TREE_RCU=y CONFIG_TREE_SRCU=y CONFIG_UEVENT_HELPER_PATH="" diff --git a/target/linux/brcm2708/bcm2710/config-4.14 b/target/linux/brcm2708/bcm2710/config-4.14 index 289ec68df2..9faf7f762a 100644 --- a/target/linux/brcm2708/bcm2710/config-4.14 +++ b/target/linux/brcm2708/bcm2710/config-4.14 @@ -450,6 +450,8 @@ CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y CONFIG_TMPFS_POSIX_ACL=y +# CONFIG_TOUCHSCREEN_EXC3000 is not set +# CONFIG_TOUCHSCREEN_RPI_FT5406 is not set CONFIG_TREE_RCU=y CONFIG_TREE_SRCU=y CONFIG_UEVENT_HELPER_PATH="" |