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