From patchwork Fri Dec 15 21:49:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 179578 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9602927dys; Fri, 15 Dec 2023 14:02:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgPahaQnWZm6uIYCe3fxUlL+fjZX2bqrZgGvkYAZ/N0ykC60ORDY9bZUbp2qkk/CAr+WZr X-Received: by 2002:a05:620a:46a0:b0:77f:76f2:1b with SMTP id bq32-20020a05620a46a000b0077f76f2001bmr12360928qkb.150.1702677745954; Fri, 15 Dec 2023 14:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702677745; cv=none; d=google.com; s=arc-20160816; b=k522FRg/kLm5JcB0m4n0IhxmO8EHAjq0La20nJV+Fe99aN+rWggPA00U+ci6Vgz/fL UZ1wltGuG1ZDKMSRLC7zLJJ5kaLrW7vW6pDEBG9GQmXpwHvZd2avxNMqQJdJg6SXS64W oe3sXiuXwnm5IdH4cvQCZyiJhHsNOifWOWSuusL7iXEdTFbFiDREKwxzs8PTxVQ27Kyn X9HTB5i5YB21yjupdZjJgWcvXGkcN574fxWOwZdbh1bfEbPs2n0PB7y5Cu+CQlur0usL Hn2bJElycVEdFW3IqDzFElV2mQh5SABj0BlzjVpaC0om8Ad/X2HE0s1JhfOfRxa17Apl FAhw== 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=KE0qSRU0m22+l06bHY/auCkUfDOwWBPErcCG1ZzFEmvoixDn7urRpq39iViTxHW0Ae NPRGwFkBgr/i6BVIqANjFKA6FpxrIMZ/NJ8z9HM3jI9mDtIu7l3M72edCMSN12ekmB0V kYGN4zTcxyR84P1hYtTMFETHEC0HwrvmWoH5DVx4OFaVnodjqHBJigWDsMKVX4+3OgjM p7YgqcI+M+gbgD7Q+kqaC8fbgTy+RZE1DZzdTWZtrDW65+V2jh2lqtTEk3OLZr+y3/z9 /ZmjCjgTVhElfMgBZKEnQYi5aY1X74fF05LGDGNsblMz1H1PmWYASid15kh/K3ddAUMx 8itw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eYI1m7QR; spf=pass (google.com: domain of linux-kernel+bounces-1704-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1704-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j9-20020a05620a410900b0077f01ebc03csi18927916qko.397.2023.12.15.14.02.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 14:02:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1704-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eYI1m7QR; spf=pass (google.com: domain of linux-kernel+bounces-1704-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1704-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 B1A101C23CCB for ; Fri, 15 Dec 2023 22:02:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 063DF83F60; Fri, 15 Dec 2023 21:50:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eYI1m7QR" 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 BD8C46ABA0; Fri, 15 Dec 2023 21:50:31 +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 3BFLSQJ0028660; 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=eMuCxRzjFJNCzXTHvKDH /OMHNktU6HnB8lTCQMc4++s=; b=eYI1m7QRkTmg8eWFQPfto8HEiq8PRfsQzPYs nHiVbIvDimVbkHT5mB/a62QX4YXf3fKVF3AQrMbusgO4kwEF5RksssRyhrOOPgGR xnjBfD5xurA0N6yaeCoN2Y1resnusMjkXYcBLDIKas71SdTfzmX4t1EbWmQk18hO 8pkJE7oLzTDXodVF37y6D8jkrgDlHFkA/07nImTRc2Z71HCwF/H+rVoSXE+2V65S y83xPxLWrgDV+JMq+HJoJVoC9Vsfz16yA8czTMnmsgoWi4GU5p06v5Ub8+Uuqdhm KThemRAvofSUTK2JgWI4N56iuVDsLRfvTbqKUZRrfTqrcstE9g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v0hdfa7dw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 21:50:10 +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 3BFLoA6c017963 (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:09 -0800 From: Wesley Cheng To: , , , , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v10 14/41] dt-bindings: usb: xhci: Add num-hc-interrupters definition Date: Fri, 15 Dec 2023 13:49:28 -0800 Message-ID: <20231215214955.12110-15-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: kPJswOKIsVrrvKNRDxxVDWaee50KQNsu X-Proofpoint-GUID: kPJswOKIsVrrvKNRDxxVDWaee50KQNsu 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=658 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: 1785387020002726774 X-GMAIL-MSGID: 1785387020002726774 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: