xref: /rk3399_rockchip-uboot/drivers/video/drm/Kconfig (revision 6b6b8331fb2f1eaf3dbddf9b0a8a4c0b407aeca3)
1menuconfig DRM_ROCKCHIP
2	bool "Rockchip DRM Support"
3	depends on DM_VIDEO && OF_LIVE
4	select VIDEO_BRIDGE
5	select PHY
6	help
7	  Rockchip SoCs provide video output capabilities for High-Definition
8	  Multimedia Interface (HDMI), Low-voltage Differential Signalling
9	  (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI).
10
11	  This driver supports the on-chip video output device, and targets the
12	  Rockchip RK3288 and RK3399.
13
14config DRM_MEM_RESERVED_SIZE_MBYTES
15	int "Size in Mega Bytes"
16	depends on DRM_ROCKCHIP
17	default 32
18
19config DRM_DP_HELPER
20	bool
21	depends on DRM_ROCKCHIP
22
23config DRM_ROCKCHIP_PANEL
24	bool "Rockchip Panel Support"
25	depends on DRM_ROCKCHIP
26	select DRM_MIPI_DSI
27
28config DRM_ROCKCHIP_DW_HDMI
29	bool "Rockchip specific extensions for Synopsys DW HDMI"
30	depends on DRM_ROCKCHIP
31	help
32	 This selects support for Rockchip SoC specific extensions
33	 for the Synopsys DesignWare HDMI driver. If you want to
34	 enable HDMI on, you should selet this option.
35
36config DRM_ROCKCHIP_INNO_HDMI
37	bool "Rockchip specific extensions for INNO HDMI"
38	depends on DRM_ROCKCHIP
39	help
40	 This selects support for Rockchip SoC specific extensions
41	 for the Synopsys DesignWare HDMI driver. If you want to
42	 enable HDMI on, you should selet this option.
43
44config ROCKCHIP_INNO_HDMI_PHY
45	bool "Rockchip specific extensions for INNO HDMI PHY"
46	depends on DRM_ROCKCHIP
47	help
48	 This selects support for INNO HDMI PHY. If you want to
49	 use HDMI or TVE in RK322XH or RK322X, you should selet
50	 this option.
51
52config DRM_ROCKCHIP_INNO_MIPI_PHY
53	tristate "Rockchip INNO MIPI PHY driver"
54	depends on DRM_ROCKCHIP
55	help
56	  Enable this to support the Rockchip MIPI PHY
57	  with Innosilicon IP block.
58
59config DRM_ROCKCHIP_INNO_VIDEO_PHY
60	tristate "Rockchip INNO LVDS/TTL PHY driver"
61	depends on DRM_ROCKCHIP
62	help
63	  Enable this to support the Rockchip LVDS/TTL PHY
64	  with Innosilicon IP block.
65
66config DRM_ROCKCHIP_INNO_VIDEO_COMBO_PHY
67	tristate "Rockchip INNO MIPI/LVDS/TTL PHY driver"
68	depends on DRM_ROCKCHIP
69	help
70	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY
71	  with Innosilicon IP block.
72
73config DRM_MIPI_DSI
74	bool
75	depends on DRM_ROCKCHIP
76
77config DRM_ROCKCHIP_DW_MIPI_DSI
78	tristate "Rockchip specific extensions for Synopsys DW MIPI DSI"
79	depends on DRM_ROCKCHIP
80	select DRM_MIPI_DSI
81	select DRM_ROCKCHIP_PANEL
82	help
83	 This selects support for Rockchip SoC specific extensions
84	 for the Synopsys DesignWare HDMI driver. If you want to
85	 enable MIPI DSI on RK3288 based SoC, you should selet this
86	 option.
87
88config DRM_ROCKCHIP_ANALOGIX_DP
89	bool "Rockchip specific extensions for Analogix DP driver"
90	depends on DRM_ROCKCHIP
91	select DRM_ROCKCHIP_PANEL
92	select DRM_DP_HELPER
93	help
94	  This selects support for Rockchip SoC specific extensions
95	  for the Analogix Core DP driver. If you want to enable DP
96	  on RK3288 based SoC, you should selet this option.
97
98config DRM_ROCKCHIP_LVDS
99	bool "Rockchip LVDS Support"
100	depends on DRM_ROCKCHIP
101	select DRM_ROCKCHIP_PANEL
102	help
103	  Choose this option to enable support for Rockchip LVDS controllers.
104	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
105	  support LVDS, rgb, dual LVDS output mode. say Y to enable its
106	  driver.
107
108config DRM_ROCKCHIP_RGB
109	bool "Rockchip RGB Support"
110	depends on DRM_ROCKCHIP
111	select DRM_ROCKCHIP_PANEL
112	help
113	  Choose this option to enable support for Rockchip RGB driver.
114	  say Y to enable its driver.
115
116config DRM_ROCKCHIP_RK618
117	bool "Rockchip RK618 display bridge driver"
118	depends on DRM_ROCKCHIP
119	select DRM_ROCKCHIP_PANEL
120	select VIDEO_BRIDGE
121	help
122	  Choose this option to enable support for Rockchip RK618 display
123	  bridge chips driver. say Y to enable its driver.
124
125config DRM_ROCKCHIP_RK1000
126	bool "Rockchip RK1000 display bridge driver"
127	depends on DRM_ROCKCHIP
128	select DRM_ROCKCHIP_PANEL
129	select VIDEO_BRIDGE
130	help
131	  Choose this option to enable support for Rockchip RK1000 display
132	  bridge chips driver. say Y to enable its driver.
133
134config ROCKCHIP_DRM_TVE
135	bool "Rockchip TVE Support"
136	depends on DRM_ROCKCHIP
137	help
138	  Choose this option to enable support for Rockchip TVE.
139	  Rockchip rk322x and rk322xh SoC has TVE can be used, and
140	  say Y to enable TVE driver.
141
142config ROCKCHIP_CUBIC_LUT_SIZE
143	int "Rockchip cubic lut size"
144	depends on DRM_ROCKCHIP
145	default 0
146	help
147	  Used to calc cubic lut size.
148