88 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_SUN4I3 tristate "DRM Support for Allwinner A10 Display Engine"4 depends on DRM && COMMON_CLK5 depends on ARCH_SUNXI || COMPILE_TEST6 select DRM_GEM_DMA_HELPER7 select DRM_KMS_HELPER8 select DRM_PANEL9 select REGMAP_MMIO10 select VIDEOMODE_HELPERS11 help12 Choose this option if you have an Allwinner SoC with a13 Display Engine. If M is selected the module will be called14 sun4i-drm.15 16if DRM_SUN4I17 18config DRM_SUN4I_HDMI19 tristate "Allwinner A10/A10s/A20/A31 HDMI Controller Support"20 depends on ARM || COMPILE_TEST21 select DRM_DISPLAY_HDMI_HELPER22 select DRM_DISPLAY_HDMI_STATE_HELPER23 select DRM_DISPLAY_HELPER24 default DRM_SUN4I25 help26 Choose this option if you have an Allwinner A10/A10s/A20/A3127 SoC with an HDMI controller.28 29config DRM_SUN4I_HDMI_CEC30 bool "Allwinner A10/A10s/A20/A31 HDMI CEC Support"31 depends on DRM_SUN4I_HDMI32 select CEC_CORE33 select CEC_PIN34 help35 Choose this option if you have an Allwinner A10/A10s/A20/A3136 SoC with an HDMI controller and want to use CEC.37 38config DRM_SUN4I_BACKEND39 tristate "Support for Allwinner A10 Display Engine Backend"40 depends on ARM || COMPILE_TEST41 default DRM_SUN4I42 help43 Choose this option if you have an Allwinner SoC with the44 original Allwinner Display Engine, which has a backend to45 do some alpha blending and feed graphics to TCON. If M is46 selected the module will be called sun4i-backend.47 48config DRM_SUN6I_DSI49 tristate "Allwinner A31/A64 MIPI-DSI Controller Support"50 default DRM_SUN4I51 select CRC_CCITT52 select DRM_MIPI_DSI53 select RESET_CONTROLLER54 select PHY_SUN6I_MIPI_DPHY55 help56 Choose this option if you want have an Allwinner SoC with57 MIPI-DSI support. If M is selected the module will be called58 sun6i_mipi_dsi.59 60config DRM_SUN8I_DW_HDMI61 tristate "Support for Allwinner version of DesignWare HDMI"62 depends on DRM_SUN4I63 default DRM_SUN4I64 select DRM_DW_HDMI65 help66 Choose this option if you have an Allwinner SoC with the67 DesignWare HDMI controller. SoCs that support HDMI and68 have a Display Engine 2.0 contain this controller. If M is69 selected the module will be called sun8i_dw_hdmi.70 71config DRM_SUN8I_MIXER72 tristate "Support for Allwinner Display Engine 2.0 Mixer"73 default DRM_SUN4I74 help75 Choose this option if you have an Allwinner SoC with the76 Allwinner Display Engine 2.0, which has a mixer to do some77 graphics mixture and feed graphics to TCON, If M is78 selected the module will be called sun8i-mixer.79 80config DRM_SUN8I_TCON_TOP81 tristate82 default DRM_SUN4I if DRM_SUN8I_MIXER!=n83 help84 TCON TOP is responsible for configuring display pipeline for85 HDMI, TVE and LCD.86 87endif88