xref: /linux/drivers/gpu/drm/ingenic/Kconfig (revision 55ec81f7517fad09135f65552cea0a3ee84fff30)
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_DMA_HELPER
12	select REGMAP
13	select REGMAP_MMIO
14	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
15	help
16	  Choose this option for DRM support for the Ingenic SoCs.
17
18	  If M is selected the module will be called ingenic-drm.
19
20if DRM_INGENIC
21
22config DRM_INGENIC_IPU
23	bool "IPU support for Ingenic SoCs"
24	help
25	  Choose this option to enable support for the IPU found in Ingenic SoCs.
26
27	  The Image Processing Unit (IPU) will appear as a second primary plane.
28
29config DRM_INGENIC_DW_HDMI
30	tristate "Ingenic specific support for Synopsys DW HDMI"
31	depends on MACH_JZ4780
32	select DRM_DW_HDMI
33	help
34	  Choose this option to enable Synopsys DesignWare HDMI based driver.
35	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
36	  select this option.
37
38endif
39