Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_DRM_ROCKCHIP
	tristate "DRM Support for Rockchip"
	depends on CONFIG_DRM && CONFIG_ROCKCHIP_IOMMU
	select CONFIG_DRM_GEM_CMA_HELPER
	select CONFIG_DRM_KMS_HELPER
	select CONFIG_DRM_PANEL
	select CONFIG_VIDEOMODE_HELPERS
	select CONFIG_DRM_ANALOGIX_DP if CONFIG_ROCKCHIP_ANALOGIX_DP
	select CONFIG_DRM_DW_HDMI if CONFIG_ROCKCHIP_DW_HDMI
	select CONFIG_DRM_DW_MIPI_DSI if CONFIG_ROCKCHIP_DW_MIPI_DSI
	select DRM_RGB if CONFIG_ROCKCHIP_RGB
	select CONFIG_SND_SOC_HDMI_CODEC if CONFIG_ROCKCHIP_CDN_DP && CONFIG_SND_SOC
	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.

if CONFIG_DRM_ROCKCHIP

config CONFIG_ROCKCHIP_ANALOGIX_DP
	bool "Rockchip specific extensions for Analogix DP driver"
	help
	  This selects support for Rockchip SoC specific extensions
	  for the Analogix Core DP driver. If you want to enable DP
	  on RK3288 or RK3399 based SoC, you should select this option.

config CONFIG_ROCKCHIP_CDN_DP
        bool "Rockchip cdn DP"
	depends on CONFIG_EXTCON=y || (CONFIG_EXTCON=m && CONFIG_DRM_ROCKCHIP=m)
        help
	  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.

config CONFIG_ROCKCHIP_DW_HDMI
        bool "Rockchip specific extensions for Synopsys DW HDMI"
        help
	  This selects support for Rockchip SoC specific extensions
	  for the Synopsys DesignWare CONFIG_HDMI driver. If you want to
	  enable CONFIG_HDMI on RK3288 or RK3399 based SoC, you should select
	  this option.

config CONFIG_ROCKCHIP_DW_MIPI_DSI
	bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
	help
	  This selects support for Rockchip SoC specific extensions
	  for the Synopsys DesignWare CONFIG_HDMI driver. If you want to
	  enable MIPI DSI on RK3288 or RK3399 based SoC, you should
	  select this option.

config CONFIG_ROCKCHIP_INNO_HDMI
	bool "Rockchip specific extensions for Innosilicon HDMI"
	help
	  This selects support for Rockchip SoC specific extensions
	  for the Innosilicon CONFIG_HDMI driver. If you want to enable
	  CONFIG_HDMI on RK3036 based SoC, you should select this option.

config CONFIG_ROCKCHIP_LVDS
	bool "Rockchip LVDS support"
	depends on CONFIG_DRM_ROCKCHIP
	depends on CONFIG_PINCTRL && CONFIG_OF
	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.

config CONFIG_ROCKCHIP_RGB
	bool "Rockchip RGB support"
	depends on CONFIG_DRM_ROCKCHIP
	depends on CONFIG_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.

config CONFIG_ROCKCHIP_RK3066_HDMI
	bool "Rockchip specific extensions for RK3066 HDMI"
	depends on CONFIG_DRM_ROCKCHIP
	help
	  This selects support for Rockchip SoC specific extensions
	  for the RK3066 CONFIG_HDMI driver. If you want to enable
	  CONFIG_HDMI on RK3066 based SoC, you should select this option.
endif