From patchwork Fri Apr 18 09:45:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 4014801 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AEB92BFF02 for ; Fri, 18 Apr 2014 09:52:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F277A202E6 for ; Fri, 18 Apr 2014 09:52:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F236020270 for ; Fri, 18 Apr 2014 09:52:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wb5R6-00040u-DE; Fri, 18 Apr 2014 09:50:20 +0000 Received: from mail-we0-f176.google.com ([74.125.82.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wb5Qy-0002tD-Da for linux-arm-kernel@lists.infradead.org; Fri, 18 Apr 2014 09:50:13 +0000 Received: by mail-we0-f176.google.com with SMTP id x48so1380743wes.21 for ; Fri, 18 Apr 2014 02:49:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M1vObK++kbu6Y76OlZE9ah/LftiGawGNAphM3KkoymE=; b=UAUSkDKO8v8HJzsjmcCTrz8fKlUyF3t+bM3cbmHqNfUXk4byle5oepq94UufRLuO2x 1nwF5Ivy9LElv8A+Xax3M+dbsxVvIJ+DSwaSOocMWwhxJY/D+3n4jDRuMhV5ISm3gYPq 3uw8jYzoO2zXsK2Lzc09+dOWjNLCTCeXlLPCPbwW+gDDRhvnfcLUWpIS0XFk66v9qv5P LW4tRiHuyyNT23+J4GKxVoqNv0kprO/Bglt4V1PGgLEEqY+lQcYs19mruZF//qYfn4hD LkoikN8MnL5pFSHp5j5crYz1LLchY0NBYR6TfRPaEXqdBGbNvJHW1IGPZQZ3FIVix/Az f2jw== X-Received: by 10.194.176.226 with SMTP id cl2mr169023wjc.55.1397814590400; Fri, 18 Apr 2014 02:49:50 -0700 (PDT) Received: from localhost.localdomain (sch42-5-78-217-165-73.fbx.proxad.net. [78.217.165.73]) by mx.google.com with ESMTPSA id eu7sm2311309wib.18.2014.04.18.02.49.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Apr 2014 02:49:49 -0700 (PDT) From: Jean-Jacques Hiblot To: nicolas.ferre@atmel.com, boris.brezillon@free-electrons.com, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [RFC 3/3] atmel: dt: Add supports for the lcdc support on the sama5d36ek Date: Fri, 18 Apr 2014 11:45:09 +0200 Message-Id: <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397814309-32160-1-git-send-email-jjhiblot@traphandler.com> References: <1397814309-32160-1-git-send-email-jjhiblot@traphandler.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140418_025012_602181_B49A7DCF X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: -0.7 (/) Cc: airlied@linux.ie, Jean-Jacques Hiblot , robdclark@gmail.com, plagnioj@jcrosoft.com, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jean-Jacques Hiblot --- arch/arm/boot/dts/sama5d36ek.dts | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts index 59576c6..df01037 100644 --- a/arch/arm/boot/dts/sama5d36ek.dts +++ b/arch/arm/boot/dts/sama5d36ek.dts @@ -11,12 +11,17 @@ #include "sama5d3xmb.dtsi" #include "sama5d3xdm.dtsi" + / { model = "Atmel SAMA5D36-EK"; compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; ahb { apb { + hlcdc: hlcdc@f0030000 { + status = "okay"; + }; + spi0: spi@f0004000 { status = "okay"; }; @@ -46,7 +51,27 @@ }; }; }; - + panel { + compatible = "atmel,hlcdc,panel"; + invert-hsync; + invert-vsync; + status = "okay"; + display-timings { + 800x480p60 { + clock-frequency = <33260000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <168>; + hback-porch = <88>; + hsync-len = <64>; + vback-porch = <8>; + vfront-porch = <37>; + vsync-len = <2>; + hsync-active = <1>; + vsync-active = <1>; + }; + }; + }; sound { status = "okay"; };