[openwrt/openwrt] kernel: modules: video: individually package simple-panel.ko
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 20 04:16:51 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/51dc3ab7f87b7f49e96363a58dd0f4e95d67b491
commit 51dc3ab7f87b7f49e96363a58dd0f4e95d67b491
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Jul 18 01:02:43 2025 +0100
kernel: modules: video: individually package simple-panel.ko
The DRM modules for simple (ie. raw, non-eDP) panels can be used also
by platforms others than Freescale i.MX.
Create an individual package for it.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
package/kernel/linux/modules/video.mk | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 5ae560faf3..bc64cb58ba 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -600,13 +600,12 @@ endef
$(eval $(call KernelPackage,drm-imx-hdmi))
+
define KernelPackage/drm-imx-ldb
SUBMENU:=$(VIDEO_MENU)
TITLE:=Freescale i.MX LVDS DRM support
- DEPENDS:=@(TARGET_imx&&TARGET_imx_cortexa9) +kmod-backlight kmod-drm-imx
+ DEPENDS:=@(TARGET_imx&&TARGET_imx_cortexa9) +kmod-backlight +kmod-drm-panel-simple kmod-drm-imx
KCONFIG:=CONFIG_DRM_IMX_LDB \
- CONFIG_DRM_PANEL_SIMPLE \
- CONFIG_DRM_PANEL=y \
CONFIG_DRM_PANEL_SAMSUNG_LD9040=n \
CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=n \
CONFIG_DRM_PANEL_LG_LG4573=n \
@@ -615,8 +614,7 @@ define KernelPackage/drm-imx-ldb
CONFIG_DRM_PANEL_S6E8AA0=n \
CONFIG_DRM_PANEL_SITRONIX_ST7789V=n
FILES:= \
- $(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imx-ldb.ko \
- $(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko
+ $(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imx-ldb.ko
AUTOLOAD:=$(call AutoLoad,08,imx-ldb)
endef
@@ -644,6 +642,24 @@ endef
$(eval $(call KernelPackage,drm-panel-mipi-dbi))
+
+define KernelPackage/drm-panel-simple
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Simple (non-eDP) TFT panels
+ DEPENDS:=@USES_DEVICETREE @USES_PM +kmod-drm +kmod-backlight
+ KCONFIG:=CONFIG_DRM_PANEL_SIMPLE \
+ CONFIG_DRM_PANEL=y
+ FILES:=$(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko
+ AUTOLOAD:=$(call AutoProbe,panel-simple)
+endef
+
+define KernelPackage/drm-panel-simple/description
+ Generic driver for simple raw (ie. non-eDP) TFT panels.
+endef
+
+$(eval $(call KernelPackage,drm-panel-simple))
+
+
define KernelPackage/drm-radeon
SUBMENU:=$(VIDEO_MENU)
TITLE:=Radeon DRM support
More information about the lede-commits
mailing list