Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp430660rwd; Sat, 13 May 2023 22:51:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WFIf8p7y6uIpfDDKgfooMtyg71MzkSzfCrdNO23wxWfZKHrG2NWbK6QGACktgn4rf7AQY X-Received: by 2002:a17:902:b08c:b0:1a1:ee8c:eef7 with SMTP id p12-20020a170902b08c00b001a1ee8ceef7mr31771768plr.48.1684043505415; Sat, 13 May 2023 22:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684043505; cv=none; d=google.com; s=arc-20160816; b=sGt2w7+T98aVQzA2LUbBKadjJ+RnLXlxKt7z/JkCPfVK4k+0uJxLetkk3fb9znwa+Z /Flrpg3heN4htPMwBPnd975DNGi+1QIBO4rzk8dCer+5o/uq1l5CFHDjixsEgf9dGNkV 9suJcqN7xYuw9bQohkoyOXQIA3PCbrXh0x0k78OHk1gxWEybMxAjSzofZN2MREHEVaOs 52VPZQzhvZjWxp3g6bTxGPn11pp34G/Dj7qdscyEaegmuHgnQZhbhAzdDmeWsOsRaxCI E0ZfnJKgp1M2/dLTqB/9OUtgjMTOOGuEnevRt0T4s6yPytgEGCvaSfeiGC48YNdBkTHA Xpuw== 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=FIUn8KTUlbDUJcxSAqS9mSFnqzJwRxhHHe5Ep4Xwb11X9BGv6tR5Oon3d2Vs2OVrqn ZbJbWU1WRBuxWVAVgHoHEWYC2oIRnI19BnOUxt8Lt8T0DWtsLJSRVmFoCZIO5ODYczKT xp09yO/IGNJrsGgB6idEIugZhdt/pMQGGjEVM7xxeN/ZfrilzlQqtoKOGxGd1b2hLTL5 rTBaAfeMqPCC+cHP6kHLArOxKXmJyG6Uy6BdMx8hYc0/ptrIQ6da7ehguVRAVT9undM5 7/jmD4oL0jT9QvCUETaqu/yB2va7XOeMK5qbZINU4VJHp4ATu/3iYtp1u56hs0sinxQG 6Wtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SxBqPY7O; 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 li12-20020a170903294c00b001ac4c2f8e05si11866590plb.46.2023.05.13.22.51.33; Sat, 13 May 2023 22:51:45 -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=SxBqPY7O; 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 S233722AbjENFuV (ORCPT + 99 others); Sun, 14 May 2023 01:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233472AbjENFuJ (ORCPT ); Sun, 14 May 2023 01:50:09 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B4626B9; Sat, 13 May 2023 22:50:03 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34E5kYEV006439; Sun, 14 May 2023 05:49:46 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=SxBqPY7OA7eoGBdibY1JqzXI9G4Yv5xUevXMdg+SDn9xFN7kG42+qjzYsmttrS2LRTmK j7dAfryAwm/AE1OD3ixHMBDaJGbx7lS4Z9s7RHzE7M1jMwMmXCE4gQE7YgPkjSUquQeC j/xp74Sl2zT8ZoDzRoc+nMq0f3k7xvWeeBLirY/O904i1D9qmJtxFDn00PR6hEPpIDsr xdbdLTqY5plxdcdRjNrR5Q8Dccjksx3ejHrIGn+MIJyj297B+t9Ug1t+1WiVlfrjyXEo wtmrzobJm/YPZd+lOTpPICxwpdFUYj0Msu5QrscBkxLvNzoIF8SZ852h295YeEhvdF6C 7w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qj1gxsg8b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 14 May 2023 05:49:46 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34E5njUu018475 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 14 May 2023 05:49:45 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; Sat, 13 May 2023 22:49:39 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Felipe Balbi CC: , , , , , , , , , , Krishna Kurapati , Bjorn Andersson Subject: [PATCH v8 2/9] dt-bindings: usb: Add bindings for multiport properties on DWC3 controller Date: Sun, 14 May 2023 11:19:10 +0530 Message-ID: <20230514054917.21318-3-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230514054917.21318-1-quic_kriskura@quicinc.com> References: <20230514054917.21318-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: F3oS_2-Lkq3SEBSDytMcxwk5f_PqmTDC X-Proofpoint-ORIG-GUID: F3oS_2-Lkq3SEBSDytMcxwk5f_PqmTDC 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-14_03,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 spamscore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305140052 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