xref: /openbmc/linux/drivers/gpu/drm/ingenic/Kconfig (revision c4e78957)
1config DRM_INGENIC
2	tristate "DRM Support for Ingenic SoCs"
3	depends on MIPS || COMPILE_TEST
4	depends on DRM
5	depends on CMA
6	depends on OF
7	depends on COMMON_CLK
8	select DRM_BRIDGE
9	select DRM_PANEL_BRIDGE
10	select DRM_KMS_HELPER
11	select DRM_GEM_CMA_HELPER
12	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
13	help
14	  Choose this option for DRM support for the Ingenic SoCs.
15
16	  If M is selected the module will be called ingenic-drm.
17
18if DRM_INGENIC
19
20config DRM_INGENIC_IPU
21	bool "IPU support for Ingenic SoCs"
22	help
23	  Choose this option to enable support for the IPU found in Ingenic SoCs.
24
25	  The Image Processing Unit (IPU) will appear as a second primary plane.
26
27config DRM_INGENIC_DW_HDMI
28	tristate "Ingenic specific support for Synopsys DW HDMI"
29	depends on MACH_JZ4780
30	select DRM_DW_HDMI
31	help
32	  Choose this option to enable Synopsys DesignWare HDMI based driver.
33	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
34	  select this option.
35
36endif
37