diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-05-25 00:59:58 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-06-05 11:19:02 +0200 |
commit | f6b690e65c0aa5f3da22546ac597d9f01cff2e4e (patch) | |
tree | 3d0fde5fea696ef9c982124a255d7479fdc78e29 /include/lcd.h | |
parent | bfd4be803bbb7d122c2e3aaf6eaf987efa8d69da (diff) | |
download | u-boot-imx-f6b690e65c0aa5f3da22546ac597d9f01cff2e4e.zip u-boot-imx-f6b690e65c0aa5f3da22546ac597d9f01cff2e4e.tar.gz u-boot-imx-f6b690e65c0aa5f3da22546ac597d9f01cff2e4e.tar.bz2 |
video: atmel/lcd: add LCD driver for new Atmel SoC
The new Atmel SoC (at91sam9x5 series and at91sam9n12) add a totally
different LCD controller. Add this new driver to support it.
Using CONFIG_ATMEL_HLCD (distinguish with CONFIG_ATMEL_LCD) to enable
this in board configuration file.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/lcd.h')
-rw-r--r-- | include/lcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lcd.h b/include/lcd.h index ee47247..6e0a2a3 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -158,7 +158,7 @@ typedef struct vidinfo { struct pxafb_info pxa; } vidinfo_t; -#elif defined(CONFIG_ATMEL_LCD) +#elif defined(CONFIG_ATMEL_LCD) || defined(CONFIG_ATMEL_HLCD) typedef struct vidinfo { ushort vl_col; /* Number of columns (i.e. 640) */ @@ -170,6 +170,7 @@ typedef struct vidinfo { u_long vl_bpix; /* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */ u_long vl_tft; /* 0 = passive, 1 = TFT */ u_long vl_cont_pol_low; /* contrast polarity is low */ + u_long vl_clk_pol; /* clock polarity */ /* Horizontal control register. */ u_long vl_hsync_len; /* Length of horizontal sync */ |