xref: /openbmc/linux/drivers/gpu/drm/rockchip/Kconfig (revision 4a3fad70)
1config DRM_ROCKCHIP
2	tristate "DRM Support for Rockchip"
3	depends on DRM && ROCKCHIP_IOMMU
4	select DRM_GEM_CMA_HELPER
5	select DRM_KMS_HELPER
6	select DRM_PANEL
7	select VIDEOMODE_HELPERS
8	select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
9	select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
10	select DRM_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
11	select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
12	help
13	  Choose this option if you have a Rockchip soc chipset.
14	  This driver provides kernel mode setting and buffer
15	  management to userspace. This driver does not provide
16	  2D or 3D acceleration; acceleration is performed by other
17	  IP found on the SoC.
18
19if DRM_ROCKCHIP
20
21config ROCKCHIP_ANALOGIX_DP
22	bool "Rockchip specific extensions for Analogix DP driver"
23	help
24	  This selects support for Rockchip SoC specific extensions
25	  for the Analogix Core DP driver. If you want to enable DP
26	  on RK3288 based SoC, you should selet this option.
27
28config ROCKCHIP_CDN_DP
29        bool "Rockchip cdn DP"
30	depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
31        help
32	  This selects support for Rockchip SoC specific extensions
33	  for the cdn DP driver. If you want to enable Dp on
34	  RK3399 based SoC, you should select this
35	  option.
36
37config ROCKCHIP_DW_HDMI
38        bool "Rockchip specific extensions for Synopsys DW HDMI"
39        help
40	  This selects support for Rockchip SoC specific extensions
41	  for the Synopsys DesignWare HDMI driver. If you want to
42	  enable HDMI on RK3288 based SoC, you should selet this
43	  option.
44
45config ROCKCHIP_DW_MIPI_DSI
46	bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
47	help
48	 This selects support for Rockchip SoC specific extensions
49	 for the Synopsys DesignWare HDMI driver. If you want to
50	 enable MIPI DSI on RK3288 based SoC, you should selet this
51	 option.
52
53config ROCKCHIP_INNO_HDMI
54	bool "Rockchip specific extensions for Innosilicon HDMI"
55	help
56	  This selects support for Rockchip SoC specific extensions
57	  for the Innosilicon HDMI driver. If you want to enable
58	  HDMI on RK3036 based SoC, you should select this option.
59
60config ROCKCHIP_LVDS
61	bool "Rockchip LVDS support"
62	depends on DRM_ROCKCHIP
63	depends on PINCTRL && OF
64	help
65	  Choose this option to enable support for Rockchip LVDS controllers.
66	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
67	  support LVDS, rgb, dual LVDS output mode. say Y to enable its
68	  driver.
69endif
70