Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14057342ybl; Mon, 30 Dec 2019 03:15:59 -0800 (PST) X-Google-Smtp-Source: APXvYqzOLXRByryeYT5/pIygJGDjQns3s85MG91Szvn6cpUpgui1d2OaBwt/Y6+nCcnzEORld2I9 X-Received: by 2002:a9d:7b4a:: with SMTP id f10mr77304427oto.4.1577704559326; Mon, 30 Dec 2019 03:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577704559; cv=none; d=google.com; s=arc-20160816; b=k4+egy/x7xL9AN1NKw50Aorcp4my5yc/Td4VwzvG7AxvoUb7OqbRFCOJltWI6ZxhWx /u8qzfSCqhiOczXxZWy6jjfZ0bCtFej8Lu86VFXARFl8tDc0mMilFlCp7BOMpiVAxWl1 a3u4IKMYO5Lmchk0QVXTmiIOf5x64mfA3npGvpbjjLf9qyKpsw3MhODOmDr4wp/Pjw2R Wt85tkgONWbU4rb6tttR0y/0ML3D+yHdfd85X3fd13JNIH594yC2xEVRnO/IDOM4hitT qg8VMeACgXiOnMhkSBHtXoD4lR7M4jAss+bvL3EARPtzaLsN6P8WTJWfHrzkwD9ePquC Zj8Q== 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=LrA3x3kFjANPjaZqbIiI5C4kcy7d2LwKyBQ+DG1t5TI=; b=UKvoXV5bOAHisxu9J3phzRdLBmM3RstlMaiYGLPJL8aCd5F+qLnmMlGhouOfKRIXql V7Imnkai90UkBU7PBwBFxB0yI8/cux8HdSByhPrGIHWlW4NHIQxj/N7NcfjFx68lSgRW Govjo4DB8PydR6RgXDSPInFy2I1Kkhp2HbnUKU7iLuMzT8uDFJhvZnA3jJUWFSL5RSV9 1gmB+EkrAGrUwt3SNXhd8TRKnOR2QX3owgb5CyhYWuyk0mnp+ztDXk6N788Bfl0KSmQ3 K2tiUzWVTKPCIPcwUr97b+XwcLQWp6EjHUpV8L0TeQMACi1YSR2LzqwlkbPshILsalR9 wwFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=MHuoHT3Z; 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 f17si20281827otq.96.2019.12.30.03.15.36; Mon, 30 Dec 2019 03:15:59 -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=MHuoHT3Z; 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 S1727624AbfL3LOc (ORCPT + 99 others); Mon, 30 Dec 2019 06:14:32 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:1322 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727612AbfL3LOa (ORCPT ); Mon, 30 Dec 2019 06:14:30 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 30 Dec 2019 03:14:15 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 30 Dec 2019 03:14:30 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 30 Dec 2019 03:14:30 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 30 Dec 2019 11:14:29 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 30 Dec 2019 11:14:29 +0000 Received: from nkristam-ubuntu.nvidia.com (Not Verified[10.19.64.167]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 30 Dec 2019 03:14:28 -0800 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [Patch V3 14/18] arm64: tegra: update OTG port entries for jetson-tx2 Date: Mon, 30 Dec 2019 16:39:51 +0530 Message-ID: <1577704195-2535-15-git-send-email-nkristam@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1577704195-2535-1-git-send-email-nkristam@nvidia.com> References: <1577704195-2535-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=1577704456; bh=LrA3x3kFjANPjaZqbIiI5C4kcy7d2LwKyBQ+DG1t5TI=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=MHuoHT3ZNrU9pKPaFqOkNTaV1Fm//pXcN/jYZDulhx8couPFhHYIA5uL2RCcgYASx 9yzI0C1Gt2GvHAD2aHLhIFJB4XXl9cGoEjGAbm19u8HBBzhI+RNjynvg83ZNgyoRwl WrbjhBEKpbUtWLaP5h82daUM9TEjbtGu4uMVQbFO3IvBEUBrATMm4tHVGfoc4Fb+3m TsqSc60ui5YAj7oiAb9f0pr2RqXpx069JIXciK+QowVOd9lNOdQppXwg1TWo/aMWJd fDLBhi50SWQ2Qn/mavIOG+pHafAp/CpKV1W0eagJ22JJpLd4wG38OBrvn3cxuOyfQ+ 5O/aDGTKKsr4A== 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-V3: - 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