From patchwork Wed Dec 20 22:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 181828 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp57919dyi; Wed, 20 Dec 2023 14:58:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IErmyIqBfpdhQ+LeDCV5LBax7vA5g2LcArWLZOL/4khIeS83hr/WyiAwGZ2+HYpRy7sgRyj X-Received: by 2002:a05:6e02:144e:b0:35f:af94:ec9f with SMTP id p14-20020a056e02144e00b0035faf94ec9fmr9097883ilo.48.1703113094226; Wed, 20 Dec 2023 14:58:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703113094; cv=none; d=google.com; s=arc-20160816; b=lZdlX6xW9pbBkWZYGMRsh8woS32bnQM53Kl3v36Iy+u33E0O/KzVwCzb6M/QK1pNci xQ/AyADT7Pe41ZgCUoZPo31nOCo8gtIC8JY4ubUw8BQlIVYop9Y2bC9fsp9coZAHejl6 Q2jas8/UJaqUhH4D1VsXfDXfThBuLfrnXufNmttZoEJABSoWsfj7LPfYe4PbfE4qOoUC 4hcQmbVSr/4W2aCpndn9OyKXXZjMv0pd28mcp2kvctpGYcEfTa3lXNzcHmC36f5AMXPS 3aX5OI5yCy260WpUkDvoOdud0beamPO+vlRWDVoLerrlD0s53scBd51F1hU9TyebCrOR Rk3A== 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=iHgHZ4ttPiWSU2RB/LocYMnOgtIQNDg4o9iXtlyLJ/VQV7v2TdzMJTyU/6pcLBLCUD 2FhXCMg8rtvlri+ZXib5NGocg5RBJxgDe4xc14ropEAR4t7pQAnU5eN7uolYN3192Mgl adilVlrET8AGBAf4eQJIu3OSYZdWMQF3a5iqE3ZT16rKkwBZbRSlO3pLUPjwRlCwz1Sy Qi2fh8c/A9izmzAAuEfUObDjKWBRspb1sbUFoYQ9hCjs3X+ceWc6jjZ9mhOJBwHfC3aD kaTeTpdu/l9UuLtX0Wxfaix0YI8VDnTJIpVrsPTxlGyOvAzQoUjTtXDqG4P9YWoLhH0G ISZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=huLYvynO; spf=pass (google.com: domain of linux-kernel+bounces-7556-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7556-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u15-20020a65670f000000b00578e0ff59bbsi463726pgf.865.2023.12.20.14.58.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:58:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7556-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=huLYvynO; spf=pass (google.com: domain of linux-kernel+bounces-7556-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7556-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6D012285919 for ; Wed, 20 Dec 2023 22:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CA965ABB6; Wed, 20 Dec 2023 22:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="huLYvynO" 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 83DC94B15F; Wed, 20 Dec 2023 22:46:16 +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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BKMVl9F005684; Wed, 20 Dec 2023 22:45: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=VKttq88MR9oEH90slTZo cwLTUN/hRJzZfOrpKZ8mMDQ=; b=huLYvynO5oh4RLO1quLZwUd4v3kO+wZwPcZl GrOHB3em9nYJ2cl3Rs33/GRMKonLzKjdc3JWMSk5jZ+3PbnMNVPXX1ML1XUxFCxU o6tOnf3gTVzG+sEzBFKngVzHG324nK4PSjZvRzJq89FrMTDEpJeYWE+EjjVKiIPU HPeu8w+Bk0Qssj1d6biPoG47UZ/TXOyJKyfaNh6clRLj82hYC73lspoe3uJanYNx tgSkCIUqCs2aRi/GrPnfPOqYLS7m9nP5Wolp0hpa3GP+ekDJQ1vCxF9r2SvVbqI5 c/4XQgBw54T3IAsKFThGMnsvAcJ/QBXWIyOcPC7/dUvB+MPr6Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v37vxw2sf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 22:45:59 +0000 (GMT) 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 3BKMjwHO013962 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 22:45:58 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; Wed, 20 Dec 2023 14:45:57 -0800 From: Wesley Cheng To: , , , , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v11 15/41] dt-bindings: usb: dwc3: Limit num-hc-interrupters definition Date: Wed, 20 Dec 2023 14:45:18 -0800 Message-ID: <20231220224544.18031-16-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231220224544.18031-1-quic_wcheng@quicinc.com> References: <20231220224544.18031-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: 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: t4Ssa-aczNihzakD6xRPtz0KlI0fRcVN X-Proofpoint-GUID: t4Ssa-aczNihzakD6xRPtz0KlI0fRcVN 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_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=759 suspectscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312200163 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785843516190667318 X-GMAIL-MSGID: 1785843516190667318 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: