2 # Video drivers selection for rockchip soc. These configs only impact the
3 # compile process. You can surely check all the options. In this case, all the
4 # display driver will be compiled, but which drivers finally will be used is
5 # decided by device tree configuration. What's more, enable needed power for
6 # display by configure the device tree, and the vop driver will do the rest.
8 # Author: Eric Gao <eric.gao@rock-chips.com>
11 menuconfig VIDEO_ROCKCHIP
12 bool "Enable Rockchip Video Support"
15 Rockchip SoCs provide video output capabilities for High-Definition
16 Multimedia Interface (HDMI), Low-voltage Differential Signalling
17 (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI).
19 This driver supports the on-chip video output device, and targets the
20 Rockchip RK3288 and RK3399.
22 config VIDEO_ROCKCHIP_MAX_XRES
23 int "Maximum horizontal resolution (for memory allocation purposes)"
24 depends on VIDEO_ROCKCHIP
25 default 3480 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
28 The maximum horizontal resolution to support for the framebuffer.
29 This configuration is used for reserving/allocating memory for the
30 framebuffer during device-model binding/probing.
32 config VIDEO_ROCKCHIP_MAX_YRES
33 int "Maximum vertical resolution (for memory allocation purposes)"
34 depends on VIDEO_ROCKCHIP
35 default 2160 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
38 The maximum vertical resolution to support for the framebuffer.
39 This configuration is used for reserving/allocating memory for the
40 framebuffer during device-model binding/probing.
44 config DISPLAY_ROCKCHIP_EDP
46 depends on VIDEO_ROCKCHIP
48 This enables Embedded DisplayPort(EDP) display support.
50 config DISPLAY_ROCKCHIP_LVDS
52 depends on VIDEO_ROCKCHIP
54 This enables Low-voltage Differential Signaling(LVDS) display
57 config DISPLAY_ROCKCHIP_HDMI
60 depends on VIDEO_ROCKCHIP
62 This enables High-Definition Multimedia Interface display support.
64 config DISPLAY_ROCKCHIP_MIPI
66 depends on VIDEO_ROCKCHIP
68 This enables Mobile Industry Processor Interface(MIPI) display
69 support. The mipi controller and dphy on rk3288& rk3399 support
70 16,18, 24 bits per pixel with up to 2k resolution ratio.