Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5557182rwr; Mon, 1 May 2023 07:36:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ77tKGyQ/dXFl/ZJYsopyLd7Qs5znKl31SBVQZ0DIfnMKYGZKXGV5onflW4T6g2QtnmfSkr X-Received: by 2002:a05:6a20:a096:b0:d9:2d4e:c08c with SMTP id r22-20020a056a20a09600b000d92d4ec08cmr11953525pzj.61.1682951806283; Mon, 01 May 2023 07:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682951806; cv=none; d=google.com; s=arc-20160816; b=OOenN4SEtaX1Fz0fisDBUaREt4oTzegv9B6D/Ot3tLGJ0o/m8tsxPjb9lAvSqg8o3Y mXa+bXmEk6DuBITMnvD9jReLQQ2N5b0O9cFGt5naHMrTo3Dqb1GvDP7RXN/I7r7ObQJb eNY8hlVXjVLGd4ftZhiRZqSixd4vw3O++LDNDT4+Qdl2hcGnoLzZqJCLPKIbmfqBbVdf mOhsRJhRDTI9xzFVPHnpny7eI5oKNdwMfdiS+n7kvuIUkR1SHJs+3zGx6ZkJO5l/Mysr YKxT4w1tADpcNzZd5SsQ9ff893kq10aNoPqlzWDRM/UX15XJxWhWh1yMEmAy6U9K2Jvj dfMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=16XAQ02AhULJRGeDJY3Qa4c7PEwmcDbL/yccsoDpkbY=; b=R1TIL7oC1wu92mnlFFWzxMb4z8GxOscBIFlnahZ8qTBBhi5/lO6eF7Rrn5yYuzVfC1 i9zFd0lESYEXp0z1fnmObyhEgn+wOwezjZ5Kg1j4R/fO9hApstlKaZUvfleSuh/VjQ6E Q1KaJtiiv25DMowLsi92FXy3cheYO3YcB3/4ct8qeKIrJ2twlMl5CDrhTQ0dv0n77DJX Ts+22bSyfjoAwkeYEvykpw0wL+k2xbVaLBgcZU3KNrr4AuS8tWyJjJFUwzS3UmkhMWMs KECvwal0WUZGINZHsjZspEyrMX7cDqFL+FHgs3r0WT35tDLTfjHWGEOby8UikpLEQl1V 9fCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nn5KAx9k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a6552cb000000b0051b0df691aesi26827815pgp.771.2023.05.01.07.36.31; Mon, 01 May 2023 07:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nn5KAx9k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232535AbjEAOfq (ORCPT + 99 others); Mon, 1 May 2023 10:35:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232511AbjEAOfn (ORCPT ); Mon, 1 May 2023 10:35:43 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F18AA10EF; Mon, 1 May 2023 07:35:41 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 341CFf1r014323; Mon, 1 May 2023 14:35:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=16XAQ02AhULJRGeDJY3Qa4c7PEwmcDbL/yccsoDpkbY=; b=nn5KAx9kQUXKztbJgrZkdqzLAVYZVB6lEy6X4ISq4xtBUEB8cTw3NwtYBmyhIc8jxijR cYtebDJ2B1SM4RBhHh24brxnrMJ6U065e34pi/OP0CPGr7FVezUHvCmvOmLOkK7/uEyz F3UwgCTYAZINaWWjE4dDII+mL76QR7h1RS5+nmji2KBFG1k6/S22PVqdAUSYt956zFjn nsvYm2PNFY7ylgASmVzgrUw95i6B5mFYIJmLgcuvOoNXA1Z74OYc/v6BsEvpx8zJ+qzR hWzFqDGAt080bzkhaGQSLHkf2qc0pFI2oQNvtRTsfk7QUFlSn8Nugai/16AgMNhiyRBj TA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q8ve23jvq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 May 2023 14:35:23 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 341EZDJB015433 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 May 2023 14:35:14 GMT Received: from hu-kriskura-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 1 May 2023 07:35:07 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng CC: , , , , , , , , , , Krishna Kurapati , Bjorn Andersson Subject: [PATCH v7 2/9] dt-bindings: usb: Add bindings for multiport properties on DWC3 controller Date: Mon, 1 May 2023 20:04:38 +0530 Message-ID: <20230501143445.3851-3-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230501143445.3851-1-quic_kriskura@quicinc.com> References: <20230501143445.3851-1-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: DmRJWy_sLc_7XP3c11TJbzEXHXoiIqu_ X-Proofpoint-GUID: DmRJWy_sLc_7XP3c11TJbzEXHXoiIqu_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-01_08,2023-04-27_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 phishscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305010117 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings to indicate properties required to support multiport on Snps Dwc3 controller. Suggested-by: Bjorn Andersson Signed-off-by: Krishna Kurapati --- .../devicetree/bindings/usb/snps,dwc3.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 50edc4da780e..4de0875c2ae1 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -85,15 +85,16 @@ properties: phys: minItems: 1 - maxItems: 2 + maxItems: 8 phy-names: minItems: 1 - maxItems: 2 - items: - enum: - - usb2-phy - - usb3-phy + maxItems: 8 + oneOf: + - items: + enum: [ usb2-phy, usb3-phy ] + - items: + pattern: "^usb[23]-port[0-3]$" power-domains: description: -- 2.40.0