From patchwork Fri Mar 10 16:34:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 67554 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp974626wrd; Fri, 10 Mar 2023 08:41:07 -0800 (PST) X-Google-Smtp-Source: AK7set+9Ns74i5R2yGNBf9acsbCqGzIk3iF7+haiZdtfV7MAHj3NLGfAwKVZTS8BgQgaiA+F9Kuz X-Received: by 2002:a17:902:ea01:b0:19e:9807:de47 with SMTP id s1-20020a170902ea0100b0019e9807de47mr31343748plg.60.1678466466994; Fri, 10 Mar 2023 08:41:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678466466; cv=none; d=google.com; s=arc-20160816; b=daA3IQLQiFMlQN2sE4bPTaUs1DORXABYtv6oZJkEZqg/5Tbyhi2cV5bCRctUQGXjSf 1F8wZuOCZoeJOcQGAL3/JzYcGIWgPAcZYM2vwTWRJaR0cgCTRU/aCMkla1BTYYQwylwh Av5jvGOnw9ePNrWeacvYQcjnqSnGIfcZX5g+YuuBUmzgLpSZORt5OGsQbI/omSXigg96 MZ2oAvCMjndaovIm+FrAMacHZwiX+s9BXkdyuytdILn7KWtK4c9roFse5BtDzXPWHDdH m+e2zGsFtNK4zVJ+l7+J7y38A6mv/HA+ZeOPrtYal8HcBANfGLGOys4k7RRvi20wyl/y +iGg== 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=HxSwyP+2OG6XCoyl3qmb7MZ6S4z6JTJB4B/w+heXhNY=; b=CUjs79qcKRCGwxuBFuAlaVOz1MkM0O+g2qo0CzrTJ4c9OVMK7uV6rAOX+3CTfH5RIb x/F/1bNxal84Px1irwvAPUd4yZzRziGXPCQg9UY0CSCgN4Ks7cGI3r4lZjs31x4ps5Jt 73brBSsKdepSH2g3+an9LCmQ//NvrnMSiVe7kZNvDfHS0bsWF8b3Y4OUpqdaLI0TX/wR dpCzhuyKR1AgYVTPTcZe9ihAmN2RxirKHzvTTMYHC/+3ObWaalcuhxCzsQ/BbhV54szS /1EtsT9Dfh0/GeAYlGF9Ny+1EgHuqCg4h9kaHVh7Y9vQFEXpRqPe4c/gPRSk1SSHHPBs kSsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=i0MtQhNu; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a170902759300b0019a5aa4d768si253696pll.611.2023.03.10.08.40.54; Fri, 10 Mar 2023 08:41:06 -0800 (PST) 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=i0MtQhNu; 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 S231755AbjCJQhc (ORCPT + 99 others); Fri, 10 Mar 2023 11:37:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbjCJQhD (ORCPT ); Fri, 10 Mar 2023 11:37:03 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89AF159FD; Fri, 10 Mar 2023 08:34:59 -0800 (PST) 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 32ADk7LA026063; Fri, 10 Mar 2023 16:34:43 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=HxSwyP+2OG6XCoyl3qmb7MZ6S4z6JTJB4B/w+heXhNY=; b=i0MtQhNu36frKUNXILA0wPlvtaF4RDkZEHvWq2+1WzFF/w4LkZV4fV0rW0TAYKO/niat fed7c8Wd9zioUX1X0C88a5dyrLjfMcZV9yIpR9M+I/kDovdv/6xMIsT9DYN7byYD8+7h nVc+4PLleg50in6xREGILu3Qe6MBAiwZTkiABlSMIhDGUZl8gxiyxw6/n00DO7eQZPqU +hY9+vtgfeHuHag5DoUyqjB3FdSPUJ6nGIRWcPE0wZg/Bg2WJG4gQ1x4IgUZu8tnTNZL 27nbR0a1SOZqyaooSXeBWPB91EiO1bbPBQAR5Fm1NYy3RaYGUwKcqpUEyP8iR9/vdOQa Ig== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p7jutu3b3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Mar 2023 16:34:43 +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 32AGYgBO016298 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Mar 2023 16:34:42 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.41; Fri, 10 Mar 2023 08:34:36 -0800 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 1/8] dt-bindings: usb: Add bindings for multiport properties on DWC3 controller Date: Fri, 10 Mar 2023 22:04:13 +0530 Message-ID: <20230310163420.7582-2-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230310163420.7582-1-quic_kriskura@quicinc.com> References: <20230310163420.7582-1-quic_kriskura@quicinc.com> MIME-Version: 1.0 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: 7zjJ2mweK85Q2Wg7RLTiiYcoPTXSbrNs X-Proofpoint-ORIG-GUID: 7zjJ2mweK85Q2Wg7RLTiiYcoPTXSbrNs 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-03-10_08,2023-03-10_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=928 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303100131 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,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759999654181403450?= X-GMAIL-MSGID: =?utf-8?q?1759999654181403450?= 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 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: