rk3188:add lcdc support
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / Kconfig
1 menuconfig FB_ROCKCHIP
2         tristate "Frame buffer support for Rockchip "
3         depends on FB
4         select FB_CFB_FILLRECT
5         select FB_CFB_COPYAREA
6         select FB_CFB_IMAGEBLIT
7         ---help---
8           Framebuffer driver for rockchip based platform
9
10 config FB_MIRRORING
11         bool     "Mirroring support"
12         depends on FB_ROCKCHIP
13 choice
14         bool "Dual display ploy select"
15         depends on FB_ROCKCHIP
16         default NO_DUAL_DISP
17         help
18           If you use dual lcdc for dual display ,select "implement dual display in kernel with dual lcdc"
19           If you use one lcdc like rk2928 or one lcdc with RK Jetta,select "one lcdc dual output display interface support"
20         
21 config DUAL_LCDC_DUAL_DISP_IN_KERNEL
22         bool "implement dual display in kernel with dual lcdc"
23         depends on FB_ROCKCHIP
24         help
25           select y will implement dual screen display in kernel
26
27 config ONE_LCDC_DUAL_OUTPUT_INF
28         bool "one lcdc dual output display interface support"
29         depends on FB_ROCKCHIP
30         help
31           select y if on platform like rk2928 which have one lcdc but two output interface
32 config NO_DUAL_DISP
33         bool "NO dual display needed"
34         depends on FB_ROCKCHIP
35         help
36           No dual display needed
37 endchoice
38
39 config FB_ROTATE
40         bool"FB rotate support"
41         depends on FB_ROCKCHIP
42         default n
43         help
44           select y if you need rotate your screen
45
46 config ROTATE_ORIENTATION
47         int "rotate orientation"
48         depends on FB_ROTATE
49         default 0
50         help
51           select 0, 90, 180,270 according to your Mold
52 config THREE_FB_BUFFER
53         bool "Three fb buffer support"
54         depends on FB_ROCKCHIP
55         default y
56         help
57            select y if android support three buffer,like Jelly Bean
58
59
60 config LCDC_RK2928
61         tristate "rk2928 lcdc support"
62         depends on FB_ROCKCHIP && ARCH_RK2928
63         help
64           Driver for rk2928 lcdc .
65
66 config LCDC_RK30
67         tristate "rk30 lcdc support"
68         depends on FB_ROCKCHIP && ARCH_RK30
69         help
70           Driver for rk30 lcdc .There are two lcd controllers on rk30
71
72 config LCDC0_RK30
73         bool "lcdc0 support"
74         depends on LCDC_RK30
75         default y
76         help 
77            Support rk30 lcdc0 if you say y here
78
79 config LCDC1_RK30
80         bool "lcdc1 support"
81         depends on LCDC_RK30
82         default y if HDMI_RK30
83         help
84            Support rk30 lcdc1 if you say y here
85
86 config LCDC_RK3066B
87         tristate "rk3066b lcdc support"
88         depends on FB_ROCKCHIP && ARCH_RK3066B
89         help
90           Driver for rk3066b  lcdc.
91
92 config LCDC0_RK3066B
93         bool "lcdc0 support"
94         depends on LCDC_RK3066B
95         default y
96         help
97            Support lcdc0 if you say y here
98
99 config LCDC1_RK3066B
100         bool "lcdc1 support"
101         depends on LCDC_RK3066B
102         default n
103         help
104            Support lcdc1 if you say y here
105
106 config LCDC_RK3188
107         bool "rk3188 lcdc support"
108         depends on FB_ROCKCHIP && ARCH_RK3188
109         help
110           Driver for rk3188 lcdc.There are two lcd controllers on rk3188
111 config LCDC0_RK3188
112         bool "lcdc0 support"
113         depends on LCDC_RK3188
114         help
115           Support rk3188 lcdc0 if you say y here
116
117 config LCDC1_RK3188
118         bool "lcdc1 support"
119         depends on LCDC_RK3188
120         help
121           Support rk3188 lcdc1 if you say y here
122
123 source "drivers/video/rockchip/hdmi/Kconfig"
124 source "drivers/video/rockchip/rga/Kconfig"
125 source "drivers/video/rockchip/lvds/Kconfig"