Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3386632rdg; Tue, 17 Oct 2023 13:05:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESK5J0kZKWPWdN/bGTlQlDh2PzpiksUEQ2xvTqFpjuIjU/a4zM/MmS/vbZP8HIYLh+p30P X-Received: by 2002:a05:6a20:da87:b0:174:7f7:d049 with SMTP id iy7-20020a056a20da8700b0017407f7d049mr3556002pzb.9.1697573116615; Tue, 17 Oct 2023 13:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697573116; cv=none; d=google.com; s=arc-20160816; b=pN7PMFccipo6538jd5nAsll5BW8VwPIttN1aYKNFvzAgpTb3uSxw7nfhUMgjvxzsLo QFFYUMSXbKRM8UhWDk92LOKuG/BRUBthWi7Igd1mqWgRId6yFgD5v7SwL7DqCjHt7PNt dQxBDSnvd1i20XVN2ZJMX8T4yd/uSbprMHQlP4DX+i1eeqrtdod4axLM7pqYbr7+stfZ I0NuDogQS/4QnSibJZWhlk+XnNYDF+cbmslYE4bYBSF9CMHjtmH1Rq5aZx4kv+HmI3FW 4mg4mLfafgxg1uclN1dknvYpwVxAn0TBXnyraRwafPgz1/71W6HR9qtDOjLY6GbCM9rJ wkTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aiIxeXlTVe3WUSnGjZgKcL6gjJlYw1TLcNa8U6pmNOQ=; fh=ASZxE/GudOQkGCAz0d02NHHSpg4iNHYOcDWl1imlof0=; b=AshGZkcJvt7+jfCgliokTlHMzDEUxLp9G+Jytvozz8/ZgnWi/jCqe6p2bkQxozG3Tq 1CT0YVsHVjhtXwKhlpHvFvXKtCZfgvwyBWRbmsZqH2R1vvpBNjTC8uuwmDiT/gjAG8WR AVwSlUFrTB4jM6fKhlfR+DI0pKp/a8B0sMNnQzG4QEco/A4G6dlPTIrt8Mlg7kgrrnv4 ZldfFPfCtWNZjB+u4jCesK8CBSULECRQDgCmNTWQYinRhcRkrXMTwBmpijdWwBi6SbjA kYyk60DiryY7pZvzv44qVTZ+4cZ+1B1QcRnqOOUVtigQKmMvIPJwbNFWL+BVc579dnqv U2Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PnMIHfP1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id em16-20020a17090b015000b0027ce5205f94si2328144pjb.150.2023.10.17.13.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PnMIHfP1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 41EF18028560; Tue, 17 Oct 2023 13:04:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235088AbjJQUEK (ORCPT + 99 others); Tue, 17 Oct 2023 16:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344544AbjJQUDL (ORCPT ); Tue, 17 Oct 2023 16:03:11 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CC8010D4; Tue, 17 Oct 2023 13:02:13 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39HICkX4028250; Tue, 17 Oct 2023 20:01:59 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-type; s=qcppdkim1; bh=aiIxeXlTVe3WUSnGjZgKcL6gjJlYw1TLcNa8U6pmNOQ=; b=PnMIHfP11CyF511XXSow9y6KqBKJ5cZUykgNRsE5LjBpJcwWMA7nK9D33IqlfKiZK609 vyVh//y2EO6AquVIDa9P0G+46fcWPsdzIb2bXtnYRO3eqMu7fR0CmmuG8ZBG0oQsKdRA OwM81cnxy0mKBr4V6YRG7+kLdosOqfwSyBIFoHNqR51YSg9JZHaj60jTs33WfODpPVij davCGXDXJSvYVde5xzb3rnn8as3dXdqWr7eKjlydQg6RxkDE30qyfkfV2oawjgnPkRDF 16y5e7e/XZdmjCfzNs4W1eBbv027vZuWCZQjU6CvGDT9XkHbZ4wF8PBd7HBMOozft/MB /A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ts85fujf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 20:01:59 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39HK1Nok018685 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 20:01:23 GMT Received: from hu-wcheng-lv.qualcomm.com (10.49.16.6) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Tue, 17 Oct 2023 13:01:23 -0700 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , Wesley Cheng Subject: [PATCH v9 15/34] dt-bindings: usb: dwc3: Limit num-hc-interrupters definition Date: Tue, 17 Oct 2023 13:00:50 -0700 Message-ID: <20231017200109.11407-16-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231017200109.11407-1-quic_wcheng@quicinc.com> References: <20231017200109.11407-1-quic_wcheng@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: dxktlNWDCc-ySHGBfddTkgpBXagXl4Hh X-Proofpoint-GUID: dxktlNWDCc-ySHGBfddTkgpBXagXl4Hh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-17_03,2023-10-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 priorityscore=1501 phishscore=0 malwarescore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxlogscore=730 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310170170 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 13:04:58 -0700 (PDT) Ensure that the number of XHCI secondary interrupters defined for a DWC3 based implementation is limited to 8. XHCI in general can potentially support up to 1024 interrupters. Reviewed-by: Rob Herring Signed-off-by: Wesley Cheng --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index d81c2e849ca9..3e9141e8a005 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -433,6 +433,10 @@ properties: items: enum: [1, 4, 8, 16, 32, 64, 128, 256] + num-hc-interrupters: + maximum: 8 + default: 1 + port: $ref: /schemas/graph.yaml#/properties/port description: