From patchwork Wed Jul 17 10:08:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Showliu X-Patchwork-Id: 18400 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2BD8C25D87 for ; Wed, 17 Jul 2013 10:09:48 +0000 (UTC) Received: by mail-we0-f199.google.com with SMTP id t56sf2009200wes.6 for ; Wed, 17 Jul 2013 03:09:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=7w4jvXW9hTf/Hf0IlNWf88XmeUGVoyp3S4zS7Qm1g/s=; b=dBRUNCzK/31ah/fn+tgq1i7qn7YqA7wjViMnBMfakdO7l84Ro0n72Oc5Lyn09ogKZ5 /7ZREWUitNTLDJT8ejtkGQUbER7msY82x4Wca6SDe/5BCKeBJais4e5083aymHk9CBeW ButBcuL0GuDplcdEdWixEKYzylQRjkHKBF72X2pOzOGzAaNWYLAbAdS/CsVLddk6VLI0 4V9lodBqNedHR5lEqQqV2AYuxFyaACg2l/D+BmFQB1oIQF7rUiO4xppnpOHSdngpqw7O YO5Uiwcrz1pPXlhouroETRnVratpIyaFQkrmbQIhISIHnzI4lWLecbsi8jhuwIrNogC5 KWVA== X-Received: by 10.180.182.230 with SMTP id eh6mr11541423wic.3.1374055787046; Wed, 17 Jul 2013 03:09:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.181.11.167 with SMTP id ej7ls359506wid.50.gmail; Wed, 17 Jul 2013 03:09:46 -0700 (PDT) X-Received: by 10.194.63.229 with SMTP id j5mr4173250wjs.79.1374055781748; Wed, 17 Jul 2013 03:09:41 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id q8si8676897wia.79.2013.07.17.03.09.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 03:09:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id pa12so1304612veb.25 for ; Wed, 17 Jul 2013 03:09:40 -0700 (PDT) X-Received: by 10.52.91.202 with SMTP id cg10mr1532440vdb.85.1374055780537; Wed, 17 Jul 2013 03:09:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.149.77 with SMTP id s13csp164354vcv; Wed, 17 Jul 2013 03:09:39 -0700 (PDT) X-Received: by 10.66.156.132 with SMTP id we4mr7251038pab.28.1374055779441; Wed, 17 Jul 2013 03:09:39 -0700 (PDT) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by mx.google.com with ESMTPS id yo6si4424811pac.323.2013.07.17.03.09.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 03:09:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.51 is neither permitted nor denied by best guess record for domain of show.liu@linaro.org) client-ip=209.85.160.51; Received: by mail-pb0-f51.google.com with SMTP id um15so1736213pbc.24 for ; Wed, 17 Jul 2013 03:09:39 -0700 (PDT) X-Received: by 10.68.131.68 with SMTP id ok4mr6016789pbb.146.1374055778934; Wed, 17 Jul 2013 03:09:38 -0700 (PDT) Received: from localhost.localdomain ([111.81.249.106]) by mx.google.com with ESMTPSA id v20sm9642806paj.4.2013.07.17.03.09.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 03:09:37 -0700 (PDT) From: Show Liu To: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org, tom.gall@linaro.org, pawel.moll@arm.com, t.katayama@jp.fujitsu.com, vikas.sajjan@linaro.org, linaro-kernel@lists.linaro.org, Show Liu Subject: [PATCH 2/2] CDFv2 for VExpress HDLCD DVI output support Date: Wed, 17 Jul 2013 18:08:57 +0800 Message-Id: <1374055737-6643-3-git-send-email-show.liu@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1374055737-6643-1-git-send-email-show.liu@linaro.org> References: <1374055737-6643-1-git-send-email-show.liu@linaro.org> X-Gm-Message-State: ALoCoQmD/Sd3auDv27hsRzUzaJBNItEhtDHUVs5n51Cas8WgBOA/ZUlCtqbiZpPm/q5ZHkPhtMrb X-Original-Sender: show.liu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , --- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 6 +- drivers/video/arm-hdlcd.c | 116 +++++++++++++++++++++++++--- drivers/video/vexpress-dvimode.c | 11 +++ drivers/video/vexpress-muxfpga.c | 8 +- include/linux/arm-hdlcd.h | 6 ++ 5 files changed, 135 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts index f1dc620..aeef32d 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts @@ -145,10 +145,14 @@ compatible = "arm,hdlcd"; reg = <0 0x2b000000 0 0x1000>; interrupts = <0 85 4>; - mode = "1024x768-16@60"; framebuffer = <0 0xff000000 0 0x01000000>; clocks = <&oscclk5>; clock-names = "pxlclk"; + label = "V2P-CA15_A7 HDLCD"; + display = <&v2m_muxfpga 0xf>; + max-hactive = <1280>; + max-vactive = <1024>; + max-bpp = <16>; }; memory-controller@2b0a0000 { diff --git a/drivers/video/arm-hdlcd.c b/drivers/video/arm-hdlcd.c index cfd631e..528239f 100644 --- a/drivers/video/arm-hdlcd.c +++ b/drivers/video/arm-hdlcd.c @@ -31,7 +31,8 @@ #include #include #endif - +#include