mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wesley Cheng <quic_wcheng@quicinc.com>
To: Rob Herring <robh@kernel.org>
Cc: <bgoswami@quicinc.com>, <lgirdwood@gmail.com>,
	<broonie@kernel.org>, <gregkh@linuxfoundation.org>,
	<robh+dt@kernel.org>, <konrad.dybcio@linaro.org>,
	<conor+dt@kernel.org>, <linux-usb@vger.kernel.org>,
	<andersson@kernel.org>, <Thinh.Nguyen@synopsys.com>,
	<srinivas.kandagatla@linaro.org>, <linux-kernel@vger.kernel.org>,
	<agross@kernel.org>, <mathias.nyman@intel.com>,
	<alsa-devel@alsa-project.org>, <devicetree@vger.kernel.org>,
	<perex@perex.cz>, <tiwai@suse.com>,
	<krzysztof.kozlowski+dt@linaro.org>,
	<linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH v8 25/34] ASoC: dt-bindings: Update example for enabling USB offload on SM8250
Date: Wed, 11 Oct 2023 14:28:07 -0700	[thread overview]
Message-ID: <a9b172cd-1840-2949-2244-9a75d2bb7990@quicinc.com> (raw)
In-Reply-To: <169699146438.2560961.3220166947763848754.robh@kernel.org>

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 <robh@kernel.org>
>> Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
>> ---
>>   .../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

  reply	other threads:[~2023-10-11 21:28 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11  0:21 [PATCH v8 00/34] Introduce QC USB SND audio offloading support Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 01/34] xhci: split free interrupter into separate remove and free parts Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 02/34] xhci: add support to allocate several interrupters Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 03/34] xhci: add helper to stop endpoint and wait for completion Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 04/34] xhci: sideband: add initial api to register a sideband entity Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 05/34] usb: host: xhci-mem: Cleanup pending secondary event ring events Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 06/34] usb: host: xhci-mem: Allow for interrupter clients to choose specific index Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 07/34] ASoC: Add SOC USB APIs for adding an USB backend Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 08/34] ASoC: dt-bindings: qcom,q6dsp-lpass-ports: Add USB_RX port Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 09/34] ASoC: qcom: qdsp6: Introduce USB AFE port to q6dsp Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 10/34] ASoC: qdsp6: q6afe: Increase APR timeout Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 11/34] ASoC: qcom: qdsp6: Add USB backend ASoC driver for Q6 Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 12/34] ALSA: usb-audio: Introduce USB SND platform op callbacks Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 13/34] ALSA: usb-audio: Export USB SND APIs for modules Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 14/34] dt-bindings: usb: dwc3: Limit num-hc-interrupters definition Wesley Cheng
2023-10-11  2:31   ` Rob Herring
2023-10-11 13:10     ` Rob Herring
2023-10-11  0:21 ` [PATCH v8 15/34] dt-bindings: usb: xhci: Add " Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 16/34] usb: dwc3: Specify maximum number of XHCI interrupters Wesley Cheng
2023-10-12 18:17   ` Thinh Nguyen
2023-10-11  0:21 ` [PATCH v8 17/34] usb: host: xhci-plat: Set XHCI max interrupters if property is present Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 18/34] ALSA: usb-audio: qcom: Add USB QMI definitions Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 19/34] ALSA: usb-audio: qcom: Introduce QC USB SND offloading support Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 20/34] ALSA: usb-audio: Check for support for requested audio format Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 21/34] ASoC: usb: Add PCM format check API for USB backend Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 22/34] ASoC: qcom: qdsp6: Ensure PCM format is supported by USB audio device Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 23/34] ALSA: usb-audio: Prevent starting of audio stream if in use Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 24/34] ASoC: dt-bindings: Add Q6USB backend Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 25/34] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Wesley Cheng
2023-10-11  2:31   ` Rob Herring
2023-10-11 21:28     ` Wesley Cheng [this message]
2023-10-11  0:21 ` [PATCH v8 26/34] ASoC: qcom: qdsp6: q6afe: Split USB AFE dev_token param into separate API Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 27/34] ALSA: usb-audio: qcom: Populate PCM and USB chip information Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 28/34] ASoC: qcom: qdsp6: Add support to track available USB PCM devices Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 29/34] ASoC: qcom: qdsp6: Add SND kcontrol to select offload device Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 30/34] ASoC: qcom: qdsp6: Add SND kcontrol for fetching offload status Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 31/34] ASoC: qcom: qdsp6: Add headphone jack for offload connection status Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 32/34] ALSA: usb-audio: qcom: Use card and PCM index from QMI request Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 33/34] ALSA: usb-audio: Allow for rediscovery of connected USB SND devices Wesley Cheng
2023-10-11  0:21 ` [PATCH v8 34/34] ASoC: usb: Rediscover USB SND devices on USB port add Wesley Cheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9b172cd-1840-2949-2244-9a75d2bb7990@quicinc.com \
    --to=quic_wcheng@quicinc.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=agross@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=andersson@kernel.org \
    --cc=bgoswami@quicinc.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®