]> git.karo-electronics.de Git - linux-beck.git/commit
fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support
authorMagnus Damm <damm@opensource.se>
Wed, 5 Jan 2011 10:21:00 +0000 (10:21 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 6 Jan 2011 06:43:18 +0000 (15:43 +0900)
commit417d48274e755e537bae60461558c1f63a4e14de
tree49a70964e2ccf625a4b028cb8eb0403735c93de8
parent97cbc8fb1e35e328073e84c4031bd338306397d6
fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support

This patch extends the LCDC driver with 24 bpp
and 32 bpp support.

These modes have been kept disabled earlier due
to dependencies between the potential two LCDC
channels that are exported as two separate
framebuffer devices. The dependency boils down
to a byte swap register that is shared between
multiple channels.

With this patch applied all single channel LCDC
hardware can chose freely from 16, 24 and 32 bpp.
Dual channel LCDC must stick to the same setup
for both channels.

Without this patch only 16 bpp is fully supported.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c