117 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_ROCKCHIP3 tristate "DRM Support for Rockchip"4 depends on DRM && ROCKCHIP_IOMMU5 select DRM_GEM_DMA_HELPER6 select DRM_KMS_HELPER7 select DRM_PANEL8 select VIDEOMODE_HELPERS9 select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP10 select DRM_DW_HDMI if ROCKCHIP_DW_HDMI11 select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI12 select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI13 select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI14 select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC15 help16 Choose this option if you have a Rockchip soc chipset.17 This driver provides kernel mode setting and buffer18 management to userspace. This driver does not provide19 2D or 3D acceleration; acceleration is performed by other20 IP found on the SoC.21 22if DRM_ROCKCHIP23 24config ROCKCHIP_VOP25 bool "Rockchip VOP driver"26 default y27 help28 This selects support for the VOP driver. You should enable it29 on older SoCs.30 31config ROCKCHIP_VOP232 bool "Rockchip VOP2 driver"33 help34 This selects support for the VOP2 driver. The VOP2 hardware is35 first found on the RK3568.36 37config ROCKCHIP_ANALOGIX_DP38 bool "Rockchip specific extensions for Analogix DP driver"39 depends on ROCKCHIP_VOP40 select DRM_DISPLAY_HELPER41 select DRM_DISPLAY_DP_HELPER42 help43 This selects support for Rockchip SoC specific extensions44 for the Analogix Core DP driver. If you want to enable DP45 on RK3288 or RK3399 based SoC, you should select this option.46 47config ROCKCHIP_CDN_DP48 bool "Rockchip cdn DP"49 depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)50 select DRM_DISPLAY_HELPER51 select DRM_DISPLAY_DP_HELPER52 help53 This selects support for Rockchip SoC specific extensions54 for the cdn DP driver. If you want to enable Dp on55 RK3399 based SoC, you should select this56 option.57 58config ROCKCHIP_DW_HDMI59 bool "Rockchip specific extensions for Synopsys DW HDMI"60 help61 This selects support for Rockchip SoC specific extensions62 for the Synopsys DesignWare HDMI driver. If you want to63 enable HDMI on RK3288 or RK3399 based SoC, you should select64 this option.65 66config ROCKCHIP_DW_MIPI_DSI67 bool "Rockchip specific extensions for Synopsys DW MIPI DSI"68 select GENERIC_PHY_MIPI_DPHY69 help70 This selects support for Rockchip SoC specific extensions71 for the Synopsys DesignWare dsi driver. If you want to72 enable MIPI DSI on RK3288 or RK3399 based SoC, you should73 select this option.74 75config ROCKCHIP_INNO_HDMI76 bool "Rockchip specific extensions for Innosilicon HDMI"77 select DRM_DISPLAY_HDMI_HELPER78 select DRM_DISPLAY_HDMI_STATE_HELPER79 select DRM_DISPLAY_HELPER80 help81 This selects support for Rockchip SoC specific extensions82 for the Innosilicon HDMI driver. If you want to enable83 HDMI on RK3036 based SoC, you should select this option.84 85config ROCKCHIP_LVDS86 bool "Rockchip LVDS support"87 depends on DRM_ROCKCHIP88 depends on PINCTRL && OF89 select DRM_DISPLAY_HELPER90 select DRM_BRIDGE_CONNECTOR91 help92 Choose this option to enable support for Rockchip LVDS controllers.93 Rockchip rk3288 SoC has LVDS TX Controller can be used, and it94 support LVDS, rgb, dual LVDS output mode. say Y to enable its95 driver.96 97config ROCKCHIP_RGB98 bool "Rockchip RGB support"99 depends on DRM_ROCKCHIP100 depends on PINCTRL101 select DRM_DISPLAY_HELPER102 select DRM_BRIDGE_CONNECTOR103 help104 Choose this option to enable support for Rockchip RGB output.105 Some Rockchip CRTCs, like rv1108, can directly output parallel106 and serial RGB format to panel or connect to a conversion chip.107 say Y to enable its driver.108 109config ROCKCHIP_RK3066_HDMI110 bool "Rockchip specific extensions for RK3066 HDMI"111 depends on DRM_ROCKCHIP112 help113 This selects support for Rockchip SoC specific extensions114 for the RK3066 HDMI driver. If you want to enable115 HDMI on RK3066 based SoC, you should select this option.116endif117