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