From patchwork Tue Jun 17 12:07:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4365971 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 556459F26E for ; Tue, 17 Jun 2014 12:14:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F72F202FE for ; Tue, 17 Jun 2014 12:14:26 +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 64879202D1 for ; Tue, 17 Jun 2014 12:14:23 +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 1WwsEx-0002iZ-NY; Tue, 17 Jun 2014 12:11:51 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WwsEh-0002dT-W0 for linux-arm-kernel@lists.infradead.org; Tue, 17 Jun 2014 12:11:40 +0000 Received: by mail-wi0-f178.google.com with SMTP id n15so5697607wiw.5 for ; Tue, 17 Jun 2014 05:11:12 -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=k58j3dHm5SHYPCOGrHlkRx3k+k8oxRsjRuk8/+5y+tdcXOoK3gRi/Z1u+biHfJJsoc XxkIUwhU2kAOn5yFCqEWsxqkJ7eU+lFEqN3lofajtdq78qIYOLkxXdj1zOq6Z3uUU0Gf t9LDokKP9RG9W7pt1ht46D0SaoaMlbDSI7Z2buRGn/0jgz2eitBhsVsMIKSytW5zztik 9BvvCJopD4FgM8uzzry6wZsJV2jWenm4Rqx6GiMJJrtj294SflFBt2Gh/oSsyv+aLT6Y G+Jql0AeJZwtze+rayD9RXl322GNNY+VPrHnpSOmMG04X6sLqH31CjzdG4KagodnEkNj DKzA== X-Received: by 10.180.96.6 with SMTP id do6mr36128394wib.44.1403007072257; Tue, 17 Jun 2014 05:11:12 -0700 (PDT) Received: from localhost (port-13336.pppoe.wtnet.de. [84.46.52.76]) by mx.google.com with ESMTPSA id ds9sm19872326wib.20.2014.06.17.05.11.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jun 2014 05:11:11 -0700 (PDT) From: Thierry Reding To: Linus Walleij Subject: [PATCH v4 3/4] ARM: tegra: tegra124: Add XUSB pad controller Date: Tue, 17 Jun 2014 14:07:56 +0200 Message-Id: <1403006877-19850-3-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1403006877-19850-1-git-send-email-thierry.reding@gmail.com> References: <1403006877-19850-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140617_051136_180713_B4BF0C00 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -0.1 (/) Cc: devicetree@vger.kernel.org, Stephen Warren , Andrew Bresticker , Mikko Perttunen , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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>;