162306a36Sopenharmony_ciconfig DRM_INGENIC
262306a36Sopenharmony_ci	tristate "DRM Support for Ingenic SoCs"
362306a36Sopenharmony_ci	depends on MIPS || COMPILE_TEST
462306a36Sopenharmony_ci	depends on DRM
562306a36Sopenharmony_ci	depends on CMA
662306a36Sopenharmony_ci	depends on OF
762306a36Sopenharmony_ci	depends on COMMON_CLK
862306a36Sopenharmony_ci	select DRM_BRIDGE
962306a36Sopenharmony_ci	select DRM_PANEL_BRIDGE
1062306a36Sopenharmony_ci	select DRM_KMS_HELPER
1162306a36Sopenharmony_ci	select DRM_GEM_DMA_HELPER
1262306a36Sopenharmony_ci	select REGMAP
1362306a36Sopenharmony_ci	select REGMAP_MMIO
1462306a36Sopenharmony_ci	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  Choose this option for DRM support for the Ingenic SoCs.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  If M is selected the module will be called ingenic-drm.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciif DRM_INGENIC
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig DRM_INGENIC_IPU
2362306a36Sopenharmony_ci	bool "IPU support for Ingenic SoCs"
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Choose this option to enable support for the IPU found in Ingenic SoCs.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  The Image Processing Unit (IPU) will appear as a second primary plane.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig DRM_INGENIC_DW_HDMI
3062306a36Sopenharmony_ci	tristate "Ingenic specific support for Synopsys DW HDMI"
3162306a36Sopenharmony_ci	depends on MACH_JZ4780
3262306a36Sopenharmony_ci	select DRM_DW_HDMI
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  Choose this option to enable Synopsys DesignWare HDMI based driver.
3562306a36Sopenharmony_ci	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
3662306a36Sopenharmony_ci	  select this option.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciendif
39