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