1# SPDX-License-Identifier: GPL-2.0-only 2config DRM_SUN4I 3 tristate "DRM Support for Allwinner A10 Display Engine" 4 depends on DRM && COMMON_CLK 5 depends on ARCH_SUNXI || COMPILE_TEST 6 select DRM_GEM_DMA_HELPER 7 select DRM_KMS_HELPER 8 select DRM_PANEL 9 select REGMAP_MMIO 10 select VIDEOMODE_HELPERS 11 help 12 Choose this option if you have an Allwinner SoC with a 13 Display Engine. If M is selected the module will be called 14 sun4i-drm. 15 16if DRM_SUN4I 17 18config DRM_SUN4I_HDMI 19 tristate "Allwinner A10/A10s/A20/A31 HDMI Controller Support" 20 depends on ARM || COMPILE_TEST 21 default DRM_SUN4I 22 help 23 Choose this option if you have an Allwinner A10/A10s/A20/A31 24 SoC with an HDMI controller. 25 26config DRM_SUN4I_HDMI_CEC 27 bool "Allwinner A10/A10s/A20/A31 HDMI CEC Support" 28 depends on DRM_SUN4I_HDMI 29 select CEC_CORE 30 select CEC_PIN 31 help 32 Choose this option if you have an Allwinner A10/A10s/A20/A31 33 SoC with an HDMI controller and want to use CEC. 34 35config DRM_SUN4I_BACKEND 36 tristate "Support for Allwinner A10 Display Engine Backend" 37 depends on ARM || COMPILE_TEST 38 default DRM_SUN4I 39 help 40 Choose this option if you have an Allwinner SoC with the 41 original Allwinner Display Engine, which has a backend to 42 do some alpha blending and feed graphics to TCON. If M is 43 selected the module will be called sun4i-backend. 44 45config DRM_SUN6I_DSI 46 tristate "Allwinner A31/A64 MIPI-DSI Controller Support" 47 default DRM_SUN4I 48 select CRC_CCITT 49 select DRM_MIPI_DSI 50 select RESET_CONTROLLER 51 select PHY_SUN6I_MIPI_DPHY 52 help 53 Choose this option if you want have an Allwinner SoC with 54 MIPI-DSI support. If M is selected the module will be called 55 sun6i_mipi_dsi. 56 57config DRM_SUN8I_DW_HDMI 58 tristate "Support for Allwinner version of DesignWare HDMI" 59 depends on DRM_SUN4I 60 default DRM_SUN4I 61 select DRM_DW_HDMI 62 help 63 Choose this option if you have an Allwinner SoC with the 64 DesignWare HDMI controller. SoCs that support HDMI and 65 have a Display Engine 2.0 contain this controller. If M is 66 selected the module will be called sun8i_dw_hdmi. 67 68config DRM_SUN8I_MIXER 69 tristate "Support for Allwinner Display Engine 2.0 Mixer" 70 default DRM_SUN4I 71 help 72 Choose this option if you have an Allwinner SoC with the 73 Allwinner Display Engine 2.0, which has a mixer to do some 74 graphics mixture and feed graphics to TCON, If M is 75 selected the module will be called sun8i-mixer. 76 77config DRM_SUN8I_TCON_TOP 78 tristate 79 default DRM_SUN4I if DRM_SUN8I_MIXER!=n 80 help 81 TCON TOP is responsible for configuring display pipeline for 82 HDMI, TVE and LCD. 83 84endif 85