From patchwork Mon Mar 11 11:11:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nagarjuna Kristam X-Patchwork-Id: 10847333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C23013B5 for ; Mon, 11 Mar 2019 11:13:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67CE428F88 for ; Mon, 11 Mar 2019 11:13:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C60E28F90; Mon, 11 Mar 2019 11:13:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 534ED28F88 for ; Mon, 11 Mar 2019 11:13:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727383AbfCKLNO (ORCPT ); Mon, 11 Mar 2019 07:13:14 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:10127 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727372AbfCKLNO (ORCPT ); Mon, 11 Mar 2019 07:13:14 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 11 Mar 2019 04:13:12 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 11 Mar 2019 04:13:13 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 11 Mar 2019 04:13:13 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 11 Mar 2019 11:13:13 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 11 Mar 2019 11:13:13 +0000 Received: from nkristam-ubuntu.nvidia.com (Not Verified[10.19.65.118]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 11 Mar 2019 04:13:12 -0700 From: Nagarjuna Kristam To: , , , CC: , , Nagarjuna Kristam Subject: [PATCH V2 6/8] arm64: tegra: Enable xudc on Jetson TX1 Date: Mon, 11 Mar 2019 16:41:54 +0530 Message-ID: <1552302716-18554-7-git-send-email-nkristam@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552302716-18554-1-git-send-email-nkristam@nvidia.com> References: <1552302716-18554-1-git-send-email-nkristam@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1552302792; bh=Btlds5ODHLQulqCy6y54yTXZzL4szrgOsjOjnef1qjE=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=G+2bUACLa8yVlXvuWkVHloVesti1GEZOYsGaiWBG05Ygy5M4N6cI67TeqqYK/wPzi zRha405t5mK/+SnYNmNHnbhcp2dKt+df4dth+ud2fvl91qSiZIfOpZI9OQ2u3nKfHE FcM2AsNCPTTYGb+e4IyGNVlv5ISeXhU/crWzIpgRbUV2qIhSVwSL9vIn+1yrEa/jk3 cIF3Ax1EMBnBOEyx0LUqJM6nCI7UbnZJn4APCN3I8E7ByB9x5qvtomSY7iI+PC2Tvw Qn2wTGX36LiS6wJiwATFNieJPUcGroXjEIHFTGcxdHr+sLp9le1oCxuVO5+sq/d+/G mtPPd8Gny2sYw== Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable XUSB device mode driver for USB0 slot on Jetson TX1. Signed-off-by: Nagarjuna Kristam --- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi index 365726d..368d9a3 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi @@ -1459,6 +1459,21 @@ vmmc-supply = <&vdd_3v3_sd>; }; + xudc@700d0000 { + phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>; + phy-names = "usb2"; + avddio-usb-supply = <&vdd_3v3_sys>; + hvdd-usb-supply = <&vdd_1v8>; + avdd-pll-utmip-supply = <&vdd_pex_1v05>; + extcon = <&extcon_usb>; + status = "okay"; + }; + + extcon_usb: extcon_vbus { + compatible = "linux,extcon-usb-gpio"; + vbus-gpio = <&gpio TEGRA_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>;