summaryrefslogtreecommitdiff
path: root/drivers/video/starfive/Kconfig
blob: ce6e2cefc1ec575e0ec0f11e29be6cfe011efca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Video drivers selection for rockchip soc. These configs only impact the
# compile process. You can surely check all the options. In this case, all the
# display driver will be compiled, but which drivers finally  will be used is
# decided by device tree configuration. What's more, enable needed power for
# display by configure the device tree, and the vop driver will do the rest.
#
# Author: Eric Gao <eric.gao@rock-chips.com>
#

menuconfig VIDEO_STARFIVE
	bool "Enable STARFIVE Video Support"
	depends on DM_VIDEO
	help
	  STARFIVE SoCs provide video output capabilities for High-Definition
	  Multimedia Interface (HDMI), Low-voltage Differential Signalling
	  (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI).

	  This driver supports the on-chip video output device, and targets the
	  STARFIVE RK3288 and RK3399.

config VIDEO_STARFIVE_MAX_XRES
        int "Maximum horizontal resolution (for memory allocation purposes)"
	depends on VIDEO_STARFIVE
	default 3840 if DISPLAY_STARFIVE_HDMI
	default 1920
	help
	  The maximum horizontal resolution to support for the framebuffer.
	  This configuration is used for reserving/allocating memory for the
	  framebuffer during device-model binding/probing.

config VIDEO_STARFIVE_MAX_YRES
        int "Maximum vertical resolution (for memory allocation purposes)"
	depends on VIDEO_STARFIVE
	default 2160 if DISPLAY_STARFIVE_HDMI
	default 1080
	help
	  The maximum vertical resolution to support for the framebuffer.
	  This configuration is used for reserving/allocating memory for the
	  framebuffer during device-model binding/probing.

if VIDEO_STARFIVE

config DISPLAY_STARFIVE_EDP
	bool "EDP Port"
	depends on VIDEO_STARFIVE
	help
	  This enables Embedded DisplayPort(EDP) display support.

config DISPLAY_STARFIVE_LVDS
	bool "LVDS Port"
	depends on VIDEO_STARFIVE
	help
	  This enables Low-voltage Differential Signaling(LVDS) display
	  support.

config DISPLAY_STARFIVE_HDMI
	bool "HDMI port"
	select VIDEO_DW_HDMI
	depends on VIDEO_STARFIVE
	help
	  This enables High-Definition Multimedia Interface display support.

config DISPLAY_STARFIVE_MIPI
	bool "MIPI Port"
	depends on VIDEO_STARFIVE
	help
	  This enables Mobile Industry Processor Interface(MIPI) display
	  support. The mipi controller and dphy on rk3288& rk3399 support
	  16,18, 24 bits per pixel with up to 2k resolution ratio.

config VIDEO_NW_MIPI_DSI
	bool "DSI host"
	select VIDEO_MIPI_DSI
	help
	  Enables the common driver code for the Northwest
	  MIPI DSI block found in SoCs from various vendors.
	  As this does not provide any functionality by itself (but
	  rather requires a SoC-specific glue driver to call it), it
	  can not be enabled from the configuration menu.
endif