Message ID | 20231011002146.1821-15-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp221360vqb; Tue, 10 Oct 2023 17:24:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEq4xfUZK1Y1RvyaDlChZPJOTGeg21a7fYgpufCLFfL2pvUWfEF5q5FVOeVU2hteqPWyYEz X-Received: by 2002:a17:903:2306:b0:1bb:ac37:384b with SMTP id d6-20020a170903230600b001bbac37384bmr22197995plh.6.1696983895574; Tue, 10 Oct 2023 17:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696983895; cv=none; d=google.com; s=arc-20160816; b=S2bYBTJuA5YBS3mq9sEyi2WtttORow3K1S+g61msXKucP/p5vJ7K1kMqwKc1+41OMU Ksib+H4E3btW6M31n/BBnLttJRTHwCeHgE1g/if0XxjChGfmE+21SzUavTbjRwSXej42 V0Nah5+FCgNrufeTE51dQ6b3rA92DxjxpkzpQlcJZyU2Ui1PeiJxCUu3gLSG9P+D2RX4 ABYQSOxKm3vuNQe06GVqKyphh9d7lNdBmYqecqJsxrfgjjBwcoOPINhLNIfAdLok58+f TQDOEArQw6eMmPEU15ezDnXqE6OfcLoz5OEMK/HK1xQ3ZI+MQkCtd7nJyt7Zd3MlANA0 sDPg== 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=aiIxeXlTVe3WUSnGjZgKcL6gjJlYw1TLcNa8U6pmNOQ=; fh=ASZxE/GudOQkGCAz0d02NHHSpg4iNHYOcDWl1imlof0=; b=Js4ZTtIjL+3cczjDPda+jvEdEOXNSdcdFn8HWPCR9KXHLrDv+LR97ELWarqKfExCo1 +i4MT0+knqPX2zfZ8CE9AFljoPdWbPOEhSq73x/WpcmE/aFd6DntNegJeSSGTEuTJo5m LqNYSQegCkzfPDfjh+8k/B+a7croQAfRdZPumnPTtQ9MNfBo8KNSf4QSuvzGb9Zmg8XF nWxaadcbB5ZiPCLbMH7vX73Nv6MCkvmBaoNwsfd4rtKoBpUl71LdLYoMor9/8d0lQAiJ Xk6+5hhjdDdPOiSgQpYt1P3y6pvyArnNxawwco4OuD7FD1+L5joVoJwsuJp2JXHtcumb MZBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="KBCYDHR/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id la3-20020a170902fa0300b001a6bb7b7a44si12243616plb.307.2023.10.10.17.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 17:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="KBCYDHR/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6D8348106714; Tue, 10 Oct 2023 17:24:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344553AbjJKAYi (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Tue, 10 Oct 2023 20:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344394AbjJKAXQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Oct 2023 20:23:16 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D38D8; Tue, 10 Oct 2023 17:23:12 -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 39AN8rUD031574; Wed, 11 Oct 2023 00:22:34 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=aiIxeXlTVe3WUSnGjZgKcL6gjJlYw1TLcNa8U6pmNOQ=; b=KBCYDHR/x8pNiJ7Van20TfgEAeJF+sBRNT5chW08GbyDs+qGrry0VmM01nSNZ6xgyNAs U8D06dKJFI7wiWpdQxLBg2fEXJVoRTrp8QKCkp4NuSFPripc+BANzonnKlWgZ7uyOyUC m8hd7PaUnc7SSUcxIfbpu88fQcdfr+OCsVT1F2jCJfid+ehKid8H+ZEWHH4ftwhVQQkF 2z1Caz5O9SKCb/yo2Y6M6qeeRqyAiNYx/qQ2bVvp17H+iov1szS5uD7NllVG9tG9liaI TG3fq5BQzRvMtoOURGu0ZKkWpK6vJ2k9CxDCOcVM2sD+Gkc9BknvrCtQii8C0tgZQAR1 yQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tmr4qk13h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 00:22:33 +0000 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 39B0MXuh007860 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 00:22:33 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; Tue, 10 Oct 2023 17:22:32 -0700 From: Wesley Cheng <quic_wcheng@quicinc.com> To: <mathias.nyman@intel.com>, <gregkh@linuxfoundation.org>, <lgirdwood@gmail.com>, <broonie@kernel.org>, <perex@perex.cz>, <tiwai@suse.com>, <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <srinivas.kandagatla@linaro.org>, <bgoswami@quicinc.com>, <Thinh.Nguyen@synopsys.com> CC: <linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <alsa-devel@alsa-project.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, Wesley Cheng <quic_wcheng@quicinc.com> Subject: [PATCH v8 14/34] dt-bindings: usb: dwc3: Limit num-hc-interrupters definition Date: Tue, 10 Oct 2023 17:21:26 -0700 Message-ID: <20231011002146.1821-15-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231011002146.1821-1-quic_wcheng@quicinc.com> References: <20231011002146.1821-1-quic_wcheng@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) 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: x4lHgFBlqe6qS0mLE4PgCTfkEJOTwnaP X-Proofpoint-GUID: x4lHgFBlqe6qS0mLE4PgCTfkEJOTwnaP 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-10-10_19,2023-10-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=736 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110001 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 17:24:54 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779416585643701554 X-GMAIL-MSGID: 1779416585643701554 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Oct. 11, 2023, 12:21 a.m. UTC
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 <robh@kernel.org> Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Comments
On Tue, 10 Oct 2023 17:21:26 -0700, Wesley Cheng wrote: > 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 <robh@kernel.org> > Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/usb/snps,dwc3.yaml: num-hc-interrupters: missing type definition doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231011002146.1821-15-quic_wcheng@quicinc.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On Tue, Oct 10, 2023 at 09:31:04PM -0500, Rob Herring wrote: > > On Tue, 10 Oct 2023 17:21:26 -0700, Wesley Cheng wrote: > > 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 <robh@kernel.org> > > Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> > > --- > > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/usb/snps,dwc3.yaml: num-hc-interrupters: missing type definition Patch 15 should come first. Rob
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index d81c2e849ca9..3e9141e8a005 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -433,6 +433,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: