From patchwork Thu Jun 19 11:37:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4382581 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 922C29F26E for ; Thu, 19 Jun 2014 11:43:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D5E320396 for ; Thu, 19 Jun 2014 11:43:11 +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 B081D2038E for ; Thu, 19 Jun 2014 11:43:10 +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 1WxaiA-00047p-N7; Thu, 19 Jun 2014 11:40:58 +0000 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wxai3-00043L-Ct for linux-arm-kernel@lists.infradead.org; Thu, 19 Jun 2014 11:40:52 +0000 Received: by mail-wg0-f46.google.com with SMTP id y10so2173084wgg.29 for ; Thu, 19 Jun 2014 04:40:29 -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=8IxFHdDeTPXbO04rOWYYoiEw/7suEH5ptI3924KrgoU=; b=PHC+5EKtgwZWQ2L0QCkCRZT/VJBFhsT2d1JIf1AJn1e45gRDUeOM7W/4DjehQaNP4x Jvh/m76IxHiqHZm+9DvFl9ys9SgF9/8+C4WQVI/woQkymaXNHKLfPnWRTONAPrcqmiV2 Me7Y7KMJE8iTOOpDI1K7ctD3VI1QVtQNQaqu6ar561ph4k0OMGDQGyFBU5ME00q5Np1o k949Gwtag24WhLptCxvXn8rt4srjubwIEgwq7BvDOaH/4Y5P14a/xlEWYhlktWjVojt3 HsubvT3aNEQyqvJWbwjKALk1HgaWyB+OJ8lN8Ir3PpdPrOilwB4vKQ98eIlEyGImwAeX oLcA== X-Received: by 10.194.158.164 with SMTP id wv4mr4092489wjb.124.1403178029357; Thu, 19 Jun 2014 04:40:29 -0700 (PDT) Received: from localhost (port-31392.pppoe.wtnet.de. [46.59.173.118]) by mx.google.com with ESMTPSA id cj8sm8219229wjb.5.2014.06.19.04.40.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2014 04:40:28 -0700 (PDT) From: Thierry Reding To: Linus Walleij Subject: [PATCH v5 3/4] ARM: tegra: tegra124: Add XUSB pad controller Date: Thu, 19 Jun 2014 13:37:09 +0200 Message-Id: <1403177830-28595-3-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1403177830-28595-1-git-send-email-thierry.reding@gmail.com> References: <1403177830-28595-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140619_044051_631143_4594EDCC X-CRM114-Status: GOOD ( 11.45 ) X-Spam-Score: -0.8 (/) 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=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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. Tested-by: Mikko Perttunen 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>;