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