avr32: fix 15-bit LCDC pin mask to use MSB lines
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 24 Mar 2009 14:45:14 +0000 (15:45 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 26 Mar 2009 13:49:39 +0000 (14:49 +0100)
commitef419021907b2daa51ac31bdc1f858b1b1338b07
tree5b3cc91e391f3b42a5cd34329f27c721efe337b0
parent5201b0a47b83aba66e1e348d18f3f9a7bc17d612
avr32: fix 15-bit LCDC pin mask to use MSB lines

This patch corrects the 15-bit LCDC pin mask definitions to select the
five upper lines in each color byte from the LCDC data output. When
reducing the color depth the LCDC will start filling MSB and downwards.

Also only enable 5 bits per color as the define indicates.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/mach-at32ap/include/mach/at32ap700x.h