Skip to content

Commit

Permalink
drm: Add driver for Ingenic X1000 SLCD
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimuNotMoe committed Jan 16, 2024
1 parent 48a61dc commit da4af2c
Show file tree
Hide file tree
Showing 4 changed files with 1,717 additions and 4 deletions.
22 changes: 19 additions & 3 deletions drivers/gpu/drm/ingenic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,33 @@ config DRM_INGENIC
depends on CMA
depends on OF
depends on COMMON_CLK
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
help
Choose this option for DRM support for the Ingenic SoCs.

If M is selected the module will be called ingenic-drm.

if DRM_INGENIC

config DRM_INGENIC_JZ_LCDC
tristate "DRM Support for Ingenic JZ series LCD controller"
select DRM_BRIDGE
select DRM_PANEL_BRIDGE
select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
help
Choose this option for DRM support for the Ingenic SoCs.
Choose this option for DRM support for the LCD controller of Ingenic JZ series SoCs.

If M is selected the module will be called ingenic-drm.

if DRM_INGENIC
config DRM_INGENIC_X1000_SLCDC
tristate "DRM Support for Ingenic X1000 series SLCD controller"
select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER
help
Choose this option for DRM support for the SLCD controller of Ingenic X1000 series SoCs.

If M is selected the module will be called ingenic-slcd-drm.

config DRM_INGENIC_IPU
bool "IPU support for Ingenic SoCs"
Expand Down
3 changes: 2 additions & 1 deletion drivers/gpu/drm/ingenic/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
obj-$(CONFIG_DRM_INGENIC) += ingenic-drm.o
obj-$(CONFIG_DRM_INGENIC_JZ_LCDC) += ingenic-drm.o
ingenic-drm-y = ingenic-drm-drv.o
ingenic-drm-$(CONFIG_DRM_INGENIC_IPU) += ingenic-ipu.o
obj-$(CONFIG_DRM_INGENIC_DW_HDMI) += ingenic-dw-hdmi.o
obj-$(CONFIG_DRM_INGENIC_X1000_SLCDC) += ingenic-slcd-drm.o
Loading

0 comments on commit da4af2c

Please sign in to comment.