Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config DRM_ROCKCHIP
0003         tristate "DRM Support for Rockchip"
0004         depends on DRM && ROCKCHIP_IOMMU
0005         select DRM_GEM_CMA_HELPER
0006         select DRM_KMS_HELPER
0007         select DRM_PANEL
0008         select VIDEOMODE_HELPERS
0009         select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
0010         select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
0011         select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
0012         select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI
0013         select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI
0014         select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
0015         help
0016           Choose this option if you have a Rockchip soc chipset.
0017           This driver provides kernel mode setting and buffer
0018           management to userspace. This driver does not provide
0019           2D or 3D acceleration; acceleration is performed by other
0020           IP found on the SoC.
0021 
0022 if DRM_ROCKCHIP
0023 
0024 config ROCKCHIP_VOP
0025         bool "Rockchip VOP driver"
0026         default y
0027         help
0028           This selects support for the VOP driver. You should enable it
0029           on older SoCs.
0030 
0031 config ROCKCHIP_VOP2
0032         bool "Rockchip VOP2 driver"
0033         help
0034           This selects support for the VOP2 driver. The VOP2 hardware is
0035           first found on the RK3568.
0036 
0037 config ROCKCHIP_ANALOGIX_DP
0038         bool "Rockchip specific extensions for Analogix DP driver"
0039         depends on ROCKCHIP_VOP
0040         select DRM_DISPLAY_HELPER
0041         select DRM_DISPLAY_DP_HELPER
0042         help
0043           This selects support for Rockchip SoC specific extensions
0044           for the Analogix Core DP driver. If you want to enable DP
0045           on RK3288 or RK3399 based SoC, you should select this option.
0046 
0047 config ROCKCHIP_CDN_DP
0048         bool "Rockchip cdn DP"
0049         depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
0050         select DRM_DISPLAY_HELPER
0051         select DRM_DISPLAY_DP_HELPER
0052         help
0053           This selects support for Rockchip SoC specific extensions
0054           for the cdn DP driver. If you want to enable Dp on
0055           RK3399 based SoC, you should select this
0056           option.
0057 
0058 config ROCKCHIP_DW_HDMI
0059         bool "Rockchip specific extensions for Synopsys DW HDMI"
0060         help
0061           This selects support for Rockchip SoC specific extensions
0062           for the Synopsys DesignWare HDMI driver. If you want to
0063           enable HDMI on RK3288 or RK3399 based SoC, you should select
0064           this option.
0065 
0066 config ROCKCHIP_DW_MIPI_DSI
0067         bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
0068         select GENERIC_PHY_MIPI_DPHY
0069         help
0070           This selects support for Rockchip SoC specific extensions
0071           for the Synopsys DesignWare dsi driver. If you want to
0072           enable MIPI DSI on RK3288 or RK3399 based SoC, you should
0073           select this option.
0074 
0075 config ROCKCHIP_INNO_HDMI
0076         bool "Rockchip specific extensions for Innosilicon HDMI"
0077         help
0078           This selects support for Rockchip SoC specific extensions
0079           for the Innosilicon HDMI driver. If you want to enable
0080           HDMI on RK3036 based SoC, you should select this option.
0081 
0082 config ROCKCHIP_LVDS
0083         bool "Rockchip LVDS support"
0084         depends on DRM_ROCKCHIP
0085         depends on PINCTRL && OF
0086         help
0087           Choose this option to enable support for Rockchip LVDS controllers.
0088           Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
0089           support LVDS, rgb, dual LVDS output mode. say Y to enable its
0090           driver.
0091 
0092 config ROCKCHIP_RGB
0093         bool "Rockchip RGB support"
0094         depends on DRM_ROCKCHIP
0095         depends on PINCTRL
0096         help
0097           Choose this option to enable support for Rockchip RGB output.
0098           Some Rockchip CRTCs, like rv1108, can directly output parallel
0099           and serial RGB format to panel or connect to a conversion chip.
0100           say Y to enable its driver.
0101 
0102 config ROCKCHIP_RK3066_HDMI
0103         bool "Rockchip specific extensions for RK3066 HDMI"
0104         depends on DRM_ROCKCHIP
0105         help
0106           This selects support for Rockchip SoC specific extensions
0107           for the RK3066 HDMI driver. If you want to enable
0108           HDMI on RK3066 based SoC, you should select this option.
0109 endif