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