From patchwork Tue Dec 7 06:59:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 74492 X-Patchwork-Delegate: grant.likely@secretlab.ca Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 3FF31B76BE for ; Tue, 7 Dec 2010 17:59:35 +1100 (EST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id A7EBFB70E7 for ; Tue, 7 Dec 2010 17:59:27 +1100 (EST) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 997F2180596B; Tue, 7 Dec 2010 07:59:25 +0100 (CET) X-Auth-Info: XEhUtfokcdTEJ06GBSiX2eJvjHpqXIjTaWMUJfPNzPU= Received: from mail.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id A3F201C0016E; Tue, 7 Dec 2010 07:59:25 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail.denx.de (Postfix) with ESMTP id 94A0C40C32AF; Tue, 7 Dec 2010 07:59:25 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 8970C101174A2; Tue, 7 Dec 2010 07:59:25 +0100 (CET) From: Heiko Schocher To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/2 v2] powerpc, video: add SM501 support for charon board. Date: Tue, 7 Dec 2010 07:59:20 +0100 Message-Id: <1291705160-26847-1-git-send-email-hs@denx.de> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1291451028-22532-2-git-send-email-hs@denx.de> References: <1291451028-22532-2-git-send-email-hs@denx.de> Cc: linux-fbdev@vger.kernel.org, Heiko Schocher , devicetree-discuss@ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Signed-off-by: Heiko Schocher cc: linux-fbdev@vger.kernel.org cc: devicetree-discuss@ozlabs.org --- - based against 2.6.37-rc4 ./scripts/checkpatch.pl 0003-powerpc-video-add-SM501-support-for-charon-board.patch total: 0 errors, 0 warnings, 21 lines checked 0003-powerpc-video-add-SM501-support-for-charon-board.patch has no obvious style problems and is ready for submission. - changes since v1: - no board specific defconfig file for mpc52xx based boards as suggested from Wolfram Sang arch/powerpc/boot/dts/charon.dts | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts index 9776889..d9af022 100644 --- a/arch/powerpc/boot/dts/charon.dts +++ b/arch/powerpc/boot/dts/charon.dts @@ -186,6 +186,7 @@ #address-cells = <2>; #size-cells = <1>; ranges = < 0 0 0xfc000000 0x02000000 + 1 0 0xe0000000 0x04000000 // CS1 range, SM501 3 0 0xe8000000 0x00080000>; flash@0,0 { @@ -197,6 +198,14 @@ #address-cells = <1>; }; + display@1,0 { + compatible = "smi,sm501"; + reg = <1 0x00000000 0x00800000 + 1 0x03e00000 0x00200000>; + mode = "640x480-32@60"; + interrupts = <1 1 3>; + }; + mram0@3,0 { compatible = "mtd-ram"; reg = <3 0x00000 0x80000>;