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