Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14057339ybl; Mon, 30 Dec 2019 03:15:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyKPqyNdrl1i6kmNwUqd58CQLptjSQeyPdh6OunMG/KZ1btkcdaNxsaPJUoz4FL8aoud97I X-Received: by 2002:a05:6830:1ecf:: with SMTP id c15mr30898632otj.65.1577704559309; 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=0YHFrHdIk2XNPpxMKM90FmQh96lwnaFO8OFOtjkJBdRxj7rSwFtRV3zF1drPBN5qBF OIqGsgvMoTIijfOKQDUgrqiDMSoYIauxWw3lR66COL+fbkWBObFo22UzUExhJUSnTn3/ BnrzQnwpLeWfYo6wID2iBGquQOjOUozrQJGjKcwPlKCpuLQCzqI2F2jsoK+g/k3AVxF6 Q6jcBtNriDILECs9nkYsFwqByGC9W/smona2+R/FZ26mmC2aTrGR34L2FYg85DTUGozK MAvPieNeHEVSzGpwFQ6cjVijN80GwrDl2p/UoxBDXz5krrWDN87jSoMBZMmFdubEmXNR sk0Q== 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=pIhpctDZk5ukwrY3bdm4OpkbLlO+2RCGqj63xVbHkfE=; b=IcIQfLZb4RgCdDMW2vVwKHpi/9cMI0Y0aZzoUbg722ErzNqz/wUTWCcmbnhlrviH0A /aRG7Wx0Edxpitn5F3wMyIGVylyLLahhVxtun8LayZLIyYtpfzbmeichwrqz5PX9obrX iu66x+aTtB7/KIFOzTJikZeVrXeOqwb05/cXKbCEHnBPgUrVqr/9T63G22q3rYbH+acD m+sA7g0dUPEiF2SPPMfVCHcaE7ciNgzyc91VZbt9jI8ILiwbEUegdkv1+NzXC61muQtc C1dBUCSyNLuYzFQUPBOaiWjQ/+S2aM7oLTl6qXVdP4Ks81ByKTpwg8Oce0LD6YGSVCds 72+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=sEIG6U4G; 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 i124si20794147oif.214.2019.12.30.03.15.25; 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=sEIG6U4G; 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 S1727406AbfL3LNn (ORCPT + 99 others); Mon, 30 Dec 2019 06:13:43 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:19387 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbfL3LNn (ORCPT ); Mon, 30 Dec 2019 06:13:43 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 30 Dec 2019 03:13:28 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 30 Dec 2019 03:13:42 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 30 Dec 2019 03:13:42 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 30 Dec 2019 11:13:41 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 30 Dec 2019 11:13:41 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 30 Dec 2019 11:13:41 +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:13:40 -0800 From: Nagarjuna Kristam To: , , , , , , CC: , , , , "Nagarjuna Kristam" Subject: [Patch V3 01/18] dt-bindings: phy: tegra-xusb: Add usb-role-switch Date: Mon, 30 Dec 2019 16:39:38 +0530 Message-ID: <1577704195-2535-2-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=1577704408; bh=pIhpctDZk5ukwrY3bdm4OpkbLlO+2RCGqj63xVbHkfE=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=sEIG6U4GS884i8yYykWHepu+7ny216vRg15QKyl1J3WmdZwFbszVRiXFC270URIe2 DTh2V9GXYCyQuPJs3BTBAhlcMyAYhYflC5kLbZQUjqiDzkBc/1eeMTrSZr1m97cyKQ 3YBiByJ/dyD0WluCsMa/g31aj66aWTrj/Wq2GT4t+0AVStie1tX1ueH1l4hp7c/xXs Xit63YEc/2GZVVWK0xo/B9Oqs7PxbvF5hOFtATAVkd8FpmF5fc1ULjw4eyxGuWLfrC v115TkC60hc/VSc2VIXQQ2lFG+TLASlv55YpApGEayAGFzungog2S8ZuoZMRw1hoyz 7AsHULPyY+OjQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add usb-role-switch property for Tegra210 and Tegra186 platforms. This entry is used by XUSB pad controller driver to register for role changes for OTG/Peripheral capable USB 2 ports. Signed-off-by: Nagarjuna Kristam Acked-by: Thierry Reding --- V3: - Added Acked-by updates to commit message. --- V2: - Moved usb-role-switch to seperate Required section as suggested by Thierry. - Added reference to usb/usb-conn-gpio.txt for connector subnode. --- .../devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt index 9fb682e..23bf354 100644 --- a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt @@ -174,6 +174,12 @@ Required properties: - "device": for USB device mode - "otg": for USB OTG mode +Required properties for OTG/Peripheral capable USB2 ports: +- usb-role-switch: Boolean property to indicate that the port support OTG or + peripheral mode. If present, the port supports switching between USB host + and peripheral roles. Connector should be added as subnode. + See usb/usb-conn-gpio.txt. + Optional properties: - nvidia,internal: A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be -- 2.7.4