From 9f4a7de48aa2ba07ae117937f01c2a262dde423d Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sat, 9 Feb 2019 18:31:48 +0200 Subject: kernel: add kmod-fb-tft This module adds support for small TFT LCD display modules. While this module also exists in the 4.9 kernel, we are not going to support this kernel in the next major release, so don't make it available for 4.9. Signed-off-by: Stijn Tintel --- package/kernel/linux/modules/video.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'package/kernel/linux') diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index fcfd5dc596..ee58e97b34 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -183,6 +183,28 @@ endef $(eval $(call KernelPackage,fb-sys-ram)) +define KernelPackage/fb-tft + SUBMENU:=$(VIDEO_MENU) + TITLE:=Support for small TFT LCD display modules + DEPENDS:= \ + @GPIO_SUPPORT @!LINUX_3_18 @!LINUX_4_9 +kmod-backlight \ + +kmod-fb +kmod-fb-sys-fops +kmod-fb-sys-ram +kmod-spi-bitbang + KCONFIG:= \ + CONFIG_FB_BACKLIGHT=y \ + CONFIG_FB_DEFERRED_IO=y \ + CONFIG_FB_TFT + FILES:= \ + $(LINUX_DIR)/drivers/staging/fbtft/fbtft.ko + AUTOLOAD:=$(call AutoLoad,08,fbtft) +endef + +define KernelPackage/fb-tft/description + Support for small TFT LCD display modules +endef + +$(eval $(call KernelPackage,fb-tft)) + + define KernelPackage/drm SUBMENU:=$(VIDEO_MENU) TITLE:=Direct Rendering Manager (DRM) support -- cgit v1.2.3