xref: /linux/drivers/gpu/drm/sun4i/Kconfig (revision 9ffef62f226ceefe8a8415462a797ae688a6251e)
19026e0d1SMaxime Ripardconfig DRM_SUN4I
29026e0d1SMaxime Ripard	tristate "DRM Support for Allwinner A10 Display Engine"
3*9ffef62fSJernej Skrabec	depends on DRM && (ARM || ARM64) && COMMON_CLK
49026e0d1SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
59026e0d1SMaxime Ripard	select DRM_GEM_CMA_HELPER
69026e0d1SMaxime Ripard	select DRM_KMS_HELPER
79026e0d1SMaxime Ripard	select DRM_KMS_CMA_HELPER
89026e0d1SMaxime Ripard	select DRM_PANEL
99026e0d1SMaxime Ripard	select REGMAP_MMIO
109026e0d1SMaxime Ripard	select VIDEOMODE_HELPERS
119026e0d1SMaxime Ripard	help
129026e0d1SMaxime Ripard	  Choose this option if you have an Allwinner SoC with a
139026e0d1SMaxime Ripard	  Display Engine. If M is selected the module will be called
149026e0d1SMaxime Ripard	  sun4i-drm.
15a43a42adSIcenowy Zheng
16f4c08112SMaxime Ripardif DRM_SUN4I
17f4c08112SMaxime Ripard
189c568101SMaxime Ripardconfig DRM_SUN4I_HDMI
199c568101SMaxime Ripard       tristate "Allwinner A10 HDMI Controller Support"
209c568101SMaxime Ripard       default DRM_SUN4I
219c568101SMaxime Ripard       help
229c568101SMaxime Ripard	  Choose this option if you have an Allwinner SoC with an HDMI
239c568101SMaxime Ripard	  controller.
249c568101SMaxime Ripard
25998140d2SHans Verkuilconfig DRM_SUN4I_HDMI_CEC
26998140d2SHans Verkuil       bool "Allwinner A10 HDMI CEC Support"
27998140d2SHans Verkuil       depends on DRM_SUN4I_HDMI
28998140d2SHans Verkuil       select CEC_CORE
294ba72fc0SHans Verkuil       select CEC_PIN
30998140d2SHans Verkuil       help
31998140d2SHans Verkuil	  Choose this option if you have an Allwinner SoC with an HDMI
32998140d2SHans Verkuil	  controller and want to use CEC.
33998140d2SHans Verkuil
34a43a42adSIcenowy Zhengconfig DRM_SUN4I_BACKEND
35a43a42adSIcenowy Zheng	tristate "Support for Allwinner A10 Display Engine Backend"
36a43a42adSIcenowy Zheng	default DRM_SUN4I
37a43a42adSIcenowy Zheng	help
38a43a42adSIcenowy Zheng	  Choose this option if you have an Allwinner SoC with the
39a43a42adSIcenowy Zheng	  original Allwinner Display Engine, which has a backend to
40a43a42adSIcenowy Zheng	  do some alpha blending and feed graphics to TCON. If M is
41a43a42adSIcenowy Zheng	  selected the module will be called sun4i-backend.
429d75b8c0SIcenowy Zheng
43b7c7436aSJernej Skrabecconfig DRM_SUN8I_DW_HDMI
44b7c7436aSJernej Skrabec	tristate "Support for Allwinner version of DesignWare HDMI"
45b7c7436aSJernej Skrabec	depends on DRM_SUN4I
46b7c7436aSJernej Skrabec	select DRM_DW_HDMI
47b7c7436aSJernej Skrabec	help
48b7c7436aSJernej Skrabec	  Choose this option if you have an Allwinner SoC with the
49b7c7436aSJernej Skrabec	  DesignWare HDMI controller with custom HDMI PHY. If M is
50b7c7436aSJernej Skrabec	  selected the module will be called sun8i_dw_hdmi.
51b7c7436aSJernej Skrabec
529d75b8c0SIcenowy Zhengconfig DRM_SUN8I_MIXER
539d75b8c0SIcenowy Zheng	tristate "Support for Allwinner Display Engine 2.0 Mixer"
549d75b8c0SIcenowy Zheng	default MACH_SUN8I
559d75b8c0SIcenowy Zheng	help
569d75b8c0SIcenowy Zheng	  Choose this option if you have an Allwinner SoC with the
579d75b8c0SIcenowy Zheng	  Allwinner Display Engine 2.0, which has a mixer to do some
589d75b8c0SIcenowy Zheng	  graphics mixture and feed graphics to TCON, If M is
599d75b8c0SIcenowy Zheng	  selected the module will be called sun8i-mixer.
60f4c08112SMaxime Ripard
61f4c08112SMaxime Ripardendif
62