xref: /openbmc/linux/drivers/gpu/drm/ingenic/Kconfig (revision f009d0ea)
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_PANEL_BRIDGE
1090b86fccSPaul Cercueil	select DRM_KMS_HELPER
114a83c26aSDanilo Krummrich	select DRM_GEM_DMA_HELPER
12*f009d0eaSSui Jingfeng	select REGMAP
13*f009d0eaSSui Jingfeng	select REGMAP_MMIO
1490b86fccSPaul Cercueil	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
1590b86fccSPaul Cercueil	help
1690b86fccSPaul Cercueil	  Choose this option for DRM support for the Ingenic SoCs.
1790b86fccSPaul Cercueil
1890b86fccSPaul Cercueil	  If M is selected the module will be called ingenic-drm.
19fc1acf31SPaul Cercueil
20fc1acf31SPaul Cercueilif DRM_INGENIC
21fc1acf31SPaul Cercueil
22fc1acf31SPaul Cercueilconfig DRM_INGENIC_IPU
23fc1acf31SPaul Cercueil	bool "IPU support for Ingenic SoCs"
24fc1acf31SPaul Cercueil	help
25fc1acf31SPaul Cercueil	  Choose this option to enable support for the IPU found in Ingenic SoCs.
26fc1acf31SPaul Cercueil
27fc1acf31SPaul Cercueil	  The Image Processing Unit (IPU) will appear as a second primary plane.
28fc1acf31SPaul Cercueil
2971f56b27SPaul Boddieconfig DRM_INGENIC_DW_HDMI
3071f56b27SPaul Boddie	tristate "Ingenic specific support for Synopsys DW HDMI"
3171f56b27SPaul Boddie	depends on MACH_JZ4780
3271f56b27SPaul Boddie	select DRM_DW_HDMI
3371f56b27SPaul Boddie	help
3471f56b27SPaul Boddie	  Choose this option to enable Synopsys DesignWare HDMI based driver.
3571f56b27SPaul Boddie	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
3671f56b27SPaul Boddie	  select this option.
3771f56b27SPaul Boddie
38fc1acf31SPaul Cercueilendif
39