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