From patchwork Fri Dec 15 21:49:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 179589 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9605394dys; Fri, 15 Dec 2023 14:06:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzym7jn7eH04R+8O7yjq8xkAlBDeGpvX2Qm2BZTYZAGTZpHtp04h+olC8ecd0dl3BZTUeM X-Received: by 2002:a05:600c:378d:b0:40b:3f72:de79 with SMTP id o13-20020a05600c378d00b0040b3f72de79mr4534402wmr.5.1702677973880; Fri, 15 Dec 2023 14:06:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702677973; cv=none; d=google.com; s=arc-20160816; b=hx8dzGZxC4kapcEcou/rvFtzX9746pTg6F65Ju+RIqvLHA8DB+0oJbpNPCMvlAqucF DYWcprzRpY0D1pQQWv+tnDEKjGo7Ta34bHMCrUgBCRCZFS8xFI6JAg56BgWmS2ZR3Buy 49YX5f5Dd4fcufVRAxAP3FEJrfJrEapvzudthrPR6FYf7h2pf20RuXRdl2yMS8wgy15v zPyjU7tWlClUG1V32aQKo0JEj4qM+NL/mj5empf+zhnktgic09NKOX2AxaQt+frTRdjl oMRzwEfAEuGMZaxp/Tt13BA/au4nGisbIITJF42pBJman5IUSv4qD4y985t4rG48E029 P93g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VKttq88MR9oEH90slTZocwLTUN/hRJzZfOrpKZ8mMDQ=; fh=0KzismZj+xI0Z//ZGdqKIH/FO9LtSZM7Yj4P0VtrCz0=; b=Eu6j0JDNbiGoyvXVYqnIIlqUvBdgrPHWbLwo3medfFp9XlpBqBwGaxNIcb3iNI+bMg NC+kOgzv7lEICBjy1C8DA8UE8zoxoO0FA/y1UIF+ZYSs3zPtXr9XlUeDorjWcGWKP0eR WeCTQHn3JX32n1nM5silYxYTX53qu3i08n7qPEV94NNa2V+4a0EqXpPl/hnnWQ+F9Xo2 fkJ58dmVaJf3ky1aUsBcmiZTpPYtObVlqrZkESqhXxHuHFQr8ZqWPEg4IWbnz0BxX9CE Oo6scV5Czz3iD+nvUf9ziH65fqSf7QHY+05buK0X7/dVGbfiYEbFX0BTgVMAznyXOXa5 TBjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="m5/1Lhfo"; spf=pass (google.com: domain of linux-kernel+bounces-1719-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1719-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lv16-20020a170906bc9000b0099bbff8672fsi7784299ejb.696.2023.12.15.14.06.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 14:06:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1719-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="m5/1Lhfo"; spf=pass (google.com: domain of linux-kernel+bounces-1719-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1719-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7E6011F23961 for ; Fri, 15 Dec 2023 22:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2819E13A367; Fri, 15 Dec 2023 21:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="m5/1Lhfo" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BDEB138762; Fri, 15 Dec 2023 21:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BFIc2Bk027733; Fri, 15 Dec 2023 21:50:11 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=VKttq88MR9oEH90slTZo cwLTUN/hRJzZfOrpKZ8mMDQ=; b=m5/1Lhfo4oAzjoK1HE7LNo9is34wjETYqMBg UJZqBzSflsletqpAG/BCs8BLB+7hO6Lz8gLYnpWBvkR8YJGKDwx+H4HugFzZdIlw g0odGh3YHa8+4weG1S21Eqsv/00tWN5ibf2KwviOSY0iebyi785lgFx11zTnTcMY n9lFJpapBr9dMcbc8W/CtPNousetOeLu6wk50+W3VPKZeYdvDSoxKwbPCmIF8Fng BRnhfYCYT8o0fYgOEhyDZOBc8YGHVwojTsvNW8a6os7mv3rEwiFepftkMoZjT0Bd WX/+r3VIMtM3fIfXgB31vZsb3cGA8Y+iSnkL9QkNKJGN7hdtlg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v0hdfa7dx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 21:50:11 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BFLoAp6017972 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 21:50:10 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.40; Fri, 15 Dec 2023 13:50:10 -0800 From: Wesley Cheng To: , , , , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v10 15/41] dt-bindings: usb: dwc3: Limit num-hc-interrupters definition Date: Fri, 15 Dec 2023 13:49:29 -0800 Message-ID: <20231215214955.12110-16-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231215214955.12110-1-quic_wcheng@quicinc.com> References: <20231215214955.12110-1-quic_wcheng@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: uwgtoMzCKIZPoyKoO690_Z0ZP4u1br3w X-Proofpoint-GUID: uwgtoMzCKIZPoyKoO690_Z0ZP4u1br3w X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=761 impostorscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312150152 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785387258971093197 X-GMAIL-MSGID: 1785387258971093197 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 ee5af4b381b1..203a1eb66691 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -432,6 +432,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: