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