xref: /rk3399_rockchip-uboot/drivers/video/drm/Kconfig (revision 514e00a960f8a815e0c86931b498063c6fc4ef76)
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_DW_HDMI_QP
37	bool "Rockchip specific extensions for Synopsys DW HDMI QP"
38	depends on DRM_ROCKCHIP
39	help
40	 This selects support for Rockchip SoC specific extensions
41	 for the Synopsys DesignWare HDMI QP driver. If you want to
42	 enable HDMI on, you should select this option.
43
44config DRM_ROCKCHIP_INNO_HDMI
45	bool "Rockchip specific extensions for INNO HDMI"
46	depends on DRM_ROCKCHIP
47	help
48	 This selects support for Rockchip SoC specific extensions
49	 for the Synopsys DesignWare HDMI driver. If you want to
50	 enable HDMI on, you should selet this option.
51
52config ROCKCHIP_INNO_HDMI_PHY
53	bool "Rockchip specific extensions for INNO HDMI PHY"
54	depends on DRM_ROCKCHIP
55	help
56	 This selects support for INNO HDMI PHY. If you want to
57	 use HDMI or TVE in RK322XH or RK322X, you should selet
58	 this option.
59
60config DRM_ROCKCHIP_INNO_MIPI_PHY
61	tristate "Rockchip INNO MIPI PHY driver"
62	depends on DRM_ROCKCHIP
63	help
64	  Enable this to support the Rockchip MIPI PHY
65	  with Innosilicon IP block.
66
67config DRM_ROCKCHIP_INNO_VIDEO_PHY
68	tristate "Rockchip INNO LVDS/TTL PHY driver"
69	depends on DRM_ROCKCHIP
70	help
71	  Enable this to support the Rockchip LVDS/TTL PHY
72	  with Innosilicon IP block.
73
74config DRM_ROCKCHIP_INNO_VIDEO_COMBO_PHY
75	tristate "Rockchip INNO MIPI/LVDS/TTL PHY driver"
76	depends on DRM_ROCKCHIP
77	help
78	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY
79	  with Innosilicon IP block.
80
81config DRM_MIPI_DSI
82	bool
83	depends on DRM_ROCKCHIP
84
85config DRM_DSC
86	bool
87	depends on DRM_ROCKCHIP
88
89config DRM_ROCKCHIP_DW_MIPI_DSI
90	tristate "Rockchip specific extensions for Synopsys DW MIPI DSI"
91	depends on DRM_ROCKCHIP
92	select DRM_MIPI_DSI
93	select DRM_ROCKCHIP_PANEL
94	help
95	 This selects support for Rockchip SoC specific extensions
96	 for the Synopsys DesignWare HDMI driver. If you want to
97	 enable MIPI DSI on RK3288 based SoC, you should selet this
98	 option.
99
100config DRM_ROCKCHIP_DW_MIPI_DSI2
101	tristate "Rockchip specific extensions for Synopsys DW MIPI DSI2"
102	depends on DRM_ROCKCHIP
103	select DRM_MIPI_DSI
104	select DRM_DSC
105	select DRM_ROCKCHIP_PANEL
106	help
107	 This selects support for Rockchip SoC specific extensions
108	 for the Synopsys DesignWare MIPI DSI2 driver. If you want to
109	 enable MIPI DSI2 on RK3588 based SoC, you should selet this
110	 option.
111
112config DRM_ROCKCHIP_DW_DP
113	bool "Rockchip specific extensions for Synopsys DW DP driver"
114	depends on DRM_ROCKCHIP
115	select DRM_DP_HELPER
116	help
117	  This selects support for Rockchip SoC specific extensions
118	  for the Synopsys DW DP driver. If you want to enable DP
119	  on RK3588 based SoC, you should select this option.
120
121config DRM_ROCKCHIP_ANALOGIX_DP
122	bool "Rockchip specific extensions for Analogix DP driver"
123	depends on DRM_ROCKCHIP
124	select DRM_ROCKCHIP_PANEL
125	select DRM_DP_HELPER
126	help
127	  This selects support for Rockchip SoC specific extensions
128	  for the Analogix Core DP driver. If you want to enable DP
129	  on RK3288 based SoC, you should selet this option.
130
131config DRM_ROCKCHIP_LVDS
132	bool "Rockchip LVDS Support"
133	depends on DRM_ROCKCHIP
134	select DRM_ROCKCHIP_PANEL
135	help
136	  Choose this option to enable support for Rockchip LVDS controllers.
137	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
138	  support LVDS, rgb, dual LVDS output mode. say Y to enable its
139	  driver.
140
141config DRM_ROCKCHIP_RGB
142	bool "Rockchip RGB Support"
143	depends on DRM_ROCKCHIP
144	select DRM_ROCKCHIP_PANEL
145	help
146	  Choose this option to enable support for Rockchip RGB driver.
147	  say Y to enable its driver.
148
149config DRM_ROCKCHIP_RK618
150	bool "Rockchip RK618 display bridge driver"
151	depends on DRM_ROCKCHIP
152	select DRM_ROCKCHIP_PANEL
153	select VIDEO_BRIDGE
154	help
155	  Choose this option to enable support for Rockchip RK618 display
156	  bridge chips driver. say Y to enable its driver.
157
158config DRM_ROCKCHIP_RK1000
159	bool "Rockchip RK1000 display bridge driver"
160	depends on DRM_ROCKCHIP
161	select DRM_ROCKCHIP_PANEL
162	select VIDEO_BRIDGE
163	help
164	  Choose this option to enable support for Rockchip RK1000 display
165	  bridge chips driver. say Y to enable its driver.
166
167config DRM_ROCKCHIP_SAMSUNG_MIPI_DCPHY
168	tristate "Rockchip SAMSUNG MIPI DCPHY driver"
169	depends on DRM_ROCKCHIP
170	help
171	  Enable this to support the Rockchip MIPI DCPHY
172	  with SAMSUNG IP block.
173
174config PHY_ROCKCHIP_SAMSUNG_HDPTX_HDMI
175	bool "Rockchip Samsung HDMI/DP Combo PHY HDMI driver"
176	depends on DRM_ROCKCHIP
177	select LIB_RATIONAL
178	help
179	  Support for Rockchip HDMI/DP Combo PHY HDMI with Samsung
180	  IP block.
181
182config ROCKCHIP_DRM_TVE
183	bool "Rockchip TVE Support"
184	depends on DRM_ROCKCHIP
185	help
186	  Choose this option to enable support for Rockchip TVE.
187	  Rockchip rk322x and rk322xh SoC has TVE can be used, and
188	  say Y to enable TVE driver.
189
190config ROCKCHIP_CUBIC_LUT_SIZE
191	int "Rockchip cubic lut size"
192	depends on DRM_ROCKCHIP
193	default 0
194	help
195	  Used to calc cubic lut size.
196