hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
config DRM_ROCKCHIP
   tristate "DRM Support for Rockchip"
   depends on DRM
   select DRM_GEM_CMA_HELPER
   select DRM_KMS_HELPER
   select DRM_PANEL
   select VIDEOMODE_HELPERS
   select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
   select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
   select DRM_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
   select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
   help
     Choose this option if you have a Rockchip soc chipset.
     This driver provides kernel mode setting and buffer
     management to userspace. This driver does not provide
     2D or 3D acceleration; acceleration is performed by other
     IP found on the SoC.
 
if DRM_ROCKCHIP
 
config ROCKCHIP_DRM_DEBUG
   tristate "Rockchip DRM debug"
   help
     This option add a debug node to dump buf from application.
     dump buffer store at: /data/vop_buf
     debug node: /d/dri/0/ff900000.vop/vop_dump/dump
     cat /d/dri/0/ff900000.vop/vop_dump/dump get more help.
 
config ROCKCHIP_VOP
   bool "Rockchip VOP driver"
   default y
   help
     This selects support for the VOP driver.If you want to
     enable VOP on Rockchip SoC, you should selet this option.
 
config ROCKCHIP_VOP2
   bool "Rockchip VOP2 driver"
   default y if !CPU_RV1126
   help
     This selects support for the VOP2 driver. If you want to
     enable VOP2 on RK3566 and RK3568 based SoC, you should
     selet this option.
 
config ROCKCHIP_PSR
   bool
   help
     If you want to enable PSR function on Rockchip SoC, you
     should select this option.
 
config ROCKCHIP_ANALOGIX_DP
   bool "Rockchip specific extensions for Analogix DP driver"
   select ROCKCHIP_PSR
   help
     This selects support for Rockchip SoC specific extensions
     for the Analogix Core DP driver. If you want to enable DP
     on RK3288 based SoC, you should select this option.
 
config ROCKCHIP_CDN_DP
   bool "Rockchip cdn DP"
   depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
   help
     This selects support for Rockchip SoC specific extensions
     for the cdn DP driver. If you want to enable Dp on
     RK3399 based SoC, you should select this
     option.
 
config ROCKCHIP_DW_HDMI
   bool "Rockchip specific extensions for Synopsys DW HDMI"
   help
     This selects support for Rockchip SoC specific extensions
     for the Synopsys DesignWare HDMI driver. If you want to
     enable HDMI on RK3288 based SoC, you should selet this
     option.
 
config ROCKCHIP_DW_MIPI_DSI
   bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
   help
     This selects support for Rockchip SoC specific extensions
     for the Synopsys DesignWare HDMI driver. If you want to
     enable MIPI DSI on RK3288 based SoC, you should selet this
     option.
 
config ROCKCHIP_INNO_HDMI
   bool "Rockchip specific extensions for Innosilicon HDMI"
   help
     This selects support for Rockchip SoC specific extensions
     for the Innosilicon HDMI driver. If you want to enable
     HDMI on RK3036 based SoC, you should select this option.
 
config ROCKCHIP_LVDS
   bool "Rockchip LVDS support"
   depends on PINCTRL && OF
   help
     Choose this option to enable support for Rockchip LVDS controllers.
     Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
     support LVDS, rgb, dual LVDS output mode. say Y to enable its
     driver.
 
config ROCKCHIP_DRM_TVE
   bool "Rockchip TVE support"
   help
     Choose this option to enable support for Rockchip TVE controllers.
     say Y to enable its driver.
 
config ROCKCHIP_RGB
   bool "Rockchip RGB support"
   depends on PINCTRL
   help
     Choose this option to enable support for Rockchip RGB output.
     Some Rockchip CRTCs, like rv1108, can directly output parallel
     and serial RGB format to panel or connect to a conversion chip.
     say Y to enable its driver.
 
config DRM_ROCKCHIP_VVOP
   tristate "Rockchip virtual VOP drm driver"
   help
     Say y here if you want use some module of rockchip drm, but
     don't need a real vop driver(et: you just want rockchip drm
     gem driver to allocate memory).
 
source "drivers/gpu/drm/rockchip/ebc-dev/Kconfig"
source "drivers/gpu/drm/rockchip/rk618/Kconfig"
source "drivers/gpu/drm/rockchip/rk628/Kconfig"
 
endif