From patchwork Thu Sep 21 21:48:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 143093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5273848vqi; Thu, 21 Sep 2023 19:22:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEssTddzzp2q1uUwtHbd5poHgxyW91lJNTZtzq9nXblwzg6WtP5tPGVsq2sxpdtB205Nr74 X-Received: by 2002:a05:6a20:dda2:b0:14c:512c:c138 with SMTP id kw34-20020a056a20dda200b0014c512cc138mr5651165pzb.60.1695349365806; Thu, 21 Sep 2023 19:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695349365; cv=none; d=google.com; s=arc-20160816; b=Q4GJ0CfvwBueVLbILQMtiVK8rHXv5OZCmQDs5GVGh6nWtkjYjeDYK6+tIn+chN3TZi iuOANHKqzlTvFHLuiHNPSj9GJJn7sDvaD0auu8QV4I4E818jwWqEGwOkbJgYnR/DGxTx 3aBLOIzWoqQQMc333foOhNQCpEVSorzF4J9jCNiWG0AaacOv1BB27hSkimZ965KNTtYP 3kldKUAK7NP2Yn18HfWT8EDPytYvdi/M5aLNCrx0+X0hXFLfg4LSxaHqMvYE7X+9TQIe JAMKevdcBdoHKllY4TMe1o6xV5PxK4X/tYJ8jeaIIAHKKVdZhopw4kRSr7kAws+y9qw9 WuOQ== 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=eMuCxRzjFJNCzXTHvKDH/OMHNktU6HnB8lTCQMc4++s=; fh=MhCCCRx4c0AeUz43uLzZOKA4YzcBN2mk3tAWrRRVvW4=; b=beHIpf+feioqIgnKPeZ3ug9+fF+s42Frnn09UaHWm2B1/VkMbcBXoKI0bIwwDDSKn4 Ydfx40TetyOtWAaGe07wM0+MpKV6QJMYr+5vEAX3U2LdLLFE9eyJMnH1n5pcAKrFFaQH B2l0KTiJ03gzuOa1xWinroe3W1nM1bpSZcyG6fpxdf8O22yNbCC/IQGabSIWJBApjvEj M27gpFglxooINNHglJEY/OqVhKNWpjiUatdvrgLlXLuZQ5Ink8P9zsA83rUMzraiQJw7 zdRVIKQD7DB+nUYRestJ+XOPPjt0U68cNDZ7QXnmbgoCd2TZ69cbN8Nx/K8kmrBf7L+H krtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XOpSG5LQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y6-20020a63e246000000b00569161a1885si2654691pgj.288.2023.09.21.19.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 19:22:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XOpSG5LQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 4075680297A4; Thu, 21 Sep 2023 14:55:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233056AbjIUVyK (ORCPT + 29 others); Thu, 21 Sep 2023 17:54:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232786AbjIUVxX (ORCPT ); Thu, 21 Sep 2023 17:53:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD764483; Thu, 21 Sep 2023 14:49:42 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38LLNSwD017648; Thu, 21 Sep 2023 21:49:21 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=XOpSG5LQ+MRCluIjn3D2eElcX2j0zSDjH0tI7QtqpWxdSIaDwYH+wOeF7+DRkWutKtRV HlpCZLxwpAmxZBwNXX/Jcgh++MONSRggkEX1TC9O7fP9fzX7q+wy6G1P8v5sp+/eHdiU ll9TObpu77CA8W0yVOn1odN+jERkWv8CGzl3ZXJrtZhf1hEN2aPMqqhXIYGUpNRvEV14 UNJ3w8JPoV5XgIazBWLVUBb5AGgwy3y8J4jziZvN+Vb8rqlKPBhz9BVsNitRiZ9LQJD4 FuhBFUUFHdV2xQEa7Hrtn+6zd9uDLlIsEW3bzBC5qkUBcfA1JmS3ABgFEKbEH19CQRJa 3Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8txg8cax-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 21:49:21 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38LLmvTT009012 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 21:48:57 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; Thu, 21 Sep 2023 14:48:57 -0700 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , Wesley Cheng Subject: [PATCH v7 14/33] dt-bindings: usb: xhci: Add num-hc-interrupters definition Date: Thu, 21 Sep 2023 14:48:24 -0700 Message-ID: <20230921214843.18450-15-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230921214843.18450-1-quic_wcheng@quicinc.com> References: <20230921214843.18450-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-ORIG-GUID: I3sUxCcARr2qP7pPqXGP1D9O-m3ml8CD X-Proofpoint-GUID: I3sUxCcARr2qP7pPqXGP1D9O-m3ml8CD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-21_19,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=638 mlxscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309210189 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:55:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777702656994188581 X-GMAIL-MSGID: 1777702656994188581 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: