1# 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. 7# 8# Author: Eric Gao <eric.gao@rock-chips.com> 9# 10 11menuconfig VIDEO_ROCKCHIP 12 bool "Enable Rockchip Video Support" 13 depends on VIDEO 14 imply VIDEO_DAMAGE 15 help 16 Rockchip SoCs provide video output capabilities for High-Definition 17 Multimedia Interface (HDMI), Low-voltage Differential Signalling 18 (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI). 19 20 This driver supports the on-chip video output device, and targets the 21 Rockchip RK3288 and RK3399. 22 23config VIDEO_ROCKCHIP_MAX_XRES 24 int "Maximum horizontal resolution (for memory allocation purposes)" 25 depends on VIDEO_ROCKCHIP 26 default 3840 if DISPLAY_ROCKCHIP_HDMI 27 default 1920 28 help 29 The maximum horizontal resolution to support for the framebuffer. 30 This configuration is used for reserving/allocating memory for the 31 framebuffer during device-model binding/probing. 32 33config VIDEO_ROCKCHIP_MAX_YRES 34 int "Maximum vertical resolution (for memory allocation purposes)" 35 depends on VIDEO_ROCKCHIP 36 default 2160 if DISPLAY_ROCKCHIP_HDMI 37 default 1080 38 help 39 The maximum vertical resolution to support for the framebuffer. 40 This configuration is used for reserving/allocating memory for the 41 framebuffer during device-model binding/probing. 42 43if VIDEO_ROCKCHIP 44 45config DISPLAY_ROCKCHIP_EDP 46 bool "EDP Port" 47 depends on VIDEO_ROCKCHIP 48 help 49 This enables Embedded DisplayPort(EDP) display support. 50 51config DISPLAY_ROCKCHIP_LVDS 52 bool "LVDS Port" 53 depends on VIDEO_ROCKCHIP 54 help 55 This enables Low-voltage Differential Signaling(LVDS) display 56 support. 57 58config DISPLAY_ROCKCHIP_HDMI 59 bool "HDMI port" 60 select VIDEO_DW_HDMI 61 depends on VIDEO_ROCKCHIP 62 help 63 This enables High-Definition Multimedia Interface display support. 64 65config DISPLAY_ROCKCHIP_MIPI 66 bool "MIPI Port" 67 depends on VIDEO_ROCKCHIP 68 help 69 This enables Mobile Industry Processor Interface(MIPI) display 70 support. The mipi controller and dphy on rk3288& rk3399 support 71 16,18, 24 bits per pixel with up to 2k resolution ratio. 72 73config DISPLAY_ROCKCHIP_DW_MIPI 74 bool "Rockchip Designware MIPI" 75 depends on VIDEO_ROCKCHIP 76 select VIDEO_DW_MIPI_DSI 77 help 78 Select the Designware MIPI DSI controller in use on some Rockchip 79 SOCs. 80 81endif 82