linux-stable-rt/include/asm-arm/arch-pxa
Hans J. Koch 9ffa739606 pxafb: Add support for other palette formats
This patch adds support for the other three palette formats possible with
the PXA LCD controller. This is required on boards where an LCD is connected
with all its 18 bits. With this patch, it's possible to use an 8-bit mode
with 18-bit palette entries. This used to be possible in 2.4 kernels but
disappeared in 2.6. With current kernels, you can only get wrong colours
out of an LCD connected this way.

Users can choose the palette format by doing something like this
in their board definition:

static struct pxafb_mach_info my_fb_info = {
        [...]
        .lccr3          = LCCR3_OutEnH | LCCR3_PixFlEdg | LCCR3_PDFOR_3,
        .lccr4          = LCCR4_PAL_FOR_2,
        [...]
};

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:15 -07:00
..
akita.h
audio.h
bitfield.h
cm-x270.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
corgi.h
debug-macro.S
dma.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
entry-macro.S
gpio.h [ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put() 2007-10-15 18:53:55 +01:00
hardware.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
i2c.h
idp.h
io.h
irda.h
irqs.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
lpd270.h
lubbock.h
mainstone.h
memory.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
mfp-pxa300.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
mfp-pxa320.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
mfp.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
mmc.h
mtd-xip.h
ohci.h
pm.h
poodle.h
pxa-regs.h pxafb: Add support for other palette formats 2007-10-16 09:43:15 -07:00
pxa2xx_spi.h
pxa3xx-regs.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
pxa27x_keyboard.h
pxafb.h pxafb: Add support for other palette formats 2007-10-16 09:43:15 -07:00
sharpsl.h
spitz.h
ssp.h
system.h
timex.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
tosa.h
trizeps4.h
udc.h
uncompress.h
vmalloc.h
zylonite.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00