Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp184668pxk; Wed, 9 Sep 2020 02:38:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypvxAapNodNnvbm3QYCb6aNYpiEHZoHW2IsOU7e77prtepjx59eVHNij2EVcYuFCKh67RM X-Received: by 2002:a17:906:4c51:: with SMTP id d17mr2721137ejw.28.1599644321970; Wed, 09 Sep 2020 02:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599644321; cv=none; d=google.com; s=arc-20160816; b=lyZhB+ejRQQ8tinMlICwCIYyghqLkAs+gc/+vO8qKxPPH909wqCi8ao2tRkVonx+qf E0bDu8wIbC20bbzq0I+kUnaCtRHDIS+HXHPxFuCxgQdq+vG2wdUUsAviV+fxBd7+oGDh otEQRoTVI6wWw38PFKzru/qRKIZp4bUiaFDLxhanthNxb+hQEENa/aBLZG4TTuR6GdUp Snv8O0IHuszFkhWK2uKZbYlINTPeNL3ENZIV1DaWztYSRzadWs3tY3yblJKBeNZW++G/ 2EL5zq6Xhr8HZmGAKbTsnPM+4LhVpKsm0JaRa52NDB8ise4BAikmz9/7rYZuDTV9R11T ZDeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=s219bebDsKh1L2vM/1ayxJLzmLx96sr1VIGMZeYyaqg=; b=dJAksQlHqZOqqF4chQx0sxLVEnRpR89LIIxqwwMSBFbCCJFj86fz1z86Wmv8ItOQUx i8MsZhQyU2rqQYRLj08yNbHNiqVxNeXuQ5s3Q+gnGZARURKUb8udd+b0el7zK5Lx3hW8 43PvoOW0lQblwQgupAsXRFVUdrMb/oNqIONfoR/q8S2xFu3001a4cehNCgyMZpF9jihx +3lgtGtc9fBRIKxx01YUK/VrLs/rHjeuq4hmEQfkheumIaEGvCbyS7PuuYP9quh5VQJ5 3tVO/dVPZhLK/G7M+97RL9vYLA8yOa6RNMR1Ssg9XuVEQwc3sizKBhyxQ7aVQLribw0D NHaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Wyl2+qVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si1145569edq.92.2020.09.09.02.38.19; Wed, 09 Sep 2020 02:38:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Wyl2+qVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730203AbgIIJge (ORCPT + 99 others); Wed, 9 Sep 2020 05:36:34 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:58756 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729912AbgIIJfi (ORCPT ); Wed, 9 Sep 2020 05:35:38 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0899WagC011169; Wed, 9 Sep 2020 11:35:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=s219bebDsKh1L2vM/1ayxJLzmLx96sr1VIGMZeYyaqg=; b=Wyl2+qVUL1ic0S0ClwNcFUaQZDySPG6x1GZ35qKPJ9aK9Zf5K+IsO2bI/9hz4LpMIM0W XR+vye8ttOF8iFN/teAXPvwhnYqkPP/zXLgiGCX4l2BSOqNMpy/h1rt1x9HtKqNq0ij+ NnOhGvLdAgmm9CPmkIHKGKprS4cVLpNfO/K4pQG6p+93sv9hCxqszpeZ5CPMDl4Vh9va 0cT8m0RtIsPVN6sMBHfPzm5j0mlHB/A5ax0Thk1bKkeTAw/z4/nPIw48OrxsIaYzmbBj M09ajOa57KCTm8DzSzIm3N9tA1wDQnxdWOBrsXnWoRUhizVDRfGEj4dMfoB7q8o2t1Ob xQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33c0euv558-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Sep 2020 11:35:20 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 53D20100034; Wed, 9 Sep 2020 11:35:20 +0200 (CEST) Received: from Webmail-eu.st.com (gpxdag3node5.st.com [10.75.127.72]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3D683220AE9; Wed, 9 Sep 2020 11:35:20 +0200 (CEST) Received: from localhost (10.75.127.46) by GPXDAG3NODE5.st.com (10.75.127.72) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 9 Sep 2020 11:35:19 +0200 From: Amelie Delaunay To: Minas Harutyunyan , Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Maxime Coquelin , Alexandre Torgue CC: , , , , , Fabrice Gasnier , Amelie Delaunay , Martin Blumenstingl Subject: [PATCH v6 1/3] dt-bindings: usb: dwc2: add optional usb-role-switch property Date: Wed, 9 Sep 2020 11:35:09 +0200 Message-ID: <20200909093511.4728-2-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200909093511.4728-1-amelie.delaunay@st.com> References: <20200909093511.4728-1-amelie.delaunay@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To GPXDAG3NODE5.st.com (10.75.127.72) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-09_03:2020-09-08,2020-09-09 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch documents the usb-role-switch property in dwc2 bindings, now that usb-role-switch support is available in dwc2 driver. Reviewed-by: Martin Blumenstingl Acked-by: Rob Herring Signed-off-by: Amelie Delaunay --- Documentation/devicetree/bindings/usb/dwc2.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index ffa157a0fce7..fa6612551d08 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -102,6 +102,10 @@ properties: dr_mode: enum: [host, peripheral, otg] + usb-role-switch: + $ref: /schemas/types.yaml#/definitions/flag + description: Support role switch. + g-rx-fifo-size: $ref: /schemas/types.yaml#/definitions/uint32 description: size of rx fifo size in gadget mode. -- 2.17.1