1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 22048e328SMark Yaoconfig DRM_ROCKCHIP 32048e328SMark Yao tristate "DRM Support for Rockchip" 42048e328SMark Yao depends on DRM && ROCKCHIP_IOMMU 5*1e0f6642SThomas Zimmermann select DRM_DISPLAY_HELPER if ROCKCHIP_ANALOGIX_DP 62a6ae85aSArnd Bergmann select DRM_GEM_CMA_HELPER 72048e328SMark Yao select DRM_KMS_HELPER 82048e328SMark Yao select DRM_PANEL 92048e328SMark Yao select VIDEOMODE_HELPERS 10b9670ca2SArnd Bergmann select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP 11b9670ca2SArnd Bergmann select DRM_DW_HDMI if ROCKCHIP_DW_HDMI 122d4f7bdaSNickey Yang select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI 1371f68fe7SHeiko Stuebner select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI 1471f68fe7SHeiko Stuebner select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI 15b9670ca2SArnd Bergmann select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC 162048e328SMark Yao help 172048e328SMark Yao Choose this option if you have a Rockchip soc chipset. 182048e328SMark Yao This driver provides kernel mode setting and buffer 192048e328SMark Yao management to userspace. This driver does not provide 202048e328SMark Yao 2D or 3D acceleration; acceleration is performed by other 212048e328SMark Yao IP found on the SoC. 2212b9f204SAndy Yan 23b9670ca2SArnd Bergmannif DRM_ROCKCHIP 24b9670ca2SArnd Bergmann 259e32e16eSYakir Yangconfig ROCKCHIP_ANALOGIX_DP 268820b68bSJeffy Chen bool "Rockchip specific extensions for Analogix DP driver" 27*1e0f6642SThomas Zimmermann select DRM_DISPLAY_DP_HELPER 289e32e16eSYakir Yang help 299e32e16eSYakir Yang This selects support for Rockchip SoC specific extensions 309e32e16eSYakir Yang for the Analogix Core DP driver. If you want to enable DP 31dc879f61SSandy Huang on RK3288 or RK3399 based SoC, you should select this option. 329e32e16eSYakir Yang 331a0f7ed3SChris Zhongconfig ROCKCHIP_CDN_DP 348820b68bSJeffy Chen bool "Rockchip cdn DP" 35b9670ca2SArnd Bergmann depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m) 361a0f7ed3SChris Zhong help 371a0f7ed3SChris Zhong This selects support for Rockchip SoC specific extensions 381a0f7ed3SChris Zhong for the cdn DP driver. If you want to enable Dp on 391a0f7ed3SChris Zhong RK3399 based SoC, you should select this 401a0f7ed3SChris Zhong option. 411a0f7ed3SChris Zhong 4212b9f204SAndy Yanconfig ROCKCHIP_DW_HDMI 438820b68bSJeffy Chen bool "Rockchip specific extensions for Synopsys DW HDMI" 4412b9f204SAndy Yan help 4512b9f204SAndy Yan This selects support for Rockchip SoC specific extensions 4612b9f204SAndy Yan for the Synopsys DesignWare HDMI driver. If you want to 47dc879f61SSandy Huang enable HDMI on RK3288 or RK3399 based SoC, you should select 48dc879f61SSandy Huang this option. 4984e05408SChris Zhong 5084e05408SChris Zhongconfig ROCKCHIP_DW_MIPI_DSI 518820b68bSJeffy Chen bool "Rockchip specific extensions for Synopsys DW MIPI DSI" 5225ed8aebSHeiko Stuebner select GENERIC_PHY_MIPI_DPHY 5384e05408SChris Zhong help 5484e05408SChris Zhong This selects support for Rockchip SoC specific extensions 55a218a397SDafna Hirschfeld for the Synopsys DesignWare dsi driver. If you want to 56dc879f61SSandy Huang enable MIPI DSI on RK3288 or RK3399 based SoC, you should 57dc879f61SSandy Huang select this option. 58412d4ae6SYakir Yang 59412d4ae6SYakir Yangconfig ROCKCHIP_INNO_HDMI 608820b68bSJeffy Chen bool "Rockchip specific extensions for Innosilicon HDMI" 61412d4ae6SYakir Yang help 62412d4ae6SYakir Yang This selects support for Rockchip SoC specific extensions 63412d4ae6SYakir Yang for the Innosilicon HDMI driver. If you want to enable 64412d4ae6SYakir Yang HDMI on RK3036 based SoC, you should select this option. 65b9670ca2SArnd Bergmann 6634cc0aa2SSandy Huangconfig ROCKCHIP_LVDS 6734cc0aa2SSandy Huang bool "Rockchip LVDS support" 6834cc0aa2SSandy Huang depends on DRM_ROCKCHIP 6930cfcf01SArnd Bergmann depends on PINCTRL && OF 7034cc0aa2SSandy Huang help 7134cc0aa2SSandy Huang Choose this option to enable support for Rockchip LVDS controllers. 7234cc0aa2SSandy Huang Rockchip rk3288 SoC has LVDS TX Controller can be used, and it 7334cc0aa2SSandy Huang support LVDS, rgb, dual LVDS output mode. say Y to enable its 7434cc0aa2SSandy Huang driver. 751f0f0151SSandy Huang 761f0f0151SSandy Huangconfig ROCKCHIP_RGB 771f0f0151SSandy Huang bool "Rockchip RGB support" 781f0f0151SSandy Huang depends on DRM_ROCKCHIP 791f0f0151SSandy Huang depends on PINCTRL 801f0f0151SSandy Huang help 811f0f0151SSandy Huang Choose this option to enable support for Rockchip RGB output. 821f0f0151SSandy Huang Some Rockchip CRTCs, like rv1108, can directly output parallel 831f0f0151SSandy Huang and serial RGB format to panel or connect to a conversion chip. 841f0f0151SSandy Huang say Y to enable its driver. 85f84d3d37SZheng Yang 86f84d3d37SZheng Yangconfig ROCKCHIP_RK3066_HDMI 87f84d3d37SZheng Yang bool "Rockchip specific extensions for RK3066 HDMI" 88f84d3d37SZheng Yang depends on DRM_ROCKCHIP 89f84d3d37SZheng Yang help 90f84d3d37SZheng Yang This selects support for Rockchip SoC specific extensions 91f84d3d37SZheng Yang for the RK3066 HDMI driver. If you want to enable 92f84d3d37SZheng Yang HDMI on RK3066 based SoC, you should select this option. 93b9670ca2SArnd Bergmannendif 94