2022-12-03 12:07:44 +08:00
|
|
|
#
|
|
|
|
# Video configuration for sunxi platform
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Video support for sunxi"
|
|
|
|
|
|
|
|
config DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "DISP Driver Support(sunxi-disp2)"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Display driver for sunxi based boards.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "DISP2 Framebuffer rotation support"
|
2023-01-09 10:14:23 +08:00
|
|
|
default SUNXI_DISP2_FB_DISABLE_ROTATE
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config SUNXI_DISP2_FB_DISABLE_ROTATE
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Disable rotation"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
---help---
|
|
|
|
Do not use framebuffer rotation
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config SUNXI_DISP2_FB_ROTATION_SUPPORT
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Software rotation support"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
---help---
|
|
|
|
Framebuffer software rotation on the top of disp2.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config SUNXI_DISP2_FB_HW_ROTATION_SUPPORT
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Hardware(G2D) rotation support"
|
|
|
|
depends on (DISP2_SUNXI && SUNXI_G2D)
|
|
|
|
---help---
|
|
|
|
Framebuffer hardware(G2D) rotation on the top of disp2.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config HAL_TEST_DISP
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "DISP2 hal APIs test"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable disp2 hal test command.
|
2022-12-03 12:07:44 +08:00
|
|
|
config FPGA_V7_PLATFORM
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "FPGA"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable fpga
|
2022-12-03 12:07:44 +08:00
|
|
|
config SUNXI_DISP2_FB_DECOMPRESS_LZMA
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Framebuffer show bootlogo from lzma file"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
select DECOMPRESS_LZMA
|
|
|
|
---help---
|
|
|
|
Show bootlogo from lzma file.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config HDMI_DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "HDMI Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Hdmi driver for sunxi based boards.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
menuconfig HDMI2_DISP2_SUNXI
|
|
|
|
tristate "HDMI2.0 Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to have support for HDMI2.0 controller
|
|
|
|
on the sunxi based boards. The HDMI2.0 controller include edid,
|
|
|
|
hdcp1.4,hdcp2.2,cec feature and is compatible with hdmi1.4,support
|
|
|
|
HDR,4k@60Hz. If unsure, say N.
|
|
|
|
|
|
|
|
config HDMI_EP952_DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "HDMI EP952 Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Hdmi ep952 driver for sunxi based boards.
|
2022-12-03 12:07:44 +08:00
|
|
|
menuconfig HDMI2_HDCP_SUNXI
|
|
|
|
tristate "HDMI2.0 HDCP"
|
|
|
|
depends on (HDMI2_DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to handle the cec message by User Space.
|
|
|
|
Say N here if you want to handle the cec message by Kernel.
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDMI2_HDCP22_SUNXI
|
|
|
|
tristate "HDMI2.0 HDCP2.2"
|
|
|
|
depends on (HDMI2_HDCP_SUNXI && HDMI2_DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to handle the cec message by User Space.
|
|
|
|
Say N here if you want to handle the cec message by Kernel.
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
menuconfig HDMI2_CEC_SUNXI
|
|
|
|
tristate "HDMI2.0 CEC"
|
|
|
|
depends on (HDMI2_DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to handle the cec message by User Space.
|
|
|
|
Say N here if you want to handle the cec message by Kernel.
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDMI2_CEC_USER
|
|
|
|
tristate "HDMI2.0 CEC handled by user space"
|
|
|
|
depends on (HDMI2_CEC_SUNXI && HDMI2_DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to handle the cec message by User Space.
|
|
|
|
Say N here if you want to handle the cec message by Kernel.
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config TV_DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "TV Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
TV driver for sunxi based boards.
|
2022-12-03 12:07:44 +08:00
|
|
|
config VDPO_DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "VDPO Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
VDPO driver for sunxi based boards.
|
2022-12-03 12:07:44 +08:00
|
|
|
config DISP2_TV_GM7121
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "GM7121 TV module Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI && TV_DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config EDP_DISP2_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "EDP Driver Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI)
|
|
|
|
default n
|
|
|
|
---help---
|
2022-12-03 12:07:44 +08:00
|
|
|
EDP 1.2 driver for sunxi. Embedded Display Port is
|
|
|
|
a high speed display interface for embedded device.
|
|
|
|
DisplayPort can be used to transmit audio and video
|
|
|
|
simultaneously, but each one is optional and can be
|
|
|
|
transmitted without the other.
|
|
|
|
|
|
|
|
config DISP2_TV_AC200
|
2023-01-09 10:14:23 +08:00
|
|
|
tristate "AC200 TV module Support(sunxi-disp2)"
|
|
|
|
depends on (DISP2_SUNXI && MFD_ACX00)
|
|
|
|
default n
|
|
|
|
---help---
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config EINK_PANEL_USED
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Eink panel used"
|
|
|
|
depends on (DISP2_SUNXI && (ARCH_SUN8IW10 || ARCH_SUN8IW15))
|
|
|
|
default n
|
|
|
|
---help---
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config EINK200_SUNXI
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Eink Driver Version 2.0 Support"
|
|
|
|
depends on (DISP2_SUNXI && ARCH_SUN50IW10)
|
|
|
|
default n
|
|
|
|
---help---
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
config DISP2_SUNXI_BOOT_COLORBAR
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "boot colorbar Support for disp driver(sunxi-disp2)"
|
|
|
|
depends on DISP2_SUNXI
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If true, the framebuffer will be filled by specified data
|
|
|
|
to display vertical colorbar.
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
menu "LCD panels select"
|
2023-01-09 10:14:23 +08:00
|
|
|
depends on DISP2_SUNXI
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/disp/lcd/Kconfig"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
menu "Display engine feature select"
|
2023-01-09 10:14:23 +08:00
|
|
|
depends on DISP2_SUNXI
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/disp/Kconfig"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Soc and board select"
|
2023-01-09 10:14:23 +08:00
|
|
|
depends on DISP2_SUNXI
|
2022-12-03 12:07:44 +08:00
|
|
|
|
|
|
|
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/soc/Kconfig"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|