Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1095696rdg; Wed, 11 Oct 2023 14:28:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrbDYcK/x5aBDgR0naGoyBXu55jNNmkpmGnoMXjQeXVrA9W8TYsGUk2Owp9eqfw8qx345V X-Received: by 2002:a17:902:ed54:b0:1c2:eac:b99 with SMTP id y20-20020a170902ed5400b001c20eac0b99mr20424583plb.40.1697059728085; Wed, 11 Oct 2023 14:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697059728; cv=none; d=google.com; s=arc-20160816; b=DsYdRRQRlaU7fLXmNP7adBCQxKVpqZ0uyomIDlb7q96xn9ktUmMdl9UFms9WB8VCXR eLEaMvORclsTmJu64Q++MAZFo20F/deEnHrYfuyJbaKH/5b0MwfdjrkSFWdMqUwaOuFs uarWaCqlU5ZWn6q/jIpdpqwCKguf2EcLb0GiCv6lcXprNKP3eBBeJwhO7qOjoCNsBcoI njReeU64ZkTczM4/HHpIHsdlk8CMiKvpNfQdmZEoTYbzFOJ/YkEY82h5A9LRoPlxzHK1 4OARabfF0w6B+XQ1HSlp5j5qFwzJOVE40hkGGfSgyeP9mXgiTU3q3/nF9emyiJWkZ+ag McWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YV+V1QT7WH4TWPolqZP1tvIu4h5bgrG/c8p+KKr0FoQ=; fh=tG5T6g2+ugUrQaOf63xWr6wbZ5zeKirWtJIjz9m9rP8=; b=irq+s1OFEBO1/TUUjWIsTaSvoan5jSnPi9dE4L8rBkeKUzXPl0DlG+wJ4dNlJT5ds+ smcGJ9F0IxmVypdoLgdOlevCNX/zyV1Istuvxypz7vautNhj0NP/0r0gxfn4YGnvtYDc 1C9SI84sSOKCkTCOgsmk0uVrgpSlP2WhMki4bXVqhPHgaIKnq0nUcWh1MPEmQUz14KAM wzAZGn02Xi6QRjVs4xbPd1s9nk2rNVFx2Bgxzp/C8IRgTpta18P4vZd9/PE10fJ50WTr luzjjmtepfEs+b82oxCXJwbsaBaillXFL8hsBd6mbOixfs4wYKNKesl7KszAjelHG5Xn OvcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nol6CFDo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c4-20020a170902d90400b001c7845637eesi550275plz.168.2023.10.11.14.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 14:28:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nol6CFDo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 05CA38031E08; Wed, 11 Oct 2023 14:28:47 -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 S233593AbjJKV2o (ORCPT + 99 others); Wed, 11 Oct 2023 17:28:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233483AbjJKV2n (ORCPT ); Wed, 11 Oct 2023 17:28:43 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F13E4A9; Wed, 11 Oct 2023 14:28:39 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39BLLorF026505; Wed, 11 Oct 2023 21:28:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=YV+V1QT7WH4TWPolqZP1tvIu4h5bgrG/c8p+KKr0FoQ=; b=Nol6CFDoHUzR4MONkVTbjPlDGX8jVqu+DqjvbqlByQojNsd+P5PUQji3uQkMkNyEx/2S 5L8blqit0HWXQxoVAeP1EZs/iVACZdp8Ta+QIe4RPdY1umbSFP4kGotR6AFmcncynZnk oahwPh5qBb7S4BzteERSwdbC/8Soe6MKEqc2CmEUyU6jDd1k8Mdxoo8bWCuklBuUdBKI MKvabTmCS2Bar6e2adlK6oMnL8Nu2Q5voYPAzqGKGnn1TDISOEWh4O5m1zsSzp63XONF xJj0JAeOIR0GtT+EEmgyj8qGZxecN8tjDe4nkXpSULibMPnY9zLne8cR6F9A6iGBgU/y Ig== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tnsmq1nmr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 21:28:14 +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 39BLSC9L011144 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 21:28:13 GMT Received: from [10.71.115.198] (10.80.80.8) 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; Wed, 11 Oct 2023 14:28:12 -0700 Message-ID: Date: Wed, 11 Oct 2023 14:28:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v8 25/34] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Content-Language: en-US To: Rob Herring CC: , , , , , , , , , , , , , , , , , , , References: <20231011002146.1821-1-quic_wcheng@quicinc.com> <20231011002146.1821-26-quic_wcheng@quicinc.com> <169699146438.2560961.3220166947763848754.robh@kernel.org> From: Wesley Cheng In-Reply-To: <169699146438.2560961.3220166947763848754.robh@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: Mx5Ycg9ohRBABrFQFgGJzpQmgg0YzsHa X-Proofpoint-ORIG-GUID: Mx5Ycg9ohRBABrFQFgGJzpQmgg0YzsHa 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-11_16,2023-10-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 adultscore=0 priorityscore=1501 impostorscore=0 spamscore=0 bulkscore=0 clxscore=1015 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110189 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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: 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]); Wed, 11 Oct 2023 14:28:47 -0700 (PDT) Hi Rob, On 10/10/2023 7:31 PM, Rob Herring wrote: > > On Tue, 10 Oct 2023 17:21:37 -0700, Wesley Cheng wrote: >> Add an example on enabling of USB offload for the Q6DSP. The routing can >> be done by the mixer, which can pass the multimedia stream to the USB >> backend. >> >> Acked-by: Rob Herring >> Signed-off-by: Wesley Cheng >> --- >> .../devicetree/bindings/sound/qcom,sm8250.yaml | 15 +++++++++++++++ >> 1 file changed, 15 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: > Error: Documentation/devicetree/bindings/sound/qcom,sm8250.example.dts:97.44-45 syntax error > FATAL ERROR: Unable to parse input tree > make[2]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/sound/qcom,sm8250.example.dtb] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1427: dt_binding_check] Error 2 > make: *** [Makefile:234: __sub-make] Error 2 > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231011002146.1821-26-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. > Would you happen to know what the error is in this case? I made sure I was running the latest dtschema (v2023.9) and had yamllint installed as well. When I took a look at the DTB and DTS output it looked ok... usb-dai-link { link-name = "USB Playback"; cpu { sound-dai = <&q6afedai USB_RX>;//--->syntax error? }; codec { sound-dai = <&usbdai USB_RX>; }; platform { sound-dai = <&q6routing>; }; }; I didn't make any changes to this in between v7 and v8, but v7 passed: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230921214843.18450-25-quic_wcheng@quicinc.com/ Thanks Wesley Cheng