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