18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig DRM_ROCKCHIP 38c2ecf20Sopenharmony_ci tristate "DRM Support for Rockchip" 48c2ecf20Sopenharmony_ci depends on DRM && ROCKCHIP_IOMMU 58c2ecf20Sopenharmony_ci select DRM_GEM_CMA_HELPER 68c2ecf20Sopenharmony_ci select DRM_KMS_HELPER 78c2ecf20Sopenharmony_ci select DRM_PANEL 88c2ecf20Sopenharmony_ci select VIDEOMODE_HELPERS 98c2ecf20Sopenharmony_ci select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP 108c2ecf20Sopenharmony_ci select DRM_DW_HDMI if ROCKCHIP_DW_HDMI 118c2ecf20Sopenharmony_ci select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI 128c2ecf20Sopenharmony_ci select DRM_RGB if ROCKCHIP_RGB 138c2ecf20Sopenharmony_ci select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC 148c2ecf20Sopenharmony_ci help 158c2ecf20Sopenharmony_ci Choose this option if you have a Rockchip soc chipset. 168c2ecf20Sopenharmony_ci This driver provides kernel mode setting and buffer 178c2ecf20Sopenharmony_ci management to userspace. This driver does not provide 188c2ecf20Sopenharmony_ci 2D or 3D acceleration; acceleration is performed by other 198c2ecf20Sopenharmony_ci IP found on the SoC. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciif DRM_ROCKCHIP 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciconfig ROCKCHIP_ANALOGIX_DP 248c2ecf20Sopenharmony_ci bool "Rockchip specific extensions for Analogix DP driver" 258c2ecf20Sopenharmony_ci help 268c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 278c2ecf20Sopenharmony_ci for the Analogix Core DP driver. If you want to enable DP 288c2ecf20Sopenharmony_ci on RK3288 or RK3399 based SoC, you should select this option. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciconfig ROCKCHIP_CDN_DP 318c2ecf20Sopenharmony_ci bool "Rockchip cdn DP" 328c2ecf20Sopenharmony_ci depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m) 338c2ecf20Sopenharmony_ci help 348c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 358c2ecf20Sopenharmony_ci for the cdn DP driver. If you want to enable Dp on 368c2ecf20Sopenharmony_ci RK3399 based SoC, you should select this 378c2ecf20Sopenharmony_ci option. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciconfig ROCKCHIP_DW_HDMI 408c2ecf20Sopenharmony_ci bool "Rockchip specific extensions for Synopsys DW HDMI" 418c2ecf20Sopenharmony_ci help 428c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 438c2ecf20Sopenharmony_ci for the Synopsys DesignWare HDMI driver. If you want to 448c2ecf20Sopenharmony_ci enable HDMI on RK3288 or RK3399 based SoC, you should select 458c2ecf20Sopenharmony_ci this option. 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ciconfig ROCKCHIP_DW_MIPI_DSI 488c2ecf20Sopenharmony_ci bool "Rockchip specific extensions for Synopsys DW MIPI DSI" 498c2ecf20Sopenharmony_ci select GENERIC_PHY_MIPI_DPHY 508c2ecf20Sopenharmony_ci help 518c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 528c2ecf20Sopenharmony_ci for the Synopsys DesignWare HDMI driver. If you want to 538c2ecf20Sopenharmony_ci enable MIPI DSI on RK3288 or RK3399 based SoC, you should 548c2ecf20Sopenharmony_ci select this option. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ciconfig ROCKCHIP_INNO_HDMI 578c2ecf20Sopenharmony_ci bool "Rockchip specific extensions for Innosilicon HDMI" 588c2ecf20Sopenharmony_ci help 598c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 608c2ecf20Sopenharmony_ci for the Innosilicon HDMI driver. If you want to enable 618c2ecf20Sopenharmony_ci HDMI on RK3036 based SoC, you should select this option. 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ciconfig ROCKCHIP_LVDS 648c2ecf20Sopenharmony_ci bool "Rockchip LVDS support" 658c2ecf20Sopenharmony_ci depends on DRM_ROCKCHIP 668c2ecf20Sopenharmony_ci depends on PINCTRL && OF 678c2ecf20Sopenharmony_ci help 688c2ecf20Sopenharmony_ci Choose this option to enable support for Rockchip LVDS controllers. 698c2ecf20Sopenharmony_ci Rockchip rk3288 SoC has LVDS TX Controller can be used, and it 708c2ecf20Sopenharmony_ci support LVDS, rgb, dual LVDS output mode. say Y to enable its 718c2ecf20Sopenharmony_ci driver. 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ciconfig ROCKCHIP_RGB 748c2ecf20Sopenharmony_ci bool "Rockchip RGB support" 758c2ecf20Sopenharmony_ci depends on DRM_ROCKCHIP 768c2ecf20Sopenharmony_ci depends on PINCTRL 778c2ecf20Sopenharmony_ci help 788c2ecf20Sopenharmony_ci Choose this option to enable support for Rockchip RGB output. 798c2ecf20Sopenharmony_ci Some Rockchip CRTCs, like rv1108, can directly output parallel 808c2ecf20Sopenharmony_ci and serial RGB format to panel or connect to a conversion chip. 818c2ecf20Sopenharmony_ci say Y to enable its driver. 828c2ecf20Sopenharmony_ci 838c2ecf20Sopenharmony_ciconfig ROCKCHIP_RK3066_HDMI 848c2ecf20Sopenharmony_ci bool "Rockchip specific extensions for RK3066 HDMI" 858c2ecf20Sopenharmony_ci depends on DRM_ROCKCHIP 868c2ecf20Sopenharmony_ci help 878c2ecf20Sopenharmony_ci This selects support for Rockchip SoC specific extensions 888c2ecf20Sopenharmony_ci for the RK3066 HDMI driver. If you want to enable 898c2ecf20Sopenharmony_ci HDMI on RK3066 based SoC, you should select this option. 908c2ecf20Sopenharmony_ciendif 91