linuxOS_D21X/source/uboot-2021.10/drivers/video/artinchip/display/Kconfig
2025-08-14 15:17:16 +08:00

115 lines
2.9 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0+
config VIDEO_ARTINCHIP
bool "Enable ArtInChip Video Support"
depends on DM_VIDEO && ARTINCHIP_GRAPHICS
select LOGO_DECODE_ARTINCHIP
help
ArtInChip video support
config VIDEO_ARTINCHIP_MAX_XRES
int "Maximum horizontal resolution (for memory allocation purposes)"
depends on VIDEO_ARTINCHIP
default 1920
help
The maximum horizontal resolution to support for the framebuffer.
This configuration is used for reserving/allocating memory for the
framebuffer during device-model binding/probing.
config VIDEO_ARTINCHIP_MAX_YRES
int "Maximum vertical resolution (for memory allocation purposes)"
depends on VIDEO_ARTINCHIP
default 1080
help
The maximum vertical resolution to support for the framebuffer.
This configuration is used for reserving/allocating memory for the
framebuffer during device-model binding/probing.
config VIDEO_ARTINCHIP_MAX_BPP
int "Maximum bits per pixel (for memory allocation purposes)"
depends on VIDEO_ARTINCHIP
default 32
help
The maximum bits per pixel to support for the framebuffer.
This configuration is used for reserving/allocating memory for the
framebuffer during device-model binding/probing.
config LOGO_IMAGE_SIZE
int "logo itb image size (size in Kilo Bytes) in nor"
depends on VIDEO_ARTINCHIP
depends on DM_SPI_FLASH
default 512
help
logo.itb image size.
config LOGO_PART_OFFSET
hex "logo partition start offset in nor"
depends on VIDEO_ARTINCHIP
depends on DM_SPI_FLASH
default 0x120000
help
logo partition start offset in nor
config PROGRESS_BAR
bool "Support PROGRESS BAR (upgrading from SD card or UDISK)"
default n
depends on VIDEO_ARTINCHIP
help
Enable a progress bar during the system boot process, available when burning to SD card or upgrading from UDISK.
config JPEG_LOGO_IMAGE
bool "Support JPEG BOOT LOGO"
default n
depends on VIDEO_ARTINCHIP
help
Enable display of a JPEG image as the boot logo.
config AIC_DISP_RGB
bool "ArtInChip display rgb support"
depends on VIDEO_ARTINCHIP
default n
help
ArtInChip display rgb support
config AIC_DISP_LVDS
bool "ArtInChip display lvds support"
depends on VIDEO_ARTINCHIP
default n
help
ArtInChip display lvds support
config AIC_DISP_MIPI_DSI
bool "ArtInChip display mipi-dsi support"
depends on VIDEO_ARTINCHIP
default n
help
ArtInChip display mipi-dsi support
config AIC_DISP_MIPI_DSI_V1_0
bool
default y
depends on AIC_DISP_MIPI_DSI && RISCV
help
Artinchip display mipi-dsi v1.0
config AIC_DISP_MIPI_DBI
bool "ArtInChip display mipi-dbi support"
depends on VIDEO_ARTINCHIP
default n
help
ArtInChip display mipi-dbi support
config AIC_DSI_LEGACY_PACKET_CONFIG
bool "enable MIPI-DSI legacy packet config"
default n
depends on AIC_DISP_MIPI_DSI
help
Choose this option if you have a need for the legacy luban
sdk version support. If in doubt, say "N".
if VIDEO_ARTINCHIP
source "drivers/video/artinchip/display/panel/Kconfig"
endif