From: Hans-Christian Egtvedt Date: Tue, 24 Mar 2009 14:45:16 +0000 (+0100) Subject: avr32: set pin mask to alternative 18 bpp for EVKLCD10x boards X-Git-Tag: v2.6.30-rc1~201^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ecb1bd894e7238acfc6174602c29190d239be9b1;p=karo-tx-linux.git avr32: set pin mask to alternative 18 bpp for EVKLCD10x boards This patch will set the pin mask to alternative 18 bits per pixel output for EVKLCD10x boards. Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/boards/atngw100/evklcd10x.c b/arch/avr32/boards/atngw100/evklcd10x.c index 8140b22b3461..fbc7b03ef886 100644 --- a/arch/avr32/boards/atngw100/evklcd10x.c +++ b/arch/avr32/boards/atngw100/evklcd10x.c @@ -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);