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