treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / gpu / drm / rockchip / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
2048e328
MY
2config DRM_ROCKCHIP
3 tristate "DRM Support for Rockchip"
4 depends on DRM && ROCKCHIP_IOMMU
2a6ae85a 5 select DRM_GEM_CMA_HELPER
2048e328 6 select DRM_KMS_HELPER
2048e328 7 select DRM_PANEL
2048e328 8 select VIDEOMODE_HELPERS
b9670ca2
AB
9 select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
10 select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
2d4f7bda 11 select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
1f0f0151 12 select DRM_RGB if ROCKCHIP_RGB
b9670ca2 13 select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
2048e328
MY
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.
12b9f204 20
b9670ca2
AB
21if DRM_ROCKCHIP
22
9e32e16e 23config ROCKCHIP_ANALOGIX_DP
8820b68b 24 bool "Rockchip specific extensions for Analogix DP driver"
9e32e16e
YY
25 help
26 This selects support for Rockchip SoC specific extensions
27 for the Analogix Core DP driver. If you want to enable DP
dc879f61 28 on RK3288 or RK3399 based SoC, you should select this option.
9e32e16e 29
1a0f7ed3 30config ROCKCHIP_CDN_DP
8820b68b 31 bool "Rockchip cdn DP"
b9670ca2 32 depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
1a0f7ed3
CZ
33 help
34 This selects support for Rockchip SoC specific extensions
35 for the cdn DP driver. If you want to enable Dp on
36 RK3399 based SoC, you should select this
37 option.
38
12b9f204 39config ROCKCHIP_DW_HDMI
8820b68b 40 bool "Rockchip specific extensions for Synopsys DW HDMI"
12b9f204
AY
41 help
42 This selects support for Rockchip SoC specific extensions
43 for the Synopsys DesignWare HDMI driver. If you want to
dc879f61
SH
44 enable HDMI on RK3288 or RK3399 based SoC, you should select
45 this option.
84e05408
CZ
46
47config ROCKCHIP_DW_MIPI_DSI
8820b68b 48 bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
84e05408 49 help
dc879f61
SH
50 This selects support for Rockchip SoC specific extensions
51 for the Synopsys DesignWare HDMI driver. If you want to
52 enable MIPI DSI on RK3288 or RK3399 based SoC, you should
53 select this option.
412d4ae6
YY
54
55config ROCKCHIP_INNO_HDMI
8820b68b 56 bool "Rockchip specific extensions for Innosilicon HDMI"
412d4ae6
YY
57 help
58 This selects support for Rockchip SoC specific extensions
59 for the Innosilicon HDMI driver. If you want to enable
60 HDMI on RK3036 based SoC, you should select this option.
b9670ca2 61
34cc0aa2
SH
62config ROCKCHIP_LVDS
63 bool "Rockchip LVDS support"
64 depends on DRM_ROCKCHIP
30cfcf01 65 depends on PINCTRL && OF
34cc0aa2
SH
66 help
67 Choose this option to enable support for Rockchip LVDS controllers.
68 Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
69 support LVDS, rgb, dual LVDS output mode. say Y to enable its
70 driver.
1f0f0151
SH
71
72config ROCKCHIP_RGB
73 bool "Rockchip RGB support"
74 depends on DRM_ROCKCHIP
75 depends on PINCTRL
76 help
77 Choose this option to enable support for Rockchip RGB output.
78 Some Rockchip CRTCs, like rv1108, can directly output parallel
79 and serial RGB format to panel or connect to a conversion chip.
80 say Y to enable its driver.
f84d3d37
ZY
81
82config ROCKCHIP_RK3066_HDMI
83 bool "Rockchip specific extensions for RK3066 HDMI"
84 depends on DRM_ROCKCHIP
85 help
86 This selects support for Rockchip SoC specific extensions
87 for the RK3066 HDMI driver. If you want to enable
88 HDMI on RK3066 based SoC, you should select this option.
b9670ca2 89endif