From patchwork Sat Sep 16 00:10:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 140861 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1423418vqi; Fri, 15 Sep 2023 18:35:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHO7VAhsDCgcyMptOpXG93Y3/XsS20Sn8+ekCj2eoiVsY/lnQi+lN6t1ic2KLOYQ+qhjZqr X-Received: by 2002:a05:6871:69f:b0:1d6:4b84:c7ea with SMTP id l31-20020a056871069f00b001d64b84c7eamr3939729oao.11.1694828121602; Fri, 15 Sep 2023 18:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694828121; cv=none; d=google.com; s=arc-20160816; b=nlrb1O/OM7kAKubhtWbHv2BvWbXM/Ub0eNXIyBlZfhzj2ODWPUrBIrhfEsHz83588F iiqR0euwjyaqErtZr+0jY13RF8KYQ+gLXsZloSDmppW8ML18POV5eThjCREaY3flKmjZ N1vHjqIBVvdKoZWDU7wSEAi46bZZIzNe1mjTgtKgSV6tbjVvgAu7pknypzO4LYFl8hIn PqbHPAoSVDFrY/lzhR9+7ho5JPohWSAJhdGeAoiehgGOQA1d5/1cA+HsW++vXrjEUbcA m21oKPBFCgR5mloL34dLIPF/bmau5GhrFffRWaOlwTkVD+qyhVOOuPt7yAK8xlTJmoiV mWKg== 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=2pvcgmbAz9wbhjFGgPMpv8x47OWw0REtKMu8NJt9YiE=; fh=MhCCCRx4c0AeUz43uLzZOKA4YzcBN2mk3tAWrRRVvW4=; b=h9EvHH7hmXYJtOikQKsKLF/z7bY14OFdZmV7x3HYvYNwjdvz6KG+kWMhbX74tbte4Y 0Y1i3iMtKBVsQtBtKRStcDr4/P9GFv6R3Flf5k8rVRhLipNMUZrP3nsOAMzJuC4usWXF G916GMBixMlieMf5uv8fp5EBhSV0quEmaAqwbeUjLcKK7+Saul4U8LTcIpMhPt8DOspR 0ywWuebkujjiw54m65SVPiH3F66BMRbQAmKKZL5gKsbjf6d7QIKM4IKF7HQXftpOToVt q+ZpXNfyZh29zzB2q1XlLYqPF6lej88k/efw91kawwyURQSffVvgAv+SXOSGzkqztnpb HmGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=neqnBJxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id g22-20020a056a000b9600b0069024c6a9acsi4219457pfj.314.2023.09.15.18.35.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 18:35:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=neqnBJxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id DB416833E1DC; Fri, 15 Sep 2023 17:13:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238158AbjIPALL (ORCPT + 28 others); Fri, 15 Sep 2023 20:11:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238211AbjIPALF (ORCPT ); Fri, 15 Sep 2023 20:11:05 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D117268F; Fri, 15 Sep 2023 17:11:00 -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 38G00EMe017817; Sat, 16 Sep 2023 00:10:42 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=2pvcgmbAz9wbhjFGgPMpv8x47OWw0REtKMu8NJt9YiE=; b=neqnBJxG2iEsgxj/fSo8rWIN2O1mlq0pobtfVJTwqsPD4pjrYWqYneIdgXVjFnMkREpZ jtIXQ3jpjk92ZMOHsS8/kV0wiALVxi6xpbmfGElaOBrz6uARgE4KC8LdNMJo3AKYBfwj MUqWXXQ9Aqhai8N9pbPWJM9jAlG8Bhak16PBD8boT9cOHqDm5qIQ55ZXEC7Xn4iaADgS aDIOnyyK94/ylTobj4KbA4hBg1/4t+HG4WZwI4H1qF46fzLatYjtpLKHI2VA4GlhuLkT zJuzAQLWFa0msL+ChGZBi9SrSyXelfTso/irSwIUzP4eMn3ukD3K4QJ07zdgvZWfZgy6 FQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4fwn2dh9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Sep 2023 00:10:42 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38G0AeJF026015 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Sep 2023 00:10:40 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.36; Fri, 15 Sep 2023 17:10:40 -0700 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , Wesley Cheng Subject: [PATCH v6 14/33] dt-bindings: usb: xhci: Add num-hc-interrupters definition Date: Fri, 15 Sep 2023 17:10:07 -0700 Message-ID: <20230916001026.315-15-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230916001026.315-1-quic_wcheng@quicinc.com> References: <20230916001026.315-1-quic_wcheng@quicinc.com> MIME-Version: 1.0 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-GUID: _t-nDpzms9tPV45ezwLiHptw_xGEymLq X-Proofpoint-ORIG-GUID: _t-nDpzms9tPV45ezwLiHptw_xGEymLq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_20,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 mlxscore=0 phishscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 spamscore=0 mlxlogscore=522 bulkscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309160000 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 17:13:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777156092064944306 X-GMAIL-MSGID: 1777156092064944306 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. Signed-off-by: Wesley Cheng Reviewed-by: Rob Herring --- 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: