$(eval $(call KernelPackage,drm-radeon))
+define KernelPackage/drm-st7789v
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Sitronix ST7789v DRM support
+ DEPENDS:=+kmod-backlight
+ KCONFIG:= \
+ CONFIG_FB \
+ CONFIG_FB_DEVICE=y \
+ CONFIG_FB_TFT \
+ CONFIG_FB_TFT_ST7735R \
+ CONFIG_FB_TFT_ST7789V
+# CONFIG_FB_DEVICE=y \
+# CONFIG_DRM_PANEL_SITRONIX_ST7789V \
+# CONFIG_TINYDRM_ST7735R \
+# CONFIG_DRM_PANEL_SIMPLE \
+# CONFIG_DRM=y \
+# CONFIG_DRM_PANEL=y \
+# CONFIG_DRM_FBDEV_EMULATION=y \
+# CONFIG_DRM_FBDEV_OVERALLOC=100 \
+# CONFIG_DRM_PANEL_SAMSUNG_LD9040=n \
+# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=n \
+# CONFIG_DRM_PANEL_LG_LG4573=n \
+# CONFIG_DRM_PANEL_LD9040=n \
+# CONFIG_DRM_PANEL_LVDS=n \
+# CONFIG_DRM_PANEL_S6E8AA0=n
+ FILES:= \
+ $(LINUX_DIR)/drivers/video/fbdev/core/sysfillrect.ko \
+ $(LINUX_DIR)/drivers/video/fbdev/core/sysimgblt.ko \
+ $(LINUX_DIR)/drivers/video/fbdev/core/syscopyarea.ko \
+ $(LINUX_DIR)/drivers/video/fbdev/core/fb_io_fops.ko \
+ $(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko \
+ $(LINUX_DIR)/drivers/video/fbdev/core/fb.ko \
+ $(LINUX_DIR)/drivers/staging/fbtft/fb_st7735r.ko \
+ $(LINUX_DIR)/drivers/staging/fbtft/fb_st7789v.ko \
+ $(LINUX_DIR)/drivers/staging/fbtft/fbtft.ko
+ #$(LINUX_DIR)/drivers/gpu/drm/tiny/st7735r.ko \
+ #$(LINUX_DIR)/drivers/gpu/drm/panel/panel-sitronix-st7789v.ko \
+ #$(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko \
+ #$(LINUX_DIR)/drivers/gpu/drm/drm_dma_helper.ko \
+ #$(LINUX_DIR)/drivers/gpu/drm/drm_mipi_dbi.ko
+ # AUTOLOAD:=$(call AutoProbe,panel-sitronix-st7789v st7735r)
+ AUTOLOAD:=$(call AutoProbe,fb_st7735r fb_st7789v)
+endef
+
+define KernelPackage/drm-st7789v/description
+ Direct Rendering Manager (DRM) support for Sitronix ST7789v
+endef
+
+$(eval $(call KernelPackage,drm-st7789v))
+
#
# Video Capture
#