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