Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754008Ab0LINrc (ORCPT ); Thu, 9 Dec 2010 08:47:32 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:42237 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753410Ab0LINr3 (ORCPT ); Thu, 9 Dec 2010 08:47:29 -0500 From: Sascha Hauer To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Zhang Lily-R58066 , Arnaud Patard Subject: [PATCH RFC] i.MX51 Framebuffer support Date: Thu, 9 Dec 2010 14:47:12 +0100 Message-Id: <1291902441-24712-1-git-send-email-s.hauer@pengutronix.de> X-Mailer: git-send-email 1.7.2.3 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3717 Lines: 74 Hi, 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. Sascha The following changes since commit a96a688dcea84047c982dfbb61a335fa00d14f9a: mx51: support FIQ on TZIC, revised (2010-12-07 22:29:32 +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 | 48 ++ arch/arm/plat-mxc/include/mach/memory.h | 2 +- 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 | 661 ++++++++++++++++++ drivers/mfd/imx-ipu-v3/ipu-cpmem.c | 608 ++++++++++++++++ drivers/mfd/imx-ipu-v3/ipu-dc.c | 362 ++++++++++ drivers/mfd/imx-ipu-v3/ipu-di.c | 507 ++++++++++++++ drivers/mfd/imx-ipu-v3/ipu-dmfc.c | 343 +++++++++ drivers/mfd/imx-ipu-v3/ipu-dp.c | 468 +++++++++++++ drivers/mfd/imx-ipu-v3/ipu-prv.h | 214 ++++++ drivers/video/Kconfig | 11 + drivers/video/Makefile | 1 + drivers/video/modedb.c | 7 +- drivers/video/mx5fb.c | 846 +++++++++++++++++++++++ include/linux/fb.h | 3 + include/linux/mfd/imx-ipu-v3.h | 218 ++++++ 28 files changed, 4593 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/