From patchwork Tue Oct 12 07:42:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Rubin X-Patchwork-Id: 247011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9C7iLsE013873 for ; Tue, 12 Oct 2010 07:44:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756783Ab0JLHoS (ORCPT ); Tue, 12 Oct 2010 03:44:18 -0400 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:45978 "EHLO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756713Ab0JLHoR (ORCPT ); Tue, 12 Oct 2010 03:44:17 -0400 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKTLQRvZZWp321BUM/LNMaa22K0/McakHV@postini.com; Tue, 12 Oct 2010 07:44:16 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3E22973; Tue, 12 Oct 2010 07:43:54 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C7B831AFC; Tue, 12 Oct 2010 07:43:53 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 2A0D324C075; Tue, 12 Oct 2010 09:43:49 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 12 Oct 2010 09:43:53 +0200 From: Jimmy Rubin To: , , Cc: Linus Walleij , Dan Johansson , Jimmy Rubin Subject: RFC:[PATCH 2/2] Ux500: Add support for MCDE frame buffer driver Date: Tue, 12 Oct 2010 09:42:27 +0200 Message-ID: <1286869347-8980-3-git-send-email-jimmy.rubin@stericsson.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1286869347-8980-2-git-send-email-jimmy.rubin@stericsson.com> References: <1286869347-8980-1-git-send-email-jimmy.rubin@stericsson.com> <1286869347-8980-2-git-send-email-jimmy.rubin@stericsson.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 12 Oct 2010 07:44:21 +0000 (UTC) diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 23fe018..36c6675 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -52,5 +52,13 @@ config U5500_MBOX default y help Add support for U5500 mailbox communication with modem side +#Configuration for MCDE setup +config DISPLAY_GENERIC_DSI_PRIMARY + bool "Main display support" + depends on MACH_U8500_MOP && FB_MCDE && REGULATOR + select MCDE_DISPLAY_GENERIC_DSI + default y + help + Say yes here if main display exists endif diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index 9e27a84..5562c85 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -13,3 +13,4 @@ obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o obj-$(CONFIG_REGULATOR_AB8500) += board-mop500-regulators.o obj-$(CONFIG_U5500_MODEM_IRQ) += modem_irq.o obj-$(CONFIG_U5500_MBOX) += mbox.o +obj-$(CONFIG_FB_MCDE) += board-mop500-mcde.o diff --git a/arch/arm/mach-ux500/board-mop500-mcde.c b/arch/arm/mach-ux500/board-mop500-mcde.c new file mode 100644 index 0000000..3695746 --- /dev/null +++ b/arch/arm/mach-ux500/board-mop500-mcde.c @@ -0,0 +1,209 @@ +/* + * Copyright (C) ST-Ericsson SA 2010 + * + * Author: Marcus Lorentzon + * for ST-Ericsson. + * + * License terms: GNU General Public License (GPL), version 2. + */ +#include +#include +#include +#include + +#include