]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
9026e0d1 MR |
2 | config DRM_SUN4I |
3 | tristate "DRM Support for Allwinner A10 Display Engine" | |
9ffef62f | 4 | depends on DRM && (ARM || ARM64) && COMMON_CLK |
9026e0d1 MR |
5 | depends on ARCH_SUNXI || COMPILE_TEST |
6 | select DRM_GEM_CMA_HELPER | |
7 | select DRM_KMS_HELPER | |
8 | select DRM_KMS_CMA_HELPER | |
9 | select DRM_PANEL | |
10 | select REGMAP_MMIO | |
11 | select VIDEOMODE_HELPERS | |
12 | help | |
13 | Choose this option if you have an Allwinner SoC with a | |
14 | Display Engine. If M is selected the module will be called | |
15 | sun4i-drm. | |
a43a42ad | 16 | |
f4c08112 MR |
17 | if DRM_SUN4I |
18 | ||
9c568101 | 19 | config DRM_SUN4I_HDMI |
3540af8f KK |
20 | tristate "Allwinner A10 HDMI Controller Support" |
21 | default DRM_SUN4I | |
22 | help | |
9c568101 MR |
23 | Choose this option if you have an Allwinner SoC with an HDMI |
24 | controller. | |
25 | ||
998140d2 | 26 | config DRM_SUN4I_HDMI_CEC |
3540af8f KK |
27 | bool "Allwinner A10 HDMI CEC Support" |
28 | depends on DRM_SUN4I_HDMI | |
29 | select CEC_CORE | |
30 | select CEC_PIN | |
31 | help | |
998140d2 HV |
32 | Choose this option if you have an Allwinner SoC with an HDMI |
33 | controller and want to use CEC. | |
34 | ||
a43a42ad IZ |
35 | config DRM_SUN4I_BACKEND |
36 | tristate "Support for Allwinner A10 Display Engine Backend" | |
a43a42ad IZ |
37 | default DRM_SUN4I |
38 | help | |
39 | Choose this option if you have an Allwinner SoC with the | |
40 | original Allwinner Display Engine, which has a backend to | |
41 | do some alpha blending and feed graphics to TCON. If M is | |
42 | selected the module will be called sun4i-backend. | |
9d75b8c0 | 43 | |
133add5b MR |
44 | config DRM_SUN6I_DSI |
45 | tristate "Allwinner A31 MIPI-DSI Controller Support" | |
46 | default MACH_SUN8I | |
47 | select CRC_CCITT | |
48 | select DRM_MIPI_DSI | |
5d134abf | 49 | select PHY_SUN6I_MIPI_DPHY |
133add5b MR |
50 | help |
51 | Choose this option if you want have an Allwinner SoC with | |
52 | MIPI-DSI support. If M is selected the module will be called | |
bb3b6fcb MR |
53 | sun6i_mipi_dsi. |
54 | ||
b7c7436a JS |
55 | config DRM_SUN8I_DW_HDMI |
56 | tristate "Support for Allwinner version of DesignWare HDMI" | |
57 | depends on DRM_SUN4I | |
58 | select DRM_DW_HDMI | |
59 | help | |
60 | Choose this option if you have an Allwinner SoC with the | |
61 | DesignWare HDMI controller with custom HDMI PHY. If M is | |
62 | selected the module will be called sun8i_dw_hdmi. | |
63 | ||
9d75b8c0 IZ |
64 | config DRM_SUN8I_MIXER |
65 | tristate "Support for Allwinner Display Engine 2.0 Mixer" | |
9d75b8c0 IZ |
66 | default MACH_SUN8I |
67 | help | |
68 | Choose this option if you have an Allwinner SoC with the | |
69 | Allwinner Display Engine 2.0, which has a mixer to do some | |
70 | graphics mixture and feed graphics to TCON, If M is | |
71 | selected the module will be called sun8i-mixer. | |
f4c08112 | 72 | |
58d4d298 AB |
73 | config DRM_SUN8I_TCON_TOP |
74 | tristate | |
75 | default DRM_SUN4I if DRM_SUN8I_MIXER!=n | |
76 | help | |
77 | TCON TOP is responsible for configuring display pipeline for | |
78 | HTMI, TVE and LCD. | |
79 | ||
f4c08112 | 80 | endif |