2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-10-29 09:36:23 +01:00
|
|
|
config DRM_SUN4I
|
|
|
|
tristate "DRM Support for Allwinner A10 Display Engine"
|
2022-04-24 11:26:23 -05:00
|
|
|
depends on DRM && COMMON_CLK
|
2015-10-29 09:36:23 +01:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
2024-09-24 09:12:38 +02:00
|
|
|
select DRM_CLIENT_SELECTION
|
2022-08-02 02:04:03 +02:00
|
|
|
select DRM_GEM_DMA_HELPER
|
2015-10-29 09:36:23 +01:00
|
|
|
select DRM_KMS_HELPER
|
|
|
|
select DRM_PANEL
|
|
|
|
select REGMAP_MMIO
|
|
|
|
select VIDEOMODE_HELPERS
|
|
|
|
help
|
|
|
|
Choose this option if you have an Allwinner SoC with a
|
|
|
|
Display Engine. If M is selected the module will be called
|
|
|
|
sun4i-drm.
|
2017-05-17 22:47:19 +08:00
|
|
|
|
2017-07-13 11:54:00 +02:00
|
|
|
if DRM_SUN4I
|
|
|
|
|
2017-05-27 18:09:35 +02:00
|
|
|
config DRM_SUN4I_HDMI
|
2022-07-02 14:32:50 -05:00
|
|
|
tristate "Allwinner A10/A10s/A20/A31 HDMI Controller Support"
|
|
|
|
depends on ARM || COMPILE_TEST
|
2024-05-27 15:58:18 +02:00
|
|
|
select DRM_DISPLAY_HDMI_HELPER
|
|
|
|
select DRM_DISPLAY_HDMI_STATE_HELPER
|
|
|
|
select DRM_DISPLAY_HELPER
|
2019-11-21 21:29:24 +08:00
|
|
|
default DRM_SUN4I
|
|
|
|
help
|
2022-07-02 14:32:50 -05:00
|
|
|
Choose this option if you have an Allwinner A10/A10s/A20/A31
|
|
|
|
SoC with an HDMI controller.
|
2017-05-27 18:09:35 +02:00
|
|
|
|
2017-07-11 08:30:44 +02:00
|
|
|
config DRM_SUN4I_HDMI_CEC
|
2022-07-02 14:32:50 -05:00
|
|
|
bool "Allwinner A10/A10s/A20/A31 HDMI CEC Support"
|
2019-11-21 21:29:24 +08:00
|
|
|
depends on DRM_SUN4I_HDMI
|
|
|
|
select CEC_CORE
|
|
|
|
select CEC_PIN
|
|
|
|
help
|
2022-07-02 14:32:50 -05:00
|
|
|
Choose this option if you have an Allwinner A10/A10s/A20/A31
|
|
|
|
SoC with an HDMI controller and want to use CEC.
|
2017-07-11 08:30:44 +02:00
|
|
|
|
2017-05-17 22:47:19 +08:00
|
|
|
config DRM_SUN4I_BACKEND
|
|
|
|
tristate "Support for Allwinner A10 Display Engine Backend"
|
2022-07-02 14:32:50 -05:00
|
|
|
depends on ARM || COMPILE_TEST
|
2017-05-17 22:47:19 +08:00
|
|
|
default DRM_SUN4I
|
|
|
|
help
|
|
|
|
Choose this option if you have an Allwinner SoC with the
|
|
|
|
original Allwinner Display Engine, which has a backend to
|
|
|
|
do some alpha blending and feed graphics to TCON. If M is
|
|
|
|
selected the module will be called sun4i-backend.
|
2017-05-17 22:47:20 +08:00
|
|
|
|
2018-04-04 11:57:11 +02:00
|
|
|
config DRM_SUN6I_DSI
|
2022-07-02 14:32:50 -05:00
|
|
|
tristate "Allwinner A31/A64 MIPI-DSI Controller Support"
|
|
|
|
default DRM_SUN4I
|
2018-04-04 11:57:11 +02:00
|
|
|
select CRC_CCITT
|
|
|
|
select DRM_MIPI_DSI
|
2021-11-08 22:23:51 -05:00
|
|
|
select RESET_CONTROLLER
|
2019-01-21 16:45:50 +01:00
|
|
|
select PHY_SUN6I_MIPI_DPHY
|
2018-04-04 11:57:11 +02:00
|
|
|
help
|
|
|
|
Choose this option if you want have an Allwinner SoC with
|
|
|
|
MIPI-DSI support. If M is selected the module will be called
|
2019-01-21 16:45:49 +01:00
|
|
|
sun6i_mipi_dsi.
|
|
|
|
|
2018-02-14 21:09:04 +01:00
|
|
|
config DRM_SUN8I_DW_HDMI
|
|
|
|
tristate "Support for Allwinner version of DesignWare HDMI"
|
|
|
|
depends on DRM_SUN4I
|
2022-07-02 14:32:50 -05:00
|
|
|
default DRM_SUN4I
|
2018-02-14 21:09:04 +01:00
|
|
|
select DRM_DW_HDMI
|
|
|
|
help
|
|
|
|
Choose this option if you have an Allwinner SoC with the
|
2022-07-02 14:32:50 -05:00
|
|
|
DesignWare HDMI controller. SoCs that support HDMI and
|
|
|
|
have a Display Engine 2.0 contain this controller. If M is
|
2018-02-14 21:09:04 +01:00
|
|
|
selected the module will be called sun8i_dw_hdmi.
|
|
|
|
|
2017-05-17 22:47:20 +08:00
|
|
|
config DRM_SUN8I_MIXER
|
|
|
|
tristate "Support for Allwinner Display Engine 2.0 Mixer"
|
2022-07-02 14:32:50 -05:00
|
|
|
default DRM_SUN4I
|
2017-05-17 22:47:20 +08:00
|
|
|
help
|
|
|
|
Choose this option if you have an Allwinner SoC with the
|
|
|
|
Allwinner Display Engine 2.0, which has a mixer to do some
|
|
|
|
graphics mixture and feed graphics to TCON, If M is
|
|
|
|
selected the module will be called sun8i-mixer.
|
2017-07-13 11:54:00 +02:00
|
|
|
|
2018-07-11 16:43:10 +02:00
|
|
|
config DRM_SUN8I_TCON_TOP
|
|
|
|
tristate
|
|
|
|
default DRM_SUN4I if DRM_SUN8I_MIXER!=n
|
|
|
|
help
|
|
|
|
TCON TOP is responsible for configuring display pipeline for
|
2022-07-02 14:32:50 -05:00
|
|
|
HDMI, TVE and LCD.
|
2018-07-11 16:43:10 +02:00
|
|
|
|
2017-07-13 11:54:00 +02:00
|
|
|
endif
|