From patchwork Wed Dec 20 22:45:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 181833 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp58329dyi; Wed, 20 Dec 2023 14:59:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHV7V3U9Q62ktbrWvx2KxfFXz/HGBXjgtdP5KzJi/Na5YQCEIo51UwmO+rLPWcTSyDwQD/a X-Received: by 2002:a05:6214:f61:b0:67f:6f3b:6328 with SMTP id iy1-20020a0562140f6100b0067f6f3b6328mr2616439qvb.58.1703113168607; Wed, 20 Dec 2023 14:59:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703113168; cv=none; d=google.com; s=arc-20160816; b=QxRj5oxXHDnhjHjY1vQaWblthhasAqic2vCjtWmOuxCxFDkzvvdJ5AE5MoWBiTTI5w Rhx9EVTEbjspJE4sAVZPKUeoVgUzt9Usm8h8PVXpot8Nj/S7gpOzvVxiXRiN/0q3Habl cS3uiQ1SE07vzgFcf2Ntu1Mlelwebnnixhn7nMmOmI3jIiEmkIEhGxD2N19CMWHPMXMy 5P7AP+zB+/Tq+HHxmvopA4xQ1QBnMheuX9nWVkn3hzCI1R+xBqczf5hGrNChALIg11kG Q1Whzci2UrIQoESYuZxaOz6BRUH1yXte/PGcllEK9LV+nL/DpUNQ3RMceTDfeFngYiiS j+dQ== 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=eMuCxRzjFJNCzXTHvKDH/OMHNktU6HnB8lTCQMc4++s=; fh=0KzismZj+xI0Z//ZGdqKIH/FO9LtSZM7Yj4P0VtrCz0=; b=hX5LomZBfrTRLN9wJyOjIIOpKq2zwdsArS0yNR4Cn9G9GqppdytgxgKIN9c4zqwMiK fg5uGrKEkQV/6Oygcw4D7fvM/IJg1DgbMgtUrMIQrC4k5srb9F/Gft1kHp3aYYmRyPhI /Df2JC4pwvHNHOTFtDyFHHrFBB2NbP4lJjjJFJDn6rlvMlWSYPeW4pMntFHHualmlFU2 scJCV+9MRD7+JAd0kB5tDjApHIJ5sLp/S5AcjBfAteYCuiNDZ0rKlrKM2bwQeXT6GDR0 2qi3hF51t1cb5CLnqx6LZA58zvu+Mxe9W5rdsR4Nw8fOi3ye6WNa3IA+FlcjQkU/zsUE JmOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jjK0AM62; spf=pass (google.com: domain of linux-kernel+bounces-7560-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7560-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c4-20020a0ce144000000b0067a15482c88si765486qvl.304.2023.12.20.14.59.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:59:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7560-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jjK0AM62; spf=pass (google.com: domain of linux-kernel+bounces-7560-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7560-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6788A1C2183B for ; Wed, 20 Dec 2023 22:59:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADE946721D; Wed, 20 Dec 2023 22:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jjK0AM62" 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 6EA614BA96; Wed, 20 Dec 2023 22:46:17 +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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BKMgbEf031197; 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=eMuCxRzjFJNCzXTHvKDH /OMHNktU6HnB8lTCQMc4++s=; b=jjK0AM627l9ydxnBTeYWDDRdA2WPPUCmEac1 CYpppSZ/s2tUxHdtiZla6tUQIp9LNGggTE09NdeUe5PhHM0ZQibbofd3eQX0v1Y5 eZaP/OC0hkGu8gLGZT27qNaWwbV6dAqq6bKywFGKtq7uD4Yld8gUKU/LbCZcgpDB /2HwWfrdlGlwjailM5Snrh+MWT4HAYTc5G+mv2nXTH30+q+GDVq5u0W40x08xz5c YPPyNsv0ymlFgeD+t1n0QCKOQnqn8qL/igeYr9gxLGfDhTRMlUE2Xt9lWrmVJGh6 062mkMmFLpJ96xfZHA1XQ3+WkKLNd6VZdoJqTrULx7R7daPeQg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v3tmm2d5b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 22:45:58 +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 3BKMjwvQ008303 (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 14/41] dt-bindings: usb: xhci: Add num-hc-interrupters definition Date: Wed, 20 Dec 2023 14:45:17 -0800 Message-ID: <20231220224544.18031-15-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-GUID: g3V0QS7SarQUXzq-4aMU39bRL2o1P_1t X-Proofpoint-ORIG-GUID: g3V0QS7SarQUXzq-4aMU39bRL2o1P_1t 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 lowpriorityscore=0 spamscore=0 impostorscore=0 mlxscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=655 adultscore=0 malwarescore=0 phishscore=0 suspectscore=0 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: 1785843593665343331 X-GMAIL-MSGID: 1785843593665343331 Add the definition for how many interrupts the XHCI host controller should allocate. XHCI can potentially support up to 1024 interrupters, which implementations may want to limit. Reviewed-by: Rob Herring Signed-off-by: Wesley Cheng --- Documentation/devicetree/bindings/usb/usb-xhci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.yaml b/Documentation/devicetree/bindings/usb/usb-xhci.yaml index 180a261c3e8f..4238ae896ef6 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/usb-xhci.yaml @@ -29,6 +29,12 @@ properties: description: Interrupt moderation interval default: 5000 + num-hc-interrupters: + description: Maximum number of interrupters to allocate + $ref: /schemas/types.yaml#/definitions/uint16 + minimum: 1 + maximum: 1024 + additionalProperties: true examples: