From patchwork Wed Nov 10 12:04:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Rubin X-Patchwork-Id: 314212 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 oAACroep012894 for ; Wed, 10 Nov 2010 12:53:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755837Ab0KJMxp (ORCPT ); Wed, 10 Nov 2010 07:53:45 -0500 Received: from eu1sys200aog116.obsmtp.com ([207.126.144.141]:53587 "EHLO eu1sys200aog116.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755727Ab0KJMxp (ORCPT ); Wed, 10 Nov 2010 07:53:45 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 10 Nov 2010 12:53:51 +0000 (UTC) X-Greylist: delayed 1626 seconds by postgrey-1.27 at vger.kernel.org; Wed, 10 Nov 2010 07:53:43 EST Received: from source ([138.198.100.35]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKTNqV1ZiIUathpueFysg1Rx4ruYUwjq19@postini.com; Wed, 10 Nov 2010 12:53:43 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 63055136; Wed, 10 Nov 2010 12:26:36 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 93356532; Wed, 10 Nov 2010 12:26:35 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 9AA7424C2F4; Wed, 10 Nov 2010 13:26:28 +0100 (CET) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.2.254.0; Wed, 10 Nov 2010 13:26:34 +0100 From: Jimmy Rubin To: , , Cc: Linus Walleij , Dan Johansson , Jimmy Rubin Subject: [PATCH 10/10] ux500: MCDE: Add platform specific data Date: Wed, 10 Nov 2010 13:04:13 +0100 Message-ID: <1289390653-6111-11-git-send-email-jimmy.rubin@stericsson.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1289390653-6111-10-git-send-email-jimmy.rubin@stericsson.com> References: <1289390653-6111-1-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-2-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-3-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-4-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-5-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-6-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-7-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-8-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-9-git-send-email-jimmy.rubin@stericsson.com> <1289390653-6111-10-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 diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 2dd44a0..a868629 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -50,5 +50,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