From patchwork Mon Jun 16 14:57:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4360141 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 331129F314 for ; Mon, 16 Jun 2014 15:22:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3719D20204 for ; Mon, 16 Jun 2014 15:22:25 +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 62327202D1 for ; Mon, 16 Jun 2014 15:22:24 +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 1WwYP5-0004vk-1O; Mon, 16 Jun 2014 15:00:59 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WwYOj-0004m0-PM for linux-arm-kernel@lists.infradead.org; Mon, 16 Jun 2014 15:00:40 +0000 Received: by mail-wi0-f169.google.com with SMTP id hi2so5415017wib.2 for ; Mon, 16 Jun 2014 08:00:15 -0700 (PDT) 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=WirRtLNReIFvsv1hvmTyYKhCH+Mf5lLxhz/rdde0dC0=; b=OETk1r+v4BtbvWF2VEqGM5PksUNJyoonOWJw7wnPOAMPZUuF/M2nzAMu1jCwcx4kqT Gc4nx+7CWLp6ojbLZ+4LeweRybdmN2hS1zwM9u1Var6EGb+i9jvP0Ln8cQcLgUsWlxpt BC9qIJtdY41Y1e3pr4X5DM8HICTKdF6dIPjlKYuFawFO0ZJxdm4tUSELH8TgoSHX3jK4 q/DbI/pMOxPOr3fc0LyoEaQWIxufw47i3nHFaDIh0v8WU/aenmCu2D2kIsq53Xm2eMTl bS0VpHUwSNUXxn2+YS5lBVK+L5DW7JFS9kDJdFzaA0sTJp0MY0tbBaX6/yOJtwLh41UP kYBw== X-Received: by 10.194.179.170 with SMTP id dh10mr28988805wjc.7.1402930815504; Mon, 16 Jun 2014 08:00:15 -0700 (PDT) Received: from localhost (port-51576.pppoe.wtnet.de. [46.59.202.27]) by mx.google.com with ESMTPSA id h48sm1124745eeo.33.2014.06.16.08.00.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jun 2014 08:00:14 -0700 (PDT) From: Thierry Reding To: Linus Walleij Subject: [PATCH v3 3/4] ARM: tegra: tegra124: Add XUSB pad controller Date: Mon, 16 Jun 2014 16:57:02 +0200 Message-Id: <1402930623-28886-3-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1402930623-28886-1-git-send-email-thierry.reding@gmail.com> References: <1402930623-28886-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140616_080038_011779_D8C284C5 X-CRM114-Status: GOOD ( 11.25 ) X-Spam-Score: -0.8 (/) Cc: Andrew Bresticker , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Warren X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Thierry Reding The device tree node in the SoC file contains only the resources (such as registers, resets, ...) but none of the lane assignment information since that's board specific and belongs in the board file. Signed-off-by: Thierry Reding --- Changes in v2: - include dt-bindings/pinctrl/pinctrl-tegra-xusb.h so that board files don't have to include it explicitly - remove unneeded #address-cells/#size-cells = <0> - add padctl label for XUSB pad controller node arch/arm/boot/dts/tegra124.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 6e6bc4e8185c..b7cb944b2faa 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -1,6 +1,7 @@ #include #include #include +#include #include #include "skeleton.dtsi" @@ -449,6 +450,15 @@ clock-names = "pclk", "clk32k_in"; }; + padctl: padctl@0,7009f000 { + compatible = "nvidia,tegra124-xusb-padctl"; + reg = <0x0 0x7009f000 0x0 0x1000>; + resets = <&tegra_car 142>; + reset-names = "padctl"; + + #phy-cells = <1>; + }; + sdhci@0,700b0000 { compatible = "nvidia,tegra124-sdhci"; reg = <0x0 0x700b0000 0x0 0x200>;