| 
									
										
										
										
											2019-05-19 12:07:45 +00:00
										 |  |  | # SPDX-License-Identifier: GPL-2.0-only | 
					
						
							| 
									
										
										
										
											2014-08-22 10:36:26 +00:00
										 |  |  | config DRM_ROCKCHIP | 
					
						
							|  |  |  | 	tristate "DRM Support for Rockchip" | 
					
						
							|  |  |  | 	depends on DRM && ROCKCHIP_IOMMU | 
					
						
							| 
									
										
										
										
											2016-06-16 12:27:57 +00:00
										 |  |  | 	select DRM_GEM_CMA_HELPER | 
					
						
							| 
									
										
										
										
											2014-08-22 10:36:26 +00:00
										 |  |  | 	select DRM_KMS_HELPER | 
					
						
							|  |  |  | 	select DRM_PANEL | 
					
						
							|  |  |  | 	select VIDEOMODE_HELPERS | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | 	select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP | 
					
						
							|  |  |  | 	select DRM_DW_HDMI if ROCKCHIP_DW_HDMI | 
					
						
							| 
									
										
										
										
											2018-10-01 12:38:43 +00:00
										 |  |  | 	select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI | 
					
						
							| 
									
										
										
										
											2018-08-30 21:12:06 +00:00
										 |  |  | 	select DRM_RGB if ROCKCHIP_RGB | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | 	select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC | 
					
						
							| 
									
										
										
										
											2014-08-22 10:36:26 +00:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	  Choose this option if you have a Rockchip soc chipset. | 
					
						
							|  |  |  | 	  This driver provides kernel mode setting and buffer | 
					
						
							|  |  |  | 	  management to userspace. This driver does not provide | 
					
						
							|  |  |  | 	  2D or 3D acceleration; acceleration is performed by other | 
					
						
							|  |  |  | 	  IP found on the SoC. | 
					
						
							| 
									
										
										
										
											2015-01-07 07:48:27 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | if DRM_ROCKCHIP | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-29 01:57:30 +00:00
										 |  |  | config ROCKCHIP_ANALOGIX_DP | 
					
						
							| 
									
										
										
										
											2017-03-22 03:21:20 +00:00
										 |  |  | 	bool "Rockchip specific extensions for Analogix DP driver" | 
					
						
							| 
									
										
										
										
											2016-03-29 01:57:30 +00:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							|  |  |  | 	  for the Analogix Core DP driver. If you want to enable DP | 
					
						
							| 
									
										
										
										
											2018-08-28 07:44:55 +00:00
										 |  |  | 	  on RK3288 or RK3399 based SoC, you should select this option. | 
					
						
							| 
									
										
										
										
											2016-03-29 01:57:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-05 07:54:56 +00:00
										 |  |  | config ROCKCHIP_CDN_DP | 
					
						
							| 
									
										
										
										
											2019-11-20 13:33:48 +00:00
										 |  |  | 	bool "Rockchip cdn DP" | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | 	depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m) | 
					
						
							| 
									
										
										
										
											2019-11-20 13:33:48 +00:00
										 |  |  | 	help | 
					
						
							| 
									
										
										
										
											2017-02-05 07:54:56 +00:00
										 |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							|  |  |  | 	  for the cdn DP driver. If you want to enable Dp on | 
					
						
							|  |  |  | 	  RK3399 based SoC, you should select this | 
					
						
							|  |  |  | 	  option. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-01-07 07:48:27 +00:00
										 |  |  | config ROCKCHIP_DW_HDMI | 
					
						
							| 
									
										
										
										
											2019-11-20 13:33:48 +00:00
										 |  |  | 	bool "Rockchip specific extensions for Synopsys DW HDMI" | 
					
						
							|  |  |  | 	help | 
					
						
							| 
									
										
										
										
											2015-01-07 07:48:27 +00:00
										 |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							|  |  |  | 	  for the Synopsys DesignWare HDMI driver. If you want to | 
					
						
							| 
									
										
										
										
											2018-08-28 07:44:55 +00:00
										 |  |  | 	  enable HDMI on RK3288 or RK3399 based SoC, you should select | 
					
						
							|  |  |  | 	  this option. | 
					
						
							| 
									
										
										
										
											2016-01-06 08:12:54 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | config ROCKCHIP_DW_MIPI_DSI | 
					
						
							| 
									
										
										
										
											2017-03-22 03:21:20 +00:00
										 |  |  | 	bool "Rockchip specific extensions for Synopsys DW MIPI DSI" | 
					
						
							| 
									
										
										
										
											2019-12-09 14:31:25 +00:00
										 |  |  | 	select GENERIC_PHY_MIPI_DPHY | 
					
						
							| 
									
										
										
										
											2016-01-06 08:12:54 +00:00
										 |  |  | 	help | 
					
						
							| 
									
										
										
										
											2018-08-28 07:44:55 +00:00
										 |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							| 
									
										
										
										
											2020-11-16 14:16:08 +00:00
										 |  |  | 	  for the Synopsys DesignWare dsi driver. If you want to | 
					
						
							| 
									
										
										
										
											2018-08-28 07:44:55 +00:00
										 |  |  | 	  enable MIPI DSI on RK3288 or RK3399 based SoC, you should | 
					
						
							|  |  |  | 	  select this option. | 
					
						
							| 
									
										
										
										
											2016-02-03 09:44:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | config ROCKCHIP_INNO_HDMI | 
					
						
							| 
									
										
										
										
											2017-03-22 03:21:20 +00:00
										 |  |  | 	bool "Rockchip specific extensions for Innosilicon HDMI" | 
					
						
							| 
									
										
										
										
											2016-02-03 09:44:57 +00:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							|  |  |  | 	  for the Innosilicon HDMI driver. If you want to enable | 
					
						
							|  |  |  | 	  HDMI on RK3036 based SoC, you should select this option. | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-02 11:28:54 +00:00
										 |  |  | config ROCKCHIP_LVDS | 
					
						
							|  |  |  | 	bool "Rockchip LVDS support" | 
					
						
							|  |  |  | 	depends on DRM_ROCKCHIP | 
					
						
							| 
									
										
										
										
											2017-11-06 13:58:43 +00:00
										 |  |  | 	depends on PINCTRL && OF | 
					
						
							| 
									
										
										
										
											2017-09-02 11:28:54 +00:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	  Choose this option to enable support for Rockchip LVDS controllers. | 
					
						
							|  |  |  | 	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it | 
					
						
							|  |  |  | 	  support LVDS, rgb, dual LVDS output mode. say Y to enable its | 
					
						
							|  |  |  | 	  driver. | 
					
						
							| 
									
										
										
										
											2018-08-30 21:12:06 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | config ROCKCHIP_RGB | 
					
						
							|  |  |  | 	bool "Rockchip RGB support" | 
					
						
							|  |  |  | 	depends on DRM_ROCKCHIP | 
					
						
							|  |  |  | 	depends on PINCTRL | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Choose this option to enable support for Rockchip RGB output. | 
					
						
							|  |  |  | 	  Some Rockchip CRTCs, like rv1108, can directly output parallel | 
					
						
							|  |  |  | 	  and serial RGB format to panel or connect to a conversion chip. | 
					
						
							|  |  |  | 	  say Y to enable its driver. | 
					
						
							| 
									
										
										
										
											2019-03-30 09:56:36 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | config ROCKCHIP_RK3066_HDMI | 
					
						
							|  |  |  | 	bool "Rockchip specific extensions for RK3066 HDMI" | 
					
						
							|  |  |  | 	depends on DRM_ROCKCHIP | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This selects support for Rockchip SoC specific extensions | 
					
						
							|  |  |  | 	  for the RK3066 HDMI driver. If you want to enable | 
					
						
							|  |  |  | 	  HDMI on RK3066 based SoC, you should select this option. | 
					
						
							| 
									
										
										
										
											2017-07-21 21:12:06 +00:00
										 |  |  | endif |