Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4861656ybl; Tue, 4 Feb 2020 03:22:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzifn0R1lDZkg+pIVsJ771G0XMqpPOrSnYgVTz1EJHiy3i7M5v4iNggZMO44ZTedlRuXioM X-Received: by 2002:a05:6830:2015:: with SMTP id e21mr21119875otp.106.1580815332540; Tue, 04 Feb 2020 03:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580815332; cv=none; d=google.com; s=arc-20160816; b=aDGI76w8ewQFqcOJTuk8jt8Ucu81B9eMwtddjIlC+R+UAX+rV7M4Lmvqh7y9iUZIEg /rCgW41GasgIrOScXxqbr5GFnBiMC2CoslrWEcpLPb9l+aNSSplb8jdDn16DL2++hP6D ylwCuaLgMMvXmyETm8ip4f0r3GDmGB25n/iEDGOa7lms9jlZA4A7b+3iRJEblFnsD3Cm maFEQIZB3JyD1ECDqmjIN0F9pKI/vFWD2KSK3BuAvafaUsyT4qWGvPzkiRRjkKrguOna DO4FHhGey4Ptfn5D2bcDleNJrIkEEIArnitnzrsHowk3P9Hwe8qtR3aOu9S00wdYxaMM sDTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=YhnFKlWKe+Uk+f/3vw1Sjpf4ikaudir6P++hgEaOIS0=; b=R4C8LwUAnMeaQmAMm3ZG9me6wEMBE+8GljlYpxfVsluvwl6XLuQ4GGGxYZS9OOmK8i kI8x6Ve7QnV2+JAYBFZSoCzV/5EIVePGpTyK40o+eXe/ZmhLLZnxOxGYmTatnnnULm+j I+3nFfoZxAImsJaV5OrInZzMzmsDrEusbuk655R/VMdD2xGTn00zDmtTOqCtdYvGgchK A+B4U18hQcNPWZ9IgLtSoGlqdDgW3OCu2cKDwBNutD5Gywra5njXMK6+u25ynC0bQX/M 90PP+wqu0vuAC4NiiU1Cm+yLgO+BPuKaAOl7YndiZ3ta/ikBjCX3XEsUnyUvFEvbIGPt /cBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Asuz7nSL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si9721025oic.113.2020.02.04.03.22.00; Tue, 04 Feb 2020 03:22:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Asuz7nSL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727532AbgBDLTs (ORCPT + 99 others); Tue, 4 Feb 2020 06:19:48 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:19252 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726983AbgBDLTq (ORCPT ); Tue, 4 Feb 2020 06:19:46 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 04 Feb 2020 03:19:22 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 04 Feb 2020 03:19:46 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 04 Feb 2020 03:19:46 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 4 Feb 2020 11:19:45 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 4 Feb 2020 11:19:45 +0000 Received: from nkristam-ubuntu.nvidia.com (Not Verified[10.19.67.128]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 04 Feb 2020 03:19:44 -0800 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [Patch V4 14/19] arm64: tegra: update OTG port entries for jetson-tx2 Date: Tue, 4 Feb 2020 16:47:00 +0530 Message-ID: <1580815025-10915-15-git-send-email-nkristam@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580815025-10915-1-git-send-email-nkristam@nvidia.com> References: <1580815025-10915-1-git-send-email-nkristam@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1580815162; bh=YhnFKlWKe+Uk+f/3vw1Sjpf4ikaudir6P++hgEaOIS0=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Asuz7nSL/SCeA3byDTkBHKflW55TybEZ6G0MDvsn359tVzkpME4I85h3Kot4G7vBx Pc5HoEobGBDwwtDOC2urO2wl1sd66WeTfbASAFiLta1wOQyZ6i+B2uWeyXcsZoTLQY SWpbiySoZnLnjVzSeumjpd/3gp1UXGOJkVnYdl8Q08Osz0G1h/jEJFxoLuVPX36DAh sMzwYAmXucMCV33YDvQTSpTeAKGDckiWT6qa8c+N870/eD2uqWGXOFUJVJbvs69Oil kg+8k32mmcYt7ajB+1J14Jp5zta6vJLQ+eoSIk7y61TrNnkB1aAtjKlw2W0ZJP/5Hr 0CPHCWI2O3xnA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add usb-role-switch entry to OTG usb port and add corresponding connector details. Signed-off-by: Nagarjuna Kristam --- V2-V4: - No changes in this version --- arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts index f1de4ff..a1dcdb9 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts @@ -174,8 +174,20 @@ usb2-0 { status = "okay"; mode = "otg"; - vbus-supply = <&vdd_usb0>; + + usb-role-switch; + connector { + compatible = "usb-b-connector", + "gpio-usb-b-connector"; + label = "micro-USB"; + type = "micro"; + vbus-gpio = <&gpio + TEGRA186_MAIN_GPIO(X, 7) + GPIO_ACTIVE_LOW>; + id-gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; + }; + }; usb2-1 { -- 2.7.4