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: 4021611 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E9C8D9F319 for ; Sun, 20 Apr 2014 15:04:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D40B2021A for ; Sun, 20 Apr 2014 15:04:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 45DAC2018B for ; Sun, 20 Apr 2014 15:04:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6B3E96E1D3; Sun, 20 Apr 2014 08:04:27 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 76D796EC41 for ; Fri, 18 Apr 2014 02:49:51 -0700 (PDT) Received: by mail-wg0-f47.google.com with SMTP id x12so346058wgg.6 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-Mailman-Approved-At: Sun, 20 Apr 2014 08:04:17 -0700 Cc: Jean-Jacques Hiblot , plagnioj@jcrosoft.com, linux-kernel@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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"; };