1# SPDX-License-Identifier: GPL-2.0-only 2config DRM_ROCKCHIP 3 tristate "DRM Support for Rockchip" 4 depends on DRM && ROCKCHIP_IOMMU 5 select DRM_GEM_CMA_HELPER 6 select DRM_KMS_HELPER 7 select DRM_PANEL 8 select VIDEOMODE_HELPERS 9 select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP 10 select DRM_DW_HDMI if ROCKCHIP_DW_HDMI 11 select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI 12 select DRM_RGB if ROCKCHIP_RGB 13 select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC 14 help 15 Choose this option if you have a Rockchip soc chipset. 16 This driver provides kernel mode setting and buffer 17 management to userspace. This driver does not provide 18 2D or 3D acceleration; acceleration is performed by other 19 IP found on the SoC. 20 21if DRM_ROCKCHIP 22 23config ROCKCHIP_DRM_CUBIC_LUT 24 bool "Support 3D cubic LUT" 25 depends on NO_GKI 26 help 27 This add properties to support provision of a 3D cubic 28 look up table, allowing for color specific adjustments. 29 30config ROCKCHIP_DRM_DEBUG 31 bool "Rockchip DRM debug" 32 depends on DEBUG_FS 33 help 34 This option add a debug node to dump buf from userspace 35 dump buffer store at: /data 36 debug node: /d/dri/0/ff900000.vop/vop_dump/dump 37 cat /d/dri/0/ff900000.vop/vop_dump/dump get more help 38 the upper ff900000.vop is different at different SOC platform. 39 40config ROCKCHIP_ANALOGIX_DP 41 bool "Rockchip specific extensions for Analogix DP driver" 42 help 43 This selects support for Rockchip SoC specific extensions 44 for the Analogix Core DP driver. If you want to enable DP 45 on RK3288 or RK3399 based SoC, you should select this option. 46 47config ROCKCHIP_CDN_DP 48 bool "Rockchip cdn DP" 49 help 50 This selects support for Rockchip SoC specific extensions 51 for the cdn DP driver. If you want to enable Dp on 52 RK3399 based SoC, you should select this 53 option. 54 55config ROCKCHIP_DW_HDMI 56 bool "Rockchip specific extensions for Synopsys DW HDMI" 57 help 58 This selects support for Rockchip SoC specific extensions 59 for the Synopsys DesignWare HDMI driver. If you want to 60 enable HDMI on RK3288 or RK3399 based SoC, you should select 61 this option. 62 63config ROCKCHIP_DW_MIPI_DSI 64 bool "Rockchip specific extensions for Synopsys DW MIPI DSI" 65 select GENERIC_PHY_MIPI_DPHY 66 help 67 This selects support for Rockchip SoC specific extensions 68 for the Synopsys DesignWare HDMI driver. If you want to 69 enable MIPI DSI on RK3288 or RK3399 based SoC, you should 70 select this option. 71 72config ROCKCHIP_DW_DP 73 bool "Rockchip specific extensions for Synopsys DW DPTX" 74 help 75 Choose this option for Synopsys DesignWare Cores DisplayPort 76 transmit controller support on Rockchip SoC. 77 78config ROCKCHIP_INNO_HDMI 79 bool "Rockchip specific extensions for Innosilicon HDMI" 80 help 81 This selects support for Rockchip SoC specific extensions 82 for the Innosilicon HDMI driver. If you want to enable 83 HDMI on RK3036 based SoC, you should select this option. 84 85config ROCKCHIP_LVDS 86 bool "Rockchip LVDS support" 87 depends on DRM_ROCKCHIP 88 depends on PINCTRL && OF 89 help 90 Choose this option to enable support for Rockchip LVDS controllers. 91 Rockchip rk3288 SoC has LVDS TX Controller can be used, and it 92 support LVDS, rgb, dual LVDS output mode. say Y to enable its 93 driver. 94 95config ROCKCHIP_RGB 96 bool "Rockchip RGB support" 97 depends on DRM_ROCKCHIP 98 depends on PINCTRL 99 help 100 Choose this option to enable support for Rockchip RGB output. 101 Some Rockchip CRTCs, like rv1108, can directly output parallel 102 and serial RGB format to panel or connect to a conversion chip. 103 say Y to enable its driver. 104 105config ROCKCHIP_RK3066_HDMI 106 bool "Rockchip specific extensions for RK3066 HDMI" 107 depends on DRM_ROCKCHIP 108 help 109 This selects support for Rockchip SoC specific extensions 110 for the RK3066 HDMI driver. If you want to enable 111 HDMI on RK3066 based SoC, you should select this option. 112 113config ROCKCHIP_VCONN 114 bool "Rockchip Virtual connector driver for HDMI/DP/DSI" 115 depends on DRM_ROCKCHIP 116 help 117 This selects support virtual HDMI/DP/DSI drived by 118 rockchip vop, This is used for some test. 119 120endif 121