0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config DRM_SUN4I
0003 tristate "DRM Support for Allwinner A10 Display Engine"
0004 depends on DRM && COMMON_CLK
0005 depends on ARCH_SUNXI || COMPILE_TEST
0006 select DRM_GEM_CMA_HELPER
0007 select DRM_KMS_HELPER
0008 select DRM_PANEL
0009 select REGMAP_MMIO
0010 select VIDEOMODE_HELPERS
0011 help
0012 Choose this option if you have an Allwinner SoC with a
0013 Display Engine. If M is selected the module will be called
0014 sun4i-drm.
0015
0016 if DRM_SUN4I
0017
0018 config DRM_SUN4I_HDMI
0019 tristate "Allwinner A10 HDMI Controller Support"
0020 default DRM_SUN4I
0021 help
0022 Choose this option if you have an Allwinner SoC with an HDMI
0023 controller.
0024
0025 config DRM_SUN4I_HDMI_CEC
0026 bool "Allwinner A10 HDMI CEC Support"
0027 depends on DRM_SUN4I_HDMI
0028 select CEC_CORE
0029 select CEC_PIN
0030 help
0031 Choose this option if you have an Allwinner SoC with an HDMI
0032 controller and want to use CEC.
0033
0034 config DRM_SUN4I_BACKEND
0035 tristate "Support for Allwinner A10 Display Engine Backend"
0036 default DRM_SUN4I
0037 help
0038 Choose this option if you have an Allwinner SoC with the
0039 original Allwinner Display Engine, which has a backend to
0040 do some alpha blending and feed graphics to TCON. If M is
0041 selected the module will be called sun4i-backend.
0042
0043 config DRM_SUN6I_DSI
0044 tristate "Allwinner A31 MIPI-DSI Controller Support"
0045 default MACH_SUN8I
0046 select CRC_CCITT
0047 select DRM_MIPI_DSI
0048 select RESET_CONTROLLER
0049 select PHY_SUN6I_MIPI_DPHY
0050 help
0051 Choose this option if you want have an Allwinner SoC with
0052 MIPI-DSI support. If M is selected the module will be called
0053 sun6i_mipi_dsi.
0054
0055 config DRM_SUN8I_DW_HDMI
0056 tristate "Support for Allwinner version of DesignWare HDMI"
0057 depends on DRM_SUN4I
0058 select DRM_DW_HDMI
0059 help
0060 Choose this option if you have an Allwinner SoC with the
0061 DesignWare HDMI controller with custom HDMI PHY. If M is
0062 selected the module will be called sun8i_dw_hdmi.
0063
0064 config DRM_SUN8I_MIXER
0065 tristate "Support for Allwinner Display Engine 2.0 Mixer"
0066 default MACH_SUN8I
0067 help
0068 Choose this option if you have an Allwinner SoC with the
0069 Allwinner Display Engine 2.0, which has a mixer to do some
0070 graphics mixture and feed graphics to TCON, If M is
0071 selected the module will be called sun8i-mixer.
0072
0073 config DRM_SUN8I_TCON_TOP
0074 tristate
0075 default DRM_SUN4I if DRM_SUN8I_MIXER!=n
0076 help
0077 TCON TOP is responsible for configuring display pipeline for
0078 HTMI, TVE and LCD.
0079
0080 endif