• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Video configuration for sunxi platform
3#
4
5menu "Video Support for Allwinner SoCs"
6	depends on FB
7
8config FB_CONSOLE_SUNXI
9	bool "Framebuffer Console Support(sunxi)"
10	select FB_CFB_FILLRECT
11	select FB_CFB_COPYAREA
12	select FB_CFB_IMAGEBLIT
13	default n
14	help
15	  Frame buffer driver for sunxi based boards.
16
17config DISP2_SUNXI
18	tristate "DISP Driver Support(sunxi-disp2)"
19#	depends on (ARCH_SUNXI)
20	default n
21	select DMA_SHARED_BUFFER
22	help
23	  Display driver for sunxi based boards.
24
25choice
26    prompt "DISP2 Framebuffer rotation support"
27	default SUNXI_DISP2_FB_DISABLE_ROTATE
28
29config SUNXI_DISP2_FB_DISABLE_ROTATE
30	bool "Disable rotation"
31	depends on (DISP2_SUNXI)
32	help
33	  Do not use framebuffer rotation
34
35config SUNXI_DISP2_FB_ROTATION_SUPPORT
36	bool "Software rotation support"
37	depends on (DISP2_SUNXI)
38	help
39	  Framebuffer software rotation on the top of disp2.
40
41config SUNXI_DISP2_FB_HW_ROTATION_SUPPORT
42	bool "Hardware(G2D) rotation support"
43	depends on (DISP2_SUNXI && SUNXI_G2D)
44	help
45	  Framebuffer hardware(G2D) rotation on the top of disp2.
46
47endchoice
48
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
74choice
75	prompt "HDMI2.0 PHY SELECT."
76config AW_PHY
77	bool "Allwinner PHY"
78	depends on HDMI2_DISP2_SUNXI
79	help
80	Use sunxi self phy to show
81config DEFAULT_PHY
82	bool "Synopsys PHY"
83	depends on HDMI2_DISP2_SUNXI
84	help
85	Use original phy to show
86endchoice
87
88config HDMI_EP952_DISP2_SUNXI
89	tristate "HDMI EP952 Driver Support(sunxi-disp2)"
90	depends on (DISP2_SUNXI)
91	default n
92	help
93	  Hdmi ep952 driver for sunxi based boards.
94
95menuconfig HDMI2_HDCP_SUNXI
96  bool "HDMI2.0 HDCP"
97  depends on (HDMI2_DISP2_SUNXI)
98  default n
99  help
100  Say Y here if you want to handle the cec message by User Space.
101  Say N here if you want to handle the cec message by Kernel.
102  If unsure, say N.
103
104config HDMI2_HDCP22_SUNXI
105  bool "HDMI2.0 HDCP2.2"
106  depends on (HDMI2_HDCP_SUNXI && HDMI2_DISP2_SUNXI)
107  default n
108  help
109  Say Y here if you want to handle the cec message by User Space.
110  Say N here if you want to handle the cec message by Kernel.
111  If unsure, say N.
112
113menuconfig HDMI2_CEC_SUNXI
114  bool "HDMI2.0 CEC"
115  depends on (HDMI2_DISP2_SUNXI)
116  default n
117  help
118  Say Y here if you want to handle the cec message by User Space.
119  Say N here if you want to handle the cec message by Kernel.
120  If unsure, say N.
121
122config HDMI2_CEC_USER
123  bool "HDMI2.0 CEC handled by user space"
124  depends on (HDMI2_CEC_SUNXI && HDMI2_DISP2_SUNXI)
125  default n
126  help
127  Say Y here if you want to handle the cec message by User Space.
128  Say N here if you want to handle the cec message by Kernel.
129  If unsure, say N.
130
131config HDMI2_FREQ_SPREAD_SPECTRUM
132  bool "new frequency spread spectrum(hershey) of sunxi"
133  depends on HDMI2_DISP2_SUNXI
134  default n
135  help
136  Say Y here if you want to use new frequency spread spectrum(hershey) of sunxi.
137  Say N here if you do NOT want to new frequency spread spectrum of sunxi.
138  If unsure, say N
139
140config TV_DISP2_SUNXI
141	 tristate "TV Driver Support(sunxi-disp2)"
142	 depends on (DISP2_SUNXI)
143	 default n
144	 help
145	  TV driver for sunxi based boards.
146config VDPO_DISP2_SUNXI
147	 tristate "VDPO Driver Support(sunxi-disp2)"
148	 depends on (DISP2_SUNXI)
149	 default n
150	 help
151	  VDPO driver for sunxi based boards.
152config DISP2_TV_GM7121
153	tristate "GM7121 TV module Support(sunxi-disp2)"
154 	depends on (DISP2_SUNXI && TV_DISP2_SUNXI)
155	default n
156	help
157	  TV GM7121 support for Allwinner platforms.
158
159config EDP_DISP2_SUNXI
160	tristate "EDP Driver Support(sunxi-disp2)"
161	depends on (DISP2_SUNXI)
162	default n
163	help
164      EDP 1.2 driver for sunxi. Embedded Display Port is
165      a high speed display interface for embedded device.
166      DisplayPort can be used to transmit audio and video
167      simultaneously, but each one is optional and can be
168      transmitted without the other.
169
170config DISP2_TV_AC200
171	tristate "AC200 TV module Support(sunxi-disp2)"
172	depends on (DISP2_SUNXI && MFD_ACX00)
173	default n
174	help
175	  TV AC200 support for Allwinner platforms.
176
177config EINK_PANEL_USED
178	bool "Eink panel used"
179	depends on (DISP2_SUNXI && (ARCH_SUN8IW10 || ARCH_SUN8IW15))
180	default n
181	help
182	  EINK panel support for Allwinner platforms.
183
184config EINK200_SUNXI
185	tristate "Eink Driver Version 2.0 Support"
186	depends on (DISP2_SUNXI && ARCH_SUN50IW10)
187	default n
188	help
189	  EINK200 support for Allwinner platforms.
190
191config DISP2_SUNXI_BOOT_COLORBAR
192	bool "boot colorbar Support for disp driver(sunxi-disp2)"
193	depends on DISP2_SUNXI
194	default n
195	help
196	  If true, the framebuffer will be filled by specified data
197	  to display vertical colorbar.
198
199config DISP2_SUNXI_DEBUG
200	bool "debugfs support for disp driver(sunxi-disp2)"
201	depends on DISP2_SUNXI
202	default n
203	help
204	  This enable debugfs support for display driver. You can
205	  get debug info or debug the driver via debugfs interface.
206
207config DISP2_SUNXI_COMPOSER
208	bool "composer support for disp driver(sunxi-disp2)"
209	depends on DISP2_SUNXI
210	select SYNC_FILE
211	default n
212	help
213	  This enable composer support for display driver. The composer
214	  will serve hwc only.
215config DISP2_LCD_ESD_DETECT
216	bool "ESD detect support for LCD panel"
217	depends on DISP2_SUNXI
218	default n
219	help
220	  This enable lcd  esd detect and panel reset for display driver. User must
221	  define panel_reset and esd_check function.
222
223config LCD_FB
224	tristate "Framebuffer implementaion without display hardware of AW"
225#	depends on (ARCH_SUNXI)
226	select FB_CFB_FILLRECT
227	select FB_CFB_COPYAREA
228	select FB_CFB_IMAGEBLIT
229	select BACKLIGHT_CLASS_DEVICE
230	default n
231	help
232	  Framebuffer implementaion for LCD panel without DE and tcon
233
234config LCD_FB_ENABLE_DEFERRED_IO
235	bool "Enable LCD_FB FB_DEFERRED_IO"
236	select FB_DEFERRED_IO
237	default n
238	help
239	  Enable linux framebuffer FB_DEFERRED_IO for LCD_FB
240
241menu "LCD panels select"
242	depends on DISP2_SUNXI
243
244source "$(BSP_TOP)drivers/video/sunxi/disp2/disp/lcd/Kconfig"
245endmenu
246
247menu "LCD fb panels select"
248	depends on LCD_FB
249
250source "$(BSP_TOP)drivers/video/sunxi/lcd_fb/panels/Kconfig"
251endmenu
252
253menu "Display engine feature select"
254	depends on DISP2_SUNXI
255
256source "$(BSP_TOP)drivers/video/sunxi/disp2/disp/Kconfig"
257endmenu
258
259endmenu
260