xref: /linux/drivers/gpu/drm/ingenic/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
190b86fccSPaul Cercueilconfig DRM_INGENIC
290b86fccSPaul Cercueil	tristate "DRM Support for Ingenic SoCs"
390b86fccSPaul Cercueil	depends on MIPS || COMPILE_TEST
490b86fccSPaul Cercueil	depends on DRM
590b86fccSPaul Cercueil	depends on CMA
690b86fccSPaul Cercueil	depends on OF
79f941375SKrzysztof Kozlowski	depends on COMMON_CLK
890b86fccSPaul Cercueil	select DRM_BRIDGE
990b86fccSPaul Cercueil	select DRM_CLIENT_SELECTION
1090b86fccSPaul Cercueil	select DRM_PANEL_BRIDGE
11*9da7ec9bSDmitry Baryshkov	select DRM_KMS_HELPER
12*9da7ec9bSDmitry Baryshkov	select DRM_DISPLAY_HELPER
134a83c26aSDanilo Krummrich	select DRM_BRIDGE_CONNECTOR
14f009d0eaSSui Jingfeng	select DRM_GEM_DMA_HELPER
15f009d0eaSSui Jingfeng	select REGMAP
1690b86fccSPaul Cercueil	select REGMAP_MMIO
1790b86fccSPaul Cercueil	help
1890b86fccSPaul Cercueil	  Choose this option for DRM support for the Ingenic SoCs.
1990b86fccSPaul Cercueil
20fc1acf31SPaul Cercueil	  If M is selected the module will be called ingenic-drm.
21fc1acf31SPaul Cercueil
22fc1acf31SPaul Cercueilif DRM_INGENIC
23fc1acf31SPaul Cercueil
24fc1acf31SPaul Cercueilconfig DRM_INGENIC_IPU
25fc1acf31SPaul Cercueil	bool "IPU support for Ingenic SoCs"
26fc1acf31SPaul Cercueil	help
27fc1acf31SPaul Cercueil	  Choose this option to enable support for the IPU found in Ingenic SoCs.
28fc1acf31SPaul Cercueil
29fc1acf31SPaul Cercueil	  The Image Processing Unit (IPU) will appear as a second primary plane.
3071f56b27SPaul Boddie
3171f56b27SPaul Boddieconfig DRM_INGENIC_DW_HDMI
3271f56b27SPaul Boddie	tristate "Ingenic specific support for Synopsys DW HDMI"
3371f56b27SPaul Boddie	depends on MACH_JZ4780
3471f56b27SPaul Boddie	select DRM_DW_HDMI
3571f56b27SPaul Boddie	help
3671f56b27SPaul Boddie	  Choose this option to enable Synopsys DesignWare HDMI based driver.
3771f56b27SPaul Boddie	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
3871f56b27SPaul Boddie	  select this option.
39fc1acf31SPaul Cercueil
40endif
41