1#
2# Video configuration for sunxi platform
3#
4
5menu "Video support for sunxi"
6
7config DISP2_SUNXI
8    tristate "DISP Driver Support(sunxi-disp2)"
9    default n
10    ---help---
11      Display driver for sunxi based boards.
12
13choice
14    prompt "DISP2 Framebuffer rotation support"
15    default SUNXI_DISP2_FB_DISABLE_ROTATE
16
17config SUNXI_DISP2_FB_DISABLE_ROTATE
18    bool "Disable rotation"
19    depends on (DISP2_SUNXI)
20    ---help---
21      Do not use framebuffer rotation
22
23config SUNXI_DISP2_FB_ROTATION_SUPPORT
24    bool "Software rotation support"
25    depends on (DISP2_SUNXI)
26    ---help---
27      Framebuffer software rotation on the top of disp2.
28
29config SUNXI_DISP2_FB_HW_ROTATION_SUPPORT
30    bool "Hardware(G2D) rotation support"
31    depends on (DISP2_SUNXI && SUNXI_G2D)
32    ---help---
33      Framebuffer hardware(G2D) rotation on the top of disp2.
34
35endchoice
36
37config HAL_TEST_DISP
38    bool "DISP2 hal APIs test"
39    depends on (DISP2_SUNXI)
40    default n
41    ---help---
42      Enable disp2 hal test command.
43config FPGA_V7_PLATFORM
44    bool "FPGA"
45    depends on (DISP2_SUNXI)
46    default n
47    ---help---
48      Enable fpga
49config SUNXI_DISP2_FB_DECOMPRESS_LZMA
50    bool "Framebuffer show bootlogo from lzma file"
51    depends on (DISP2_SUNXI)
52    default n
53    select DECOMPRESS_LZMA
54    ---help---
55      Show bootlogo from lzma file.
56
57config HDMI_DISP2_SUNXI
58    tristate "HDMI Driver Support(sunxi-disp2)"
59    depends on (DISP2_SUNXI)
60    default n
61    ---help---
62      Hdmi driver for sunxi based boards.
63
64menuconfig HDMI2_DISP2_SUNXI
65  tristate "HDMI2.0 Driver Support(sunxi-disp2)"
66  depends on (DISP2_SUNXI)
67  default n
68  ---help---
69  Say Y here if you want to have support for HDMI2.0 controller
70  on the sunxi based boards. The HDMI2.0 controller include edid,
71  hdcp1.4,hdcp2.2,cec feature and is compatible with hdmi1.4,support
72  HDR,4k@60Hz. If unsure, say N.
73
74config HDMI_EP952_DISP2_SUNXI
75    tristate "HDMI EP952 Driver Support(sunxi-disp2)"
76    depends on (DISP2_SUNXI)
77    default n
78    ---help---
79      Hdmi ep952 driver for sunxi based boards.
80menuconfig HDMI2_HDCP_SUNXI
81  tristate "HDMI2.0 HDCP"
82  depends on (HDMI2_DISP2_SUNXI)
83  default n
84  ---help---
85  Say Y here if you want to handle the cec message by User Space.
86  Say N here if you want to handle the cec message by Kernel.
87  If unsure, say N.
88
89config HDMI2_HDCP22_SUNXI
90  tristate "HDMI2.0 HDCP2.2"
91  depends on (HDMI2_HDCP_SUNXI && HDMI2_DISP2_SUNXI)
92  default n
93  ---help---
94  Say Y here if you want to handle the cec message by User Space.
95  Say N here if you want to handle the cec message by Kernel.
96  If unsure, say N.
97
98menuconfig HDMI2_CEC_SUNXI
99  tristate "HDMI2.0 CEC"
100  depends on (HDMI2_DISP2_SUNXI)
101  default n
102  ---help---
103  Say Y here if you want to handle the cec message by User Space.
104  Say N here if you want to handle the cec message by Kernel.
105  If unsure, say N.
106
107config HDMI2_CEC_USER
108  tristate "HDMI2.0 CEC handled by user space"
109  depends on (HDMI2_CEC_SUNXI && HDMI2_DISP2_SUNXI)
110  default n
111  ---help---
112  Say Y here if you want to handle the cec message by User Space.
113  Say N here if you want to handle the cec message by Kernel.
114  If unsure, say N.
115
116config TV_DISP2_SUNXI
117     tristate "TV Driver Support(sunxi-disp2)"
118     depends on (DISP2_SUNXI)
119     default n
120     ---help---
121      TV driver for sunxi based boards.
122config VDPO_DISP2_SUNXI
123     tristate "VDPO Driver Support(sunxi-disp2)"
124     depends on (DISP2_SUNXI)
125     default n
126     ---help---
127      VDPO driver for sunxi based boards.
128config DISP2_TV_GM7121
129    tristate "GM7121 TV module Support(sunxi-disp2)"
130    depends on (DISP2_SUNXI && TV_DISP2_SUNXI)
131    default n
132    ---help---
133
134config EDP_DISP2_SUNXI
135    tristate "EDP Driver Support(sunxi-disp2)"
136    depends on (DISP2_SUNXI)
137    default n
138    ---help---
139      EDP 1.2 driver for sunxi. Embedded Display Port is
140      a high speed display interface for embedded device.
141      DisplayPort can be used to transmit audio and video
142      simultaneously, but each one is optional and can be
143      transmitted without the other.
144
145config DISP2_TV_AC200
146    tristate "AC200 TV module Support(sunxi-disp2)"
147    depends on (DISP2_SUNXI && MFD_ACX00)
148    default n
149    ---help---
150
151config EINK_PANEL_USED
152    bool "Eink panel used"
153    depends on (DISP2_SUNXI && (ARCH_SUN8IW10 || ARCH_SUN8IW15))
154    default n
155    ---help---
156
157config EINK200_SUNXI
158    bool "Eink Driver Version 2.0 Support"
159    depends on (DISP2_SUNXI && ARCH_SUN50IW10)
160    default n
161    ---help---
162
163config DISP2_SUNXI_BOOT_COLORBAR
164    bool "boot colorbar Support for disp driver(sunxi-disp2)"
165    depends on DISP2_SUNXI
166    default n
167    ---help---
168      If true, the framebuffer will be filled by specified data
169      to display vertical colorbar.
170
171menu "LCD panels select"
172    depends on DISP2_SUNXI
173
174source "$(BSP_DIR)/../libraries/sunxi-hal/hal/source/disp2/disp/lcd/Kconfig"
175endmenu
176
177
178menu "Display engine feature select"
179    depends on DISP2_SUNXI
180
181source "$(BSP_DIR)/../libraries/sunxi-hal/hal/source/disp2/disp/Kconfig"
182endmenu
183
184menu "Soc and board select"
185    depends on DISP2_SUNXI
186
187source "$(BSP_DIR)/../libraries/sunxi-hal/hal/source/disp2/soc/Kconfig"
188endmenu
189
190endmenu
191