Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3471208ybv; Mon, 10 Feb 2020 00:12:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxAHht2Vd8Tp5a8go0DF16MmpIT3l2ltB9UD7uweMCrJD2Tuug3B690pwPvGkd3Pxx+Udet X-Received: by 2002:a05:6830:154a:: with SMTP id l10mr229031otp.44.1581322369763; Mon, 10 Feb 2020 00:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581322369; cv=none; d=google.com; s=arc-20160816; b=psF5vvjvv/FhsJU52x+iRH36qbbi2qillnBE0kHGCCdjA8pGftToh/68vAVWd93sqY cYKtWhRu+DkrQaeElcrfTOB5DU4GZIx/JP2h+FEZXx1TeaChxVCk71a2ZeyljjC9sPL7 NM/BqcqydaAfjS6tr2feDCxeIdXjNdA6X68wmFfLP8hPaqk+QjAujpmYn+Sq0OC7EG/0 n2B8cm3ywx6YTMCZJ70W27sqKfaeaDAV44zB27yzp9dbVllJAdJY0/lqecYbqf8U5c6p tMEUCEiGoJ1Hs2/QLVfSu62SJYv6x1EEAw25EGzXzkXsdHI/5hoUUrpqQRrhBoa4yVQD xgRA== 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=KI0MwJ32VIem1N3I9WejaXC7P5wx3zetPK2oXU0ys5c=; b=HcC5ZaDskKSsfwV7LRznVvhdNYHgKHfmbV7kDoFx3hU6WmgCet5zJnRoYE8/5L2oE4 exu/IgHyBPwYTX//1P4wqPt2W4mbyf2d0Lfpro5Vg5GNY+2/R3kB0uKw3zMr4Vn8nyfx u4D9mXlHyDwJymdnTLq2iErPOu7qA3w7UAW7uDDjFyuQzwzgtGimej2PNOziFzixQLuO WX95yN4K5MhLTOIcTOOEDNjkeUgWFK4BT8drUPBmPprJWTyLIC9phY+PDpZ2FLDTL0Ia YjRNOpn0VVVaxlJRU7gwetrKfMeMPB03OqFaX5tiRNRdnAEbS3E7J6dkzzd/g96QiYk/ 8wHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=joXhN+h4; 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 y186si8183199oig.241.2020.02.10.00.12.38; Mon, 10 Feb 2020 00:12:49 -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=joXhN+h4; 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 S1727577AbgBJIM2 (ORCPT + 99 others); Mon, 10 Feb 2020 03:12:28 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:18189 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgBJIM1 (ORCPT ); Mon, 10 Feb 2020 03:12:27 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 10 Feb 2020 00:12:12 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 10 Feb 2020 00:12:26 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 10 Feb 2020 00:12:26 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 10 Feb 2020 08:12:25 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 10 Feb 2020 08:12:25 +0000 Received: from nkristam-ubuntu.nvidia.com (Not Verified[10.19.67.128]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 10 Feb 2020 00:12:25 -0800 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [Patch V5 01/21] dt-bindings: phy: tegra-xusb: Add usb-role-switch Date: Mon, 10 Feb 2020 13:41:27 +0530 Message-ID: <1581322307-11140-2-git-send-email-nkristam@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1581322307-11140-1-git-send-email-nkristam@nvidia.com> References: <1581322307-11140-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=1581322332; bh=KI0MwJ32VIem1N3I9WejaXC7P5wx3zetPK2oXU0ys5c=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=joXhN+h4QpU0JKbImdgjszv3Fs/nTwEf1r7MGEumtvdxmSTKpV+V7TBv4sc4Vav3l 1qDRN4uu0+lODU+S5jld1yCTqQ8AAM4tBesRhSbNwqRP8ooQn38KB+9SGuBezriTRC sAPVd9+l+YXp28XV2xYJbJz3nqpGfZ7po9vBaQ3TsQQn9TmM3iAeQS7I0IJD2zhmKl 34l1I8CKH588I7ZZsu6l7eqvZpkzWUBvdY+Kb6f4sgofROowvFre5er9GFDfvEBZK2 8TKsplEPu2gjgbs2EgxImmvp/9WipM5vR0pYn4oZ2r5TJ4H7TdqoO7aIIh29qVseC4 63MrCaUbcFXRg== 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 Acked-by: Rob Herring --- V5: - No changes. --- V3-V4: - 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