From patchwork Thu May 15 00:33:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Bresticker X-Patchwork-Id: 4178871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1EA36BFF02 for ; Thu, 15 May 2014 00:42:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 371B220265 for ; Thu, 15 May 2014 00:42:55 +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 4ED0720160 for ; Thu, 15 May 2014 00:42:54 +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 1Wkjil-0005Ia-5e; Thu, 15 May 2014 00:40:27 +0000 Received: from mail-ve0-f201.google.com ([209.85.128.201]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wkjii-0004Ka-4R for linux-arm-kernel@lists.infradead.org; Thu, 15 May 2014 00:40:24 +0000 Received: by mail-ve0-f201.google.com with SMTP id db11so75401veb.2 for ; Wed, 14 May 2014 17:40:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lcBEfKu/YE9KzYg4h/Qa4IIhS0i9NjVC4QVTSAF2O3s=; b=KBf1c/jpA7JNYwVaoB9hzG7p6lKAhhK0J6UCurkLVMpnMyMCiLtciEcZ1Yw1KFyhQF JIvU1tRNfDKQvkTudIFVazX0jOQwwwMUu93rkrgg6Gs0Bkh0tNLtF8CnVDPss3D2jaTM b9ElGYeJWp63HGWFAm6RO6AEKG11/fWqSGwFMG1fyYRU1LqivDh8D1Skrn/jvnDyhwjG Is/Su7UfYYDsgJ5Rw62AnsXAFG+kH2/6i2bC+CrbWi/gE5oA9VRDHRFRNMIABmw0cVBk uc5a0DMfDe0yHKS5oBcWcZrDA4gIgl5plBWkfixqaGkMEcMojFO0L36fgWGLP0xONYV7 0Kzw== X-Gm-Message-State: ALoCoQm9FNelfVhO1GwALcR2mu2X6Q1hNVwPFA3plolMAbts0NCSKgckg8ppXd08OSieYyf/Oflc X-Received: by 10.236.69.74 with SMTP id m50mr3060635yhd.0.1400114000070; Wed, 14 May 2014 17:33:20 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id y50si167016yhk.4.2014.05.14.17.33.20 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 May 2014 17:33:20 -0700 (PDT) Received: from abrestic.mtv.corp.google.com (abrestic.mtv.corp.google.com [172.22.72.111]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id E15345A41E5; Wed, 14 May 2014 17:33:19 -0700 (PDT) Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id A51D32206A7; Wed, 14 May 2014 17:33:19 -0700 (PDT) From: Andrew Bresticker To: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: [RFC PATCH 10/10] ARM: tegra124: Enable XHCI on Venice2 Date: Wed, 14 May 2014 17:33:06 -0700 Message-Id: <1400113986-339-11-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1400113986-339-1-git-send-email-abrestic@chromium.org> References: <1400113986-339-1-git-send-email-abrestic@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140514_174024_260194_A5E57F3B X-CRM114-Status: GOOD ( 10.97 ) X-Spam-Score: -1.4 (-) Cc: Mark Rutland , Prashant Gaikwad , Russell King , Mathias Nyman , Pawel Moll , Stephen Warren , Andrew Bresticker , Greg Kroah-Hartman , Peter De Schrijver , Ian Campbell , Kishon Vijay Abraham I , Rob Herring , Thierry Reding , Randy Dunlap , Kumar Gala , Grant Likely , Mike Turquette 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=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, 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 Enable the XHCI host controller and XUSB PHY on Venice2. All three USB2.0 ports are owned by the XHCI controller and the two SuperSpeed ports are mapped to the external USB2.0 ports. Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/tegra124-venice2.dts | 46 ++++++++++++++-------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts index f0bb842..dcfc0c7 100644 --- a/arch/arm/boot/dts/tegra124-venice2.dts +++ b/arch/arm/boot/dts/tegra124-venice2.dts @@ -940,6 +940,25 @@ nvidia,sys-clock-req-active-high; }; + usb@0,70090000 { + status = "okay"; + s1p05v-supply = <&vdd_1v05_run>; + s3p3v-supply = <&vdd_3v3_lp0>; + s1p8v-supply = <&vddio_1v8>; + }; + + phy@0,7009f000 { + status = "okay"; + nvidia,ss-pads = <0x3>; + nvidia,hsic-pads = <0x0>; + nvidia,utmi-pads = <0x7>; + nvidia,ss-port0-map = <0>; + nvidia,ss-port1-map = <2>; + vbus1-supply = <&vdd_usb1_vbus>; + vbus2-supply = <&vdd_run_cam>; + vbus3-supply = <&vdd_usb3_vbus>; + }; + sdhci@0,700b0400 { cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; @@ -960,33 +979,6 @@ }; }; - usb@0,7d000000 { - status = "okay"; - }; - - usb-phy@0,7d000000 { - status = "okay"; - vbus-supply = <&vdd_usb1_vbus>; - }; - - usb@0,7d004000 { - status = "okay"; - }; - - usb-phy@0,7d004000 { - status = "okay"; - vbus-supply = <&vdd_run_cam>; - }; - - usb@0,7d008000 { - status = "okay"; - }; - - usb-phy@0,7d008000 { - status = "okay"; - vbus-supply = <&vdd_usb3_vbus>; - }; - backlight: backlight { compatible = "pwm-backlight";