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