drm/rockchip: add CONFIG_OF dependency for lvds
[linux-2.6-block.git] / drivers / gpu / drm / rockchip / Kconfig
CommitLineData
2048e328
MY
1config DRM_ROCKCHIP
2 tristate "DRM Support for Rockchip"
3 depends on DRM && ROCKCHIP_IOMMU
2a6ae85a 4 select DRM_GEM_CMA_HELPER
2048e328 5 select DRM_KMS_HELPER
2048e328 6 select DRM_PANEL
2048e328 7 select VIDEOMODE_HELPERS
b9670ca2
AB
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
2048e328
MY
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.
12b9f204 18
b9670ca2
AB
19if DRM_ROCKCHIP
20
9e32e16e 21config ROCKCHIP_ANALOGIX_DP
8820b68b 22 bool "Rockchip specific extensions for Analogix DP driver"
9e32e16e
YY
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
1a0f7ed3 28config ROCKCHIP_CDN_DP
8820b68b 29 bool "Rockchip cdn DP"
b9670ca2 30 depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
1a0f7ed3
CZ
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
12b9f204 37config ROCKCHIP_DW_HDMI
8820b68b 38 bool "Rockchip specific extensions for Synopsys DW HDMI"
12b9f204
AY
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.
84e05408
CZ
44
45config ROCKCHIP_DW_MIPI_DSI
8820b68b 46 bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
84e05408
CZ
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.
412d4ae6
YY
52
53config ROCKCHIP_INNO_HDMI
8820b68b 54 bool "Rockchip specific extensions for Innosilicon HDMI"
412d4ae6
YY
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.
b9670ca2 59
34cc0aa2
SH
60config ROCKCHIP_LVDS
61 bool "Rockchip LVDS support"
62 depends on DRM_ROCKCHIP
30cfcf01 63 depends on PINCTRL && OF
34cc0aa2
SH
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.
b9670ca2 69endif