]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
avr32: set pin mask to alternative 18 bpp for EVKLCD10x boards
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 24 Mar 2009 14:45:16 +0000 (15:45 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 26 Mar 2009 13:49:39 +0000 (14:49 +0100)
This patch will set the pin mask to alternative 18 bits per pixel output
for EVKLCD10x boards.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/boards/atngw100/evklcd10x.c

index 8140b22b3461aaadb4cd7fd1386f8bd798acc1ec..fbc7b03ef88639c4a2df677bd4b54471612a76a5 100644 (file)
@@ -149,7 +149,8 @@ static int __init atevklcd10x_init(void)
        at32_add_device_ac97c(0, &ac97c0_data);
 
        at32_add_device_lcdc(0, &atevklcd10x_lcdc_data,
-                       fbmem_start, fbmem_size, 1);
+                       fbmem_start, fbmem_size,
+                       ATMEL_LCDC_ALT_18BIT | ATMEL_LCDC_PE_DVAL);
        return 0;
 }
 postcore_initcall(atevklcd10x_init);