From patchwork Tue Jun 10 11:11:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4328511 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 154739F3B4 for ; Tue, 10 Jun 2014 11:17:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2ED72202B8 for ; Tue, 10 Jun 2014 11:17:52 +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 6C8A2202B4 for ; Tue, 10 Jun 2014 11:17:51 +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 1WuK1P-0001Qh-Q3; Tue, 10 Jun 2014 11:15:19 +0000 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuK1I-0000Gl-8t for linux-arm-kernel@lists.infradead.org; Tue, 10 Jun 2014 11:15:13 +0000 Received: by mail-we0-f180.google.com with SMTP id x48so4329354wes.25 for ; Tue, 10 Jun 2014 04:14:50 -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=bKJ4auFbTZkGuX5+bDIJh0UL06/homsMMhXRTnUeYfo1TR344dm6XCLJA0QhOaJ6LN W847vf0hHU2JwGms/Y5Dxo5WHf/+v9tfzh2VpjuihT249LIdxgKBITUgxSfXxC9viDu/ +fzPBqMgRmjKMn8U+LQpv4n+gMLQYkJcHLCE6YngjbGMKuCkMw14VWK5oME5W1alBr7B QtmUGZppW4VvLphwmyMfKFwViJ30cCwgAQQsJkF0yFGPCg4MkKB5/ACuaCueiEfAQNpT SyF5aiULqrBwgLNEMQqcxL//l8U4gBu7sfPOoKDKQkiVgpDjTvsaDEUOtUlJdBDQbAwV UihQ== X-Received: by 10.194.58.79 with SMTP id o15mr40962807wjq.62.1402398890089; Tue, 10 Jun 2014 04:14:50 -0700 (PDT) Received: from localhost (port-15344.pppoe.wtnet.de. [84.46.60.44]) by mx.google.com with ESMTPSA id l5sm20178313wif.22.2014.06.10.04.14.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 04:14:49 -0700 (PDT) From: Thierry Reding To: Linus Walleij , Stephen Warren Subject: [PATCH v2 3/4] ARM: tegra: tegra124: Add XUSB pad controller Date: Tue, 10 Jun 2014 13:11:47 +0200 Message-Id: <1402398708-10722-3-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1402398708-10722-1-git-send-email-thierry.reding@gmail.com> References: <1402398708-10722-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140610_041512_513276_F69DED2F X-CRM114-Status: GOOD ( 11.15 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , Andrew Bresticker , linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , 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.4 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>;