1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_MESON
3	tristate "DRM Support for Amlogic Meson Display Controller"
4	depends on DRM && OF && (ARM || ARM64)
5	depends on ARCH_MESON || COMPILE_TEST
6	select DRM_KMS_HELPER
7	select DRM_DISPLAY_HELPER
8	select DRM_BRIDGE_CONNECTOR
9	select DRM_GEM_DMA_HELPER
10	select DRM_DISPLAY_CONNECTOR
11	select VIDEOMODE_HELPERS
12	select REGMAP_MMIO
13	select MESON_CANVAS
14	select CEC_CORE if CEC_NOTIFIER
15
16config DRM_MESON_DW_HDMI
17	tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
18	depends on DRM_MESON
19	default y if DRM_MESON
20	select DRM_DW_HDMI
21	imply DRM_DW_HDMI_I2S_AUDIO
22
23config DRM_MESON_DW_MIPI_DSI
24	tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
25	depends on DRM_MESON
26	default y if DRM_MESON
27	select DRM_DW_MIPI_DSI
28	select GENERIC_PHY_MIPI_DPHY
29