1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# Video drivers selection for rockchip soc. These configs only impact the 3*4882a593Smuzhiyun# compile process. You can surely check all the options. In this case, all the 4*4882a593Smuzhiyun# display driver will be compiled, but which drivers finally will be used is 5*4882a593Smuzhiyun# decided by device tree configuration. What's more, enable needed power for 6*4882a593Smuzhiyun# display by configure the device tree, and the vop driver will do the rest. 7*4882a593Smuzhiyun# 8*4882a593Smuzhiyun# Author: Eric Gao <eric.gao@rock-chips.com> 9*4882a593Smuzhiyun# 10*4882a593Smuzhiyun 11*4882a593Smuzhiyunmenuconfig VIDEO_ROCKCHIP 12*4882a593Smuzhiyun bool "Enable Rockchip Video Support" 13*4882a593Smuzhiyun depends on DM_VIDEO 14*4882a593Smuzhiyun help 15*4882a593Smuzhiyun Rockchip SoCs provide video output capabilities for High-Definition 16*4882a593Smuzhiyun Multimedia Interface (HDMI), Low-voltage Differential Signalling 17*4882a593Smuzhiyun (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI). 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun This driver supports the on-chip video output device, and targets the 20*4882a593Smuzhiyun Rockchip RK3288 and RK3399. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyunconfig VIDEO_ROCKCHIP_MAX_XRES 23*4882a593Smuzhiyun int "Maximum horizontal resolution (for memory allocation purposes)" 24*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 25*4882a593Smuzhiyun default 1920 26*4882a593Smuzhiyun help 27*4882a593Smuzhiyun The maximum horizontal resolution to support for the framebuffer. 28*4882a593Smuzhiyun This configuration is used for reserving/allocating memory for the 29*4882a593Smuzhiyun framebuffer during device-model binding/probing. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunconfig VIDEO_ROCKCHIP_MAX_YRES 32*4882a593Smuzhiyun int "Maximum vertical resolution (for memory allocation purposes)" 33*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 34*4882a593Smuzhiyun default 1080 35*4882a593Smuzhiyun help 36*4882a593Smuzhiyun The maximum vertical resolution to support for the framebuffer. 37*4882a593Smuzhiyun This configuration is used for reserving/allocating memory for the 38*4882a593Smuzhiyun framebuffer during device-model binding/probing. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyunif VIDEO_ROCKCHIP 41*4882a593Smuzhiyun 42*4882a593Smuzhiyunconfig DISPLAY_ROCKCHIP_EDP 43*4882a593Smuzhiyun bool "EDP Port" 44*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 45*4882a593Smuzhiyun help 46*4882a593Smuzhiyun This enables Embedded DisplayPort(EDP) display support. 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunconfig DISPLAY_ROCKCHIP_LVDS 49*4882a593Smuzhiyun bool "LVDS Port" 50*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 51*4882a593Smuzhiyun help 52*4882a593Smuzhiyun This enables Low-voltage Differential Signaling(LVDS) display 53*4882a593Smuzhiyun support. 54*4882a593Smuzhiyun 55*4882a593Smuzhiyunconfig DISPLAY_ROCKCHIP_HDMI 56*4882a593Smuzhiyun bool "HDMI port" 57*4882a593Smuzhiyun select VIDEO_DW_HDMI 58*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 59*4882a593Smuzhiyun help 60*4882a593Smuzhiyun This enables High-Definition Multimedia Interface display support. 61*4882a593Smuzhiyun 62*4882a593Smuzhiyunconfig DISPLAY_ROCKCHIP_MIPI 63*4882a593Smuzhiyun bool "MIPI Port" 64*4882a593Smuzhiyun depends on VIDEO_ROCKCHIP 65*4882a593Smuzhiyun help 66*4882a593Smuzhiyun This enables Mobile Industry Processor Interface(MIPI) display 67*4882a593Smuzhiyun support. The mipi controller and dphy on rk3288& rk3399 support 68*4882a593Smuzhiyun 16,18, 24 bits per pixel with upto 2k resolution ratio. 69*4882a593Smuzhiyun 70*4882a593Smuzhiyunendif 71