From patchwork Thu Dec 19 15:59:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3383751 Return-Path: X-Original-To: patchwork-linux-arm@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 1F8B19F32E for ; Thu, 19 Dec 2013 17:44:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0844A2068D for ; Thu, 19 Dec 2013 17:44:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 CA59E20680 for ; Thu, 19 Dec 2013 17:44:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vtg4s-0004GI-E3; Thu, 19 Dec 2013 16:04:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vtg4A-00069P-Os; Thu, 19 Dec 2013 16:03:14 +0000 Received: from mail-bk0-x235.google.com ([2a00:1450:4008:c01::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vtg2c-0005uI-Bs for linux-arm-kernel@lists.infradead.org; Thu, 19 Dec 2013 16:01:40 +0000 Received: by mail-bk0-f53.google.com with SMTP id na10so769894bkb.40 for ; Thu, 19 Dec 2013 08:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MChtM+kk7aEt66uG0ZnwLKRZNPKHfwsTFEy4PyMYVZI=; b=xmQk6b6ktgbgdaycMJWGhSVLO96Z0/QqCyNu8PHPXRaIC7fA/gIrYLe5AglkwdRE1r SZOZEj9jqeDON59d0GtZ1nykOhOt3HQslG6iuYtevSWUMuDuc9fRSj0Eux+LzTZw1ylM yqawi9f9BMOJ8EZZDI7ifb3yRM6sS/Sqkggw51G3yKxSIT3JRV2am5p5qlOiLftviONP ivwl5wDTUD3ryR96omGMX+g3jXEJtuWysXWM/BhAwlMguYctR1zpuUG4mURqzFL6eoCK 9N0tlc8w56uMrYtkxmUM3VdPQ78+ODq/s6esWcftSdtTRQzCUUWQ7Q5MMT1W/M0uyHrp Sx2w== X-Received: by 10.204.165.134 with SMTP id i6mr117684bky.78.1387468873163; Thu, 19 Dec 2013 08:01:13 -0800 (PST) Received: from localhost (port-10467.pppoe.wtnet.de. [84.46.41.12]) by mx.google.com with ESMTPSA id bf8sm3919169bkb.14.2013.12.19.08.01.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2013 08:01:12 -0800 (PST) From: Thierry Reding To: Stephen Warren Subject: [PATCH 05/10] ARM: tegra: Add Tegra114 DSI support Date: Thu, 19 Dec 2013 16:59:29 +0100 Message-Id: <1387468774-14216-6-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1387468774-14216-1-git-send-email-treding@nvidia.com> References: <1387468774-14216-1-git-send-email-treding@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131219_110138_606078_2760A801 X-CRM114-Status: GOOD ( 11.23 ) X-Spam-Score: -2.0 (--) Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.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=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Add device tree nodes for the DSI controllers found on Tegra114 SoCs. Signed-off-by: Thierry Reding --- Changes in v4: - add reset and reset-names properties Changes in v3: - add #address-cells and #size-cells properties for DSI bus - update for revised MIPI calibration bindings - add low-power clocks Changes in v2: - use a comment to describe which pads need calibration arch/arm/boot/dts/tegra114.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 65e34e7fe6f2..28d2eea46b52 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -71,6 +71,38 @@ reset-names = "hdmi"; status = "disabled"; }; + + dsi@54300000 { + compatible = "nvidia,tegra114-dsi"; + reg = <0x54300000 0x00040000>; + clocks = <&tegra_car TEGRA114_CLK_DSIA>, + <&tegra_car TEGRA114_CLK_DSIALP>, + <&tegra_car TEGRA114_CLK_PLL_D_OUT0>; + clock-names = "dsi", "lp", "parent"; + resets = <&tegra_car 48>; + reset-names = "dsi"; + nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */ + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + }; + + dsi@54400000 { + compatible = "nvidia,tegra114-dsi"; + reg = <0x54400000 0x00040000>; + clocks = <&tegra_car TEGRA114_CLK_DSIB>, + <&tegra_car TEGRA114_CLK_DSIBLP>, + <&tegra_car TEGRA114_CLK_PLL_D2_OUT0>; + clock-names = "dsi", "lp", "parent"; + resets = <&tegra_car 82>; + reset-names = "dsi"; + nvidia,mipi-calibrate = <&mipi 0x180>; /* DSIC & DSID pads */ + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + }; }; gic: interrupt-controller@50041000 {