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