2017-04-17 14:24:23 +00:00
|
|
|
#
|
|
|
|
# Video drivers selection for rockchip soc. These configs only impact the
|
|
|
|
# compile process. You can surely check all the options. In this case, all the
|
|
|
|
# display driver will be compiled, but which drivers finally will be used is
|
|
|
|
# decided by device tree configuration. What's more, enable needed power for
|
|
|
|
# display by configure the device tree, and the vop driver will do the rest.
|
|
|
|
#
|
|
|
|
# Author: Eric Gao <eric.gao@rock-chips.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig VIDEO_ROCKCHIP
|
|
|
|
bool "Enable Rockchip Video Support"
|
2022-10-18 13:46:31 +00:00
|
|
|
depends on VIDEO
|
2017-04-17 14:24:23 +00:00
|
|
|
help
|
2017-05-31 15:59:28 +00:00
|
|
|
Rockchip SoCs provide video output capabilities for High-Definition
|
|
|
|
Multimedia Interface (HDMI), Low-voltage Differential Signalling
|
|
|
|
(LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI).
|
|
|
|
|
|
|
|
This driver supports the on-chip video output device, and targets the
|
|
|
|
Rockchip RK3288 and RK3399.
|
2017-04-17 14:24:23 +00:00
|
|
|
|
2017-05-31 15:59:29 +00:00
|
|
|
config VIDEO_ROCKCHIP_MAX_XRES
|
|
|
|
int "Maximum horizontal resolution (for memory allocation purposes)"
|
|
|
|
depends on VIDEO_ROCKCHIP
|
2020-10-23 19:57:24 +00:00
|
|
|
default 3840 if DISPLAY_ROCKCHIP_HDMI
|
2017-05-31 15:59:29 +00:00
|
|
|
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_ROCKCHIP_MAX_YRES
|
|
|
|
int "Maximum vertical resolution (for memory allocation purposes)"
|
|
|
|
depends on VIDEO_ROCKCHIP
|
2020-10-23 19:57:24 +00:00
|
|
|
default 2160 if DISPLAY_ROCKCHIP_HDMI
|
2017-05-31 15:59:29 +00:00
|
|
|
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.
|
|
|
|
|
2017-04-17 14:24:23 +00:00
|
|
|
if VIDEO_ROCKCHIP
|
|
|
|
|
|
|
|
config DISPLAY_ROCKCHIP_EDP
|
|
|
|
bool "EDP Port"
|
|
|
|
depends on VIDEO_ROCKCHIP
|
|
|
|
help
|
|
|
|
This enables Embedded DisplayPort(EDP) display support.
|
|
|
|
|
|
|
|
config DISPLAY_ROCKCHIP_LVDS
|
|
|
|
bool "LVDS Port"
|
|
|
|
depends on VIDEO_ROCKCHIP
|
|
|
|
help
|
|
|
|
This enables Low-voltage Differential Signaling(LVDS) display
|
|
|
|
support.
|
|
|
|
|
|
|
|
config DISPLAY_ROCKCHIP_HDMI
|
|
|
|
bool "HDMI port"
|
2017-05-05 19:48:26 +00:00
|
|
|
select VIDEO_DW_HDMI
|
2017-04-17 14:24:23 +00:00
|
|
|
depends on VIDEO_ROCKCHIP
|
|
|
|
help
|
|
|
|
This enables High-Definition Multimedia Interface display support.
|
|
|
|
|
2017-05-02 10:23:50 +00:00
|
|
|
config DISPLAY_ROCKCHIP_MIPI
|
|
|
|
bool "MIPI Port"
|
|
|
|
depends on VIDEO_ROCKCHIP
|
|
|
|
help
|
|
|
|
This enables Mobile Industry Processor Interface(MIPI) display
|
|
|
|
support. The mipi controller and dphy on rk3288& rk3399 support
|
2019-01-13 09:13:27 +00:00
|
|
|
16,18, 24 bits per pixel with up to 2k resolution ratio.
|
2017-04-17 14:24:23 +00:00
|
|
|
|
2017-05-02 10:23:50 +00:00
|
|
|
endif
|