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