GNU Linux-libre 4.19.264-gnu1
[releases.git] / drivers / gpu / drm / sun4i / Kconfig
1 config 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
16 if DRM_SUN4I
17
18 config 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
25 config 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
34 config 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
43 config DRM_SUN6I_DSI
44         tristate "Allwinner A31 MIPI-DSI Controller Support"
45         default MACH_SUN8I
46         select CRC_CCITT
47         select DRM_MIPI_DSI
48         help
49           Choose this option if you want have an Allwinner SoC with
50           MIPI-DSI support. If M is selected the module will be called
51           sun6i-dsi
52
53 config DRM_SUN8I_DW_HDMI
54         tristate "Support for Allwinner version of DesignWare HDMI"
55         depends on DRM_SUN4I
56         select DRM_DW_HDMI
57         help
58           Choose this option if you have an Allwinner SoC with the
59           DesignWare HDMI controller with custom HDMI PHY. If M is
60           selected the module will be called sun8i_dw_hdmi.
61
62 config DRM_SUN8I_MIXER
63         tristate "Support for Allwinner Display Engine 2.0 Mixer"
64         default MACH_SUN8I
65         help
66           Choose this option if you have an Allwinner SoC with the
67           Allwinner Display Engine 2.0, which has a mixer to do some
68           graphics mixture and feed graphics to TCON, If M is
69           selected the module will be called sun8i-mixer.
70
71 config DRM_SUN8I_TCON_TOP
72         tristate
73         default DRM_SUN4I if DRM_SUN8I_MIXER!=n
74         help
75           TCON TOP is responsible for configuring display pipeline for
76           HTMI, TVE and LCD.
77
78 endif