video/lcd: add new driver of LCD controler for Atmel new SoC
Subsystems (2)
PATCH 1/1 video/lcd: add new driver of LCD controler for Atmel new SoC
The Atmel new SoC (at91sam9x5 series and at91sam9n12) add a totally different LCD controller. Add this new driver is used to support it.
Using CONFIG_ATMEL_HLCD (distinguish with CONFIG_ATMEL_LCD) to enable this in board configuration file.
--- drivers/video/Makefile | 1 + drivers/video/atmel_hlcdfb.c | 241 ++++++++++++++++++++++++++++++++++++++++++ include/atmel_hlcdc.h | 225 +++++++++++++++++++++++++++++++++++++++ include/lcd.h | 3 +- 4 files changed, 469 insertions(+), 1 deletion(-) create mode 100644 drivers/video/atmel_hlcdfb.c create mode 100644 include/atmel_hlcdc.h
drivers/video/Makefile +1 -0
@@ -27,6 +27,7 @@ LIB := $(obj)libvideo.o COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o +COBJS-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o COBJS-$(CONFIG_CFB_CONSOLE) += cfb_console.o COBJS-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o videomodes.o COBJS-$(CONFIG_S6E63D6) += s6e63d6.o
drivers/video/atmel_hlcdfb.c new file +241 -0
241 lines not on this page · raw message
include/atmel_hlcdc.h new file +225 -0
225 lines not on this page · raw message
include/lcd.h +2 -1
@@ -157,7 +157,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) */
@@ -169,6 +169,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 */
Signature · 1 line
1.7.10
PATCH 1/1 video/lcd: add new driver of LCD controler for Atmel new SoC
drivers/video/Makefile LIB := $(obj)libvideo.o · line 30
Quoted 6 lines · On Thursday 17 May 2012 22:49:46 Bo Shen wrote:
drivers/video/Makefile +1
-0COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o +COBJS-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o
H comes before L ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120517/1969f3bc/attachment.pgp>
PATCH 1/1 video/lcd: add new driver of LCD controler for Atmel new SoC
Quoted 10 lines · Mike Frysinger
drivers/video/Makefile LIB := $(obj)libvideo.o · line 30
Quoted 6 lines · On Thursday 17 May 2012 22:49:46 Bo Shen wrote:
drivers/video/Makefile +1
-0COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o +COBJS-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.oH comes before L ;)
-mike
Mike, thanks.
Quoted 7 lines
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot