xref: /rk3399_rockchip-uboot/drivers/video/drm/Kconfig (revision ce2f4ca450d24acfd55dc508ed8ed09de98a44c8)
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_ANALOGIX_DP
108	bool "Rockchip specific extensions for Analogix DP driver"
109	depends on DRM_ROCKCHIP
110	select DRM_ROCKCHIP_PANEL
111	select DRM_DP_HELPER
112	help
113	  This selects support for Rockchip SoC specific extensions
114	  for the Analogix Core DP driver. If you want to enable DP
115	  on RK3288 based SoC, you should selet this option.
116
117config DRM_ROCKCHIP_LVDS
118	bool "Rockchip LVDS Support"
119	depends on DRM_ROCKCHIP
120	select DRM_ROCKCHIP_PANEL
121	help
122	  Choose this option to enable support for Rockchip LVDS controllers.
123	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
124	  support LVDS, rgb, dual LVDS output mode. say Y to enable its
125	  driver.
126
127config DRM_ROCKCHIP_RGB
128	bool "Rockchip RGB Support"
129	depends on DRM_ROCKCHIP
130	select DRM_ROCKCHIP_PANEL
131	help
132	  Choose this option to enable support for Rockchip RGB driver.
133	  say Y to enable its driver.
134
135config DRM_ROCKCHIP_RK618
136	bool "Rockchip RK618 display bridge driver"
137	depends on DRM_ROCKCHIP
138	select DRM_ROCKCHIP_PANEL
139	select VIDEO_BRIDGE
140	help
141	  Choose this option to enable support for Rockchip RK618 display
142	  bridge chips driver. say Y to enable its driver.
143
144config DRM_ROCKCHIP_RK1000
145	bool "Rockchip RK1000 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 RK1000 display
151	  bridge chips driver. say Y to enable its driver.
152
153config DRM_ROCKCHIP_SAMSUNG_MIPI_DCPHY
154	tristate "Rockchip SAMSUNG MIPI DCPHY driver"
155	depends on DRM_ROCKCHIP
156	help
157	  Enable this to support the Rockchip MIPI DCPHY
158	  with SAMSUNG IP block.
159
160config PHY_ROCKCHIP_SAMSUNG_HDPTX_HDMI
161	bool "Rockchip Samsung HDMI/DP Combo PHY HDMI driver"
162	depends on DRM_ROCKCHIP
163	help
164	  Support for Rockchip HDMI/DP Combo PHY HDMI with Samsung
165	  IP block.
166
167config ROCKCHIP_DRM_TVE
168	bool "Rockchip TVE Support"
169	depends on DRM_ROCKCHIP
170	help
171	  Choose this option to enable support for Rockchip TVE.
172	  Rockchip rk322x and rk322xh SoC has TVE can be used, and
173	  say Y to enable TVE driver.
174
175config ROCKCHIP_CUBIC_LUT_SIZE
176	int "Rockchip cubic lut size"
177	depends on DRM_ROCKCHIP
178	default 0
179	help
180	  Used to calc cubic lut size.
181