Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp640755rwl; Wed, 5 Apr 2023 05:59:42 -0700 (PDT) X-Google-Smtp-Source: AKy350bqZ1TwTVVdJ7GEt03ZNyXcYjybpEFtvxvOlESJ19JFzGNcSmCyfZLhI58cIMJ0UDZ8DeaM X-Received: by 2002:a17:906:578c:b0:948:d1af:3a5a with SMTP id k12-20020a170906578c00b00948d1af3a5amr3023039ejq.5.1680699582098; Wed, 05 Apr 2023 05:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680699582; cv=none; d=google.com; s=arc-20160816; b=iBNpp/2MU4CVBBeaTAWXO76BapPHZJfk0yNauMUrPx4AQAqkoL9JU680AMc2jd9aW9 t3SxaGBB/0A5lXxRF8LHZajZJivsZqBwoHH/WiHdq7VKGXRoUst3rtde8p35dRdDVJhG eLUfHrREr/rnz70pgtaO9Jpr/NXrwQEnzc8/bTm2zyiI7FUzIEiPH9X/unfPwVkxEV+6 ntPFhRSWTsyDNop64QCHaoRLXhNo5X+mnObHm/NDeEyVo9THicrt01d4LPhORV5RPjEo QsPiW5nHqqDnY41mf607o8b27Kl5UcIhuW3KELu6bsaZuzo6uIwS4Wkjyeb19SZB/27r MLYw== 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=CNR6KG8B6T5lsbLRRvAKQq0VaytDxWDUKn+IDhwl6dw=; b=hi1YBcENt+P47hCiNOM566su4tkie7Yaqr7omj6/hUpsaKqajXdEf9wu3Y8sFJNPav adMA3BWV2RDjkDy/qh7Pbsg6GEucj+kYiqhhnmzzdH9Vu6Oeh+g5qTDdQ4gJUay2Z9Ck toEhQIrkG4pz86u7QkVaTbwC0Ph1ebYS6zxNbqUysZkSzNzgTxQoF7bkrNxFFVbXCJx2 9qNHyrR417myMBEYAK82+7sV9uFrkJagFYFqzNKOjMSxAHkaBikOq9XKPGtAi2e9utVU cUp3/R53yvVObPAoH4K/Rs6GUKbg5nU5DoKA74oi1ANDQkB8tEgT7hWsWOqgZ29t+XIO ujAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mrU0IB55; 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 qa6-20020a170907868600b00947f88802d6si1062503ejc.974.2023.04.05.05.59.15; Wed, 05 Apr 2023 05:59:42 -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=mrU0IB55; 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 S238095AbjDEM6l (ORCPT + 99 others); Wed, 5 Apr 2023 08:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237943AbjDEM6k (ORCPT ); Wed, 5 Apr 2023 08:58:40 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3480859C9; Wed, 5 Apr 2023 05:58:37 -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 3359aVaR021893; Wed, 5 Apr 2023 12:58:28 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=CNR6KG8B6T5lsbLRRvAKQq0VaytDxWDUKn+IDhwl6dw=; b=mrU0IB55KNi+SB4ao/yzRIg5By0eedSgu6TAEqFrmGGHH9gT2mbigcqisn9SV9+D7UaK kTSn7KIbGnLVaUTpyR5gleCZHhr1w/m9ECqv7dmzYJGaQIYDiyx3CghLq+uYcn8FCoEo 7oQlQDS+LvUjTsCy4zVPwZG3xDxU2pXNdcBSb2l59p5zeYUg354vXwAREO5oK8iiWCx8 67eI3Hp6+92g+Qao1f0PrWK9orDo2EOHBo+SGtkVa/rGW72SgCjIdihIe3aVm/1PqdK0 CYRY+91J7w/RfOb8urCO93SEClFzII6KMqONizDyktPOlfg5+yQLVIqOHmnWNXHwsQGW JA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3prppujjau-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 12:58:28 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 335CwRHl009689 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 12:58:27 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; Wed, 5 Apr 2023 05:58:21 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski CC: , , , , , , , , , , , Krishna Kurapati , Bjorn Andersson Subject: [PATCH v6 1/8] dt-bindings: usb: Add bindings for multiport properties on DWC3 controller Date: Wed, 5 Apr 2023 18:27:52 +0530 Message-ID: <20230405125759.4201-2-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405125759.4201-1-quic_kriskura@quicinc.com> References: <20230405125759.4201-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-GUID: bknzlvxHvj2AXOSa3zukh2IrluwE5YRO X-Proofpoint-ORIG-GUID: bknzlvxHvj2AXOSa3zukh2IrluwE5YRO 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-04-05_08,2023-04-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 suspectscore=0 adultscore=0 mlxlogscore=933 phishscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050117 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 --- Link to v5: https://lore.kernel.org/all/20230310163420.7582-2-quic_kriskura@quicinc.com/ .../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 be36956af53b..96701eb5a17c 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -81,15 +81,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