]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/atmel_lcd.h
2 * atmel_lcd.h - Atmel LCD Controller structures
5 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 * SPDX-License-Identifier: GPL-2.0+
13 typedef struct vidinfo
{
14 ushort vl_col
; /* Number of columns (i.e. 640) */
15 ushort vl_row
; /* Number of rows (i.e. 480) */
16 ushort vl_rot
; /* Rotation of Display (0, 1, 2, 3) */
17 u_long vl_clk
; /* pixel clock in ps */
19 /* LCD configuration register */
20 u_long vl_sync
; /* Horizontal / vertical sync */
21 u_long vl_bpix
; /* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */
22 u_long vl_tft
; /* 0 = passive, 1 = TFT */
23 u_long vl_cont_pol_low
; /* contrast polarity is low */
24 u_long vl_clk_pol
; /* clock polarity */
26 /* Horizontal control register. */
27 u_long vl_hsync_len
; /* Length of horizontal sync */
28 u_long vl_left_margin
; /* Time from sync to picture */
29 u_long vl_right_margin
; /* Time from picture to sync */
31 /* Vertical control register. */
32 u_long vl_vsync_len
; /* Length of vertical sync */
33 u_long vl_upper_margin
; /* Time from sync to picture */
34 u_long vl_lower_margin
; /* Time from picture to sync */
36 u_long mmio
; /* Memory mapped registers */