eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 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 | |
| 11 | menuconfig VIDEO_ROCKCHIP |
| 12 | bool "Enable Rockchip Video Support" |
Simon Glass | 52cb504 | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 13 | depends on VIDEO |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 14 | help |
Philipp Tomsich | f1fe216 | 2017-05-31 17:59:28 +0200 | [diff] [blame] | 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). |
| 18 | |
| 19 | This driver supports the on-chip video output device, and targets the |
| 20 | Rockchip RK3288 and RK3399. |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 21 | |
Philipp Tomsich | d3a5826 | 2017-05-31 17:59:29 +0200 | [diff] [blame] | 22 | config VIDEO_ROCKCHIP_MAX_XRES |
| 23 | int "Maximum horizontal resolution (for memory allocation purposes)" |
| 24 | depends on VIDEO_ROCKCHIP |
Jagan Teki | 0955827 | 2020-10-24 01:27:24 +0530 | [diff] [blame] | 25 | default 3840 if DISPLAY_ROCKCHIP_HDMI |
Philipp Tomsich | d3a5826 | 2017-05-31 17:59:29 +0200 | [diff] [blame] | 26 | default 1920 |
| 27 | help |
| 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. |
| 31 | |
| 32 | config VIDEO_ROCKCHIP_MAX_YRES |
| 33 | int "Maximum vertical resolution (for memory allocation purposes)" |
| 34 | depends on VIDEO_ROCKCHIP |
Jagan Teki | 0955827 | 2020-10-24 01:27:24 +0530 | [diff] [blame] | 35 | default 2160 if DISPLAY_ROCKCHIP_HDMI |
Philipp Tomsich | d3a5826 | 2017-05-31 17:59:29 +0200 | [diff] [blame] | 36 | default 1080 |
| 37 | help |
| 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. |
| 41 | |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 42 | if VIDEO_ROCKCHIP |
| 43 | |
| 44 | config DISPLAY_ROCKCHIP_EDP |
| 45 | bool "EDP Port" |
| 46 | depends on VIDEO_ROCKCHIP |
| 47 | help |
| 48 | This enables Embedded DisplayPort(EDP) display support. |
| 49 | |
| 50 | config DISPLAY_ROCKCHIP_LVDS |
| 51 | bool "LVDS Port" |
| 52 | depends on VIDEO_ROCKCHIP |
| 53 | help |
| 54 | This enables Low-voltage Differential Signaling(LVDS) display |
| 55 | support. |
| 56 | |
| 57 | config DISPLAY_ROCKCHIP_HDMI |
| 58 | bool "HDMI port" |
Philipp Tomsich | 3a53b3e | 2017-05-05 21:48:26 +0200 | [diff] [blame] | 59 | select VIDEO_DW_HDMI |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 60 | depends on VIDEO_ROCKCHIP |
| 61 | help |
| 62 | This enables High-Definition Multimedia Interface display support. |
| 63 | |
Eric Gao | 4789bc1 | 2017-05-02 18:23:50 +0800 | [diff] [blame] | 64 | config DISPLAY_ROCKCHIP_MIPI |
| 65 | bool "MIPI Port" |
| 66 | depends on VIDEO_ROCKCHIP |
| 67 | help |
| 68 | This enables Mobile Industry Processor Interface(MIPI) display |
| 69 | support. The mipi controller and dphy on rk3288& rk3399 support |
Chris Packham | ae8ff67 | 2019-01-13 22:13:27 +1300 | [diff] [blame] | 70 | 16,18, 24 bits per pixel with up to 2k resolution ratio. |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 71 | |
Chris Morgan | 8895dd3 | 2023-03-24 13:53:07 -0500 | [diff] [blame] | 72 | config DISPLAY_ROCKCHIP_DW_MIPI |
| 73 | bool "Rockchip Designware MIPI" |
| 74 | depends on VIDEO_ROCKCHIP |
| 75 | select VIDEO_DW_MIPI_DSI |
| 76 | help |
| 77 | Select the Designware MIPI DSI controller in use on some Rockchip |
| 78 | SOCs. |
| 79 | |
Eric Gao | 4789bc1 | 2017-05-02 18:23:50 +0800 | [diff] [blame] | 80 | endif |