blob: 10182d0b66c6cf11efbaa507205165586df8db9c [file] [log] [blame]
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +08001#
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 DM_VIDEO
14 help
Philipp Tomsichf1fe2162017-05-31 17:59:28 +020015 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).
18
19 This driver supports the on-chip video output device, and targets the
20 Rockchip RK3288 and RK3399.
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +080021
Philipp Tomsichd3a58262017-05-31 17:59:29 +020022config VIDEO_ROCKCHIP_MAX_XRES
23 int "Maximum horizontal resolution (for memory allocation purposes)"
24 depends on VIDEO_ROCKCHIP
25 default 1920
26 help
27 The maximum horizontal resolution to support for the framebuffer.
28 This configuration is used for reserving/allocating memory for the
29 framebuffer during device-model binding/probing.
30
31config VIDEO_ROCKCHIP_MAX_YRES
32 int "Maximum vertical resolution (for memory allocation purposes)"
33 depends on VIDEO_ROCKCHIP
34 default 1080
35 help
36 The maximum vertical resolution to support for the framebuffer.
37 This configuration is used for reserving/allocating memory for the
38 framebuffer during device-model binding/probing.
39
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +080040if VIDEO_ROCKCHIP
41
42config DISPLAY_ROCKCHIP_EDP
43 bool "EDP Port"
44 depends on VIDEO_ROCKCHIP
45 help
46 This enables Embedded DisplayPort(EDP) display support.
47
48config DISPLAY_ROCKCHIP_LVDS
49 bool "LVDS Port"
50 depends on VIDEO_ROCKCHIP
51 help
52 This enables Low-voltage Differential Signaling(LVDS) display
53 support.
54
55config DISPLAY_ROCKCHIP_HDMI
56 bool "HDMI port"
Philipp Tomsich3a53b3e2017-05-05 21:48:26 +020057 select VIDEO_DW_HDMI
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +080058 depends on VIDEO_ROCKCHIP
59 help
60 This enables High-Definition Multimedia Interface display support.
61
Eric Gao4789bc12017-05-02 18:23:50 +080062config DISPLAY_ROCKCHIP_MIPI
63 bool "MIPI Port"
64 depends on VIDEO_ROCKCHIP
65 help
66 This enables Mobile Industry Processor Interface(MIPI) display
67 support. The mipi controller and dphy on rk3288& rk3399 support
Chris Packhamae8ff672019-01-13 22:13:27 +130068 16,18, 24 bits per pixel with up to 2k resolution ratio.
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +080069
Eric Gao4789bc12017-05-02 18:23:50 +080070endif