Kconfig (0aea30a07ec6b50de0fc5f5b2ec34a68ead86b61) Kconfig (1e0f66420b13fdd45754be0f15220a9185d59aa4)
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_ROCKCHIP
3 tristate "DRM Support for Rockchip"
4 depends on DRM && ROCKCHIP_IOMMU
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_DP_HELPER
5 select DRM_DISPLAY_HELPER if ROCKCHIP_ANALOGIX_DP
6 select DRM_GEM_CMA_HELPER
7 select DRM_KMS_HELPER
8 select DRM_PANEL
9 select VIDEOMODE_HELPERS
10 select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
6 select DRM_GEM_CMA_HELPER
7 select DRM_KMS_HELPER
8 select DRM_PANEL
9 select VIDEOMODE_HELPERS
10 select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
11 select DRM_DP_HELPER if ROCKCHIP_ANALOGIX_DP
12 select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
13 select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
14 select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI
15 select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI
16 select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
17 help
18 Choose this option if you have a Rockchip soc chipset.
19 This driver provides kernel mode setting and buffer
20 management to userspace. This driver does not provide
21 2D or 3D acceleration; acceleration is performed by other
22 IP found on the SoC.
23
24if DRM_ROCKCHIP
25
26config ROCKCHIP_ANALOGIX_DP
27 bool "Rockchip specific extensions for Analogix DP driver"
11 select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
12 select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
13 select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI
14 select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI
15 select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
16 help
17 Choose this option if you have a Rockchip soc chipset.
18 This driver provides kernel mode setting and buffer
19 management to userspace. This driver does not provide
20 2D or 3D acceleration; acceleration is performed by other
21 IP found on the SoC.
22
23if DRM_ROCKCHIP
24
25config ROCKCHIP_ANALOGIX_DP
26 bool "Rockchip specific extensions for Analogix DP driver"
27 select DRM_DISPLAY_DP_HELPER
28 help
29 This selects support for Rockchip SoC specific extensions
30 for the Analogix Core DP driver. If you want to enable DP
31 on RK3288 or RK3399 based SoC, you should select this option.
32
33config ROCKCHIP_CDN_DP
34 bool "Rockchip cdn DP"
35 depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)

--- 58 unchanged lines hidden ---
28 help
29 This selects support for Rockchip SoC specific extensions
30 for the Analogix Core DP driver. If you want to enable DP
31 on RK3288 or RK3399 based SoC, you should select this option.
32
33config ROCKCHIP_CDN_DP
34 bool "Rockchip cdn DP"
35 depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)

--- 58 unchanged lines hidden ---