Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4859839ybl; Tue, 4 Feb 2020 03:20:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzPtT+nhGglre6s7LgzMzrHY7HZc5iGWWE1R7qmlKdIcqlWitNyhniwI54gWU9Vaxw+VhFU X-Received: by 2002:a9d:ecc:: with SMTP id 70mr961952otj.182.1580815213044; Tue, 04 Feb 2020 03:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580815213; cv=none; d=google.com; s=arc-20160816; b=ZVcQV4oDpCV7wXSIXyvoC4hzuQsAUm7gPEZH/nM/wbcK2PR5fwr0beVlXDbmxafKbp xzuwqXdYDALeaLiP4EEJzJZhkpD0hdjBPYf23EpYRwYExfxKWxmeDFJNeqMj+Kx6b2ZF PbHgamx9M9tz0yskoMibGPsttccPb5RbcUElC9RVNzR2fqO+qlKrLubLArKxvGPqeK53 vJEWQV80T9zXCrnnzuqgyqAKCCGVo2GtNOc9u4UxEj+W1u4veUDAAFzN2bRYOTfMY/Ub Ni+DSjMfka5yY2Ax5TtCkYsMc2S8kNvyszBdZ9UUn5uV0jkfzhRIcAFIhTlLKfRP/xdH ZJeg== 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=KMik/J6UPteBz33x5E9rCRFcxi4LB3XNiu5nvjOq/T0=; b=J/HkHAYo1gz52l21q/e72TjgY5fXrASpC/dkNAyeysCR4OdaeHpKcc7VC4kcFcEFST 8wRXPz7qY2BGIyOeG/FDKYVeyf4Z90f9Mj4xOWIeiPHUFnI6F9OAKo/PuGORtfQhgZnP vJZN0r6w6V3aQfS3xKDQ2YOv4OXoA0NMfBrl5GfW7xToCR1QjpbJG6jrMGJAtSwHfZ1O g9M23rfJIGcVTEwOs0C42mpzNv09kIkwm+TX/0DXIjuiArL52DGWtZA3pRJm+XqGaWJT ojc/m/hDltpFMJirKM/AFvzrIH9gDX8tGWG6wmQ86n1t539GWMG0DZtg9vj1ohBQscgx TDLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FdxP0tLK; 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 e15si10809900otq.237.2020.02.04.03.20.01; Tue, 04 Feb 2020 03:20:13 -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=FdxP0tLK; 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 S1727247AbgBDLS7 (ORCPT + 99 others); Tue, 4 Feb 2020 06:18:59 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:14208 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbgBDLS6 (ORCPT ); Tue, 4 Feb 2020 06:18:58 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 04 Feb 2020 03:18:00 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 04 Feb 2020 03:18:57 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 04 Feb 2020 03:18:57 -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; Tue, 4 Feb 2020 11:18:56 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 4 Feb 2020 11:18:56 +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:18:56 -0800 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [Patch V4 01/19] dt-bindings: phy: tegra-xusb: Add usb-role-switch Date: Tue, 4 Feb 2020 16:46:47 +0530 Message-ID: <1580815025-10915-2-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=1580815080; bh=KMik/J6UPteBz33x5E9rCRFcxi4LB3XNiu5nvjOq/T0=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=FdxP0tLKK2fGSwIv2E1tV5XO2BHKb3pDIPM9mf9/KtrEi4lpcmXwUy9+TJgqfOl6U boJt30EQme+lXAngXt8ZfIKQiVAM6BH0AUNIuTtfT9jEoFQSsYQD10ERYYcr+uHPnD xN0TfbqaSyumDA9R2Azfu+oDOxZmftHh1jo7t9BNR+ft5/xN53e65GWVeOrWrItuHR KmHnEUeczDWkvxIzjDD3RC1oPvDKUriaGWYlicR7iDIo5Hfa9hX8IAKbCxyNKs0PEX e9pU4MiqhG4dy+cX7kBHKujETdTm0Qll4bTL8yC17I5br7ihe8VBJ7k1j8BkfoHpmJ omk1Atwij767A== 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 --- 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