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