[PATCH v2] i.MX51 Framebuffer support
Sascha Hauer
s.hauer at pengutronix.de
Mon Dec 20 05:48:38 EST 2010
The following series adds i.MX51 framebuffer support based on the IPUv3. It
is not perfect but I decided it is good enough to open it for a wider audience
and collect first reviews. I tested this on a babbage board using both outputs
(VGA/DVI) with different resolutions up to 1680x1050 and different colour depths.
I also tested it on one custom board using a fixed display setting.
Changes since v1:
- added full overlay support for i.MX51
- more data structures protection
- IPU clock now gets disabled when unused
- many minor cleanups due to comments received from the first round.
The following changes since commit 28a4f908acb342350b9ecbfcdf0a999cb83e05aa:
ARM: mx5: check for error in ioremap (2010-12-14 09:55:53 +0100)
are available in the git repository at:
git://git.pengutronix.de/git/imx/linux-2.6.git ipuv3
Sascha Hauer (9):
ARM i.MX51: Add ipu clock support
ARM i.MX51: rename IPU irqs
Add a mfd IPUv3 driver
fb: export fb mode db table
Add i.MX5 framebuffer driver
ARM i.MX51: Add IPU device support
ARM i.MX5: Allow to increase max zone order
ARM i.MX5: increase dma consistent size for IPU support
ARM i.MX51 babbage: Add framebuffer support
arch/arm/Kconfig | 4 +-
arch/arm/mach-mx5/Kconfig | 1 +
arch/arm/mach-mx5/board-mx51_babbage.c | 74 ++
arch/arm/mach-mx5/clock-mx51-mx53.c | 140 ++++
arch/arm/mach-mx5/devices-imx51.h | 4 +
arch/arm/plat-mxc/devices/Kconfig | 4 +
arch/arm/plat-mxc/devices/Makefile | 1 +
arch/arm/plat-mxc/devices/platform-imx_ipuv3.c | 47 ++
arch/arm/plat-mxc/include/mach/devices-common.h | 10 +
arch/arm/plat-mxc/include/mach/ipu-v3.h | 49 ++
arch/arm/plat-mxc/include/mach/memory.h | 3 +-
arch/arm/plat-mxc/include/mach/mx51.h | 4 +-
drivers/mfd/Kconfig | 7 +
drivers/mfd/Makefile | 1 +
drivers/mfd/imx-ipu-v3/Makefile | 3 +
drivers/mfd/imx-ipu-v3/ipu-common.c | 708 +++++++++++++++++
drivers/mfd/imx-ipu-v3/ipu-cpmem.c | 612 +++++++++++++++
drivers/mfd/imx-ipu-v3/ipu-dc.c | 364 +++++++++
drivers/mfd/imx-ipu-v3/ipu-di.c | 550 +++++++++++++
drivers/mfd/imx-ipu-v3/ipu-dmfc.c | 355 +++++++++
drivers/mfd/imx-ipu-v3/ipu-dp.c | 476 ++++++++++++
drivers/mfd/imx-ipu-v3/ipu-prv.h | 216 ++++++
drivers/video/Kconfig | 11 +
drivers/video/Makefile | 1 +
drivers/video/modedb.c | 7 +-
drivers/video/mx5fb.c | 934 +++++++++++++++++++++++
include/linux/fb.h | 3 +
include/linux/mfd/imx-ipu-v3.h | 219 ++++++
28 files changed, 4802 insertions(+), 6 deletions(-)
create mode 100644 arch/arm/plat-mxc/devices/platform-imx_ipuv3.c
create mode 100644 arch/arm/plat-mxc/include/mach/ipu-v3.h
create mode 100644 drivers/mfd/imx-ipu-v3/Makefile
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-common.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-cpmem.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-dc.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-di.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-dmfc.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-dp.c
create mode 100644 drivers/mfd/imx-ipu-v3/ipu-prv.h
create mode 100644 drivers/video/mx5fb.c
create mode 100644 include/linux/mfd/imx-ipu-v3.h
More information about the linux-arm-kernel
mailing list