Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Cc: alsa-devel@alsa-project.org, lars@metafoo.de,
	cezary.rojewski@intel.com, pierre-louis.bossart@linux.intel.com,
	jee.heng.sia@intel.com, tiwai@suse.com,
	liam.r.girdwood@linux.intel.com, broonie@kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: sound: intel, keembay-i2s: Add info for device to use DMA
Date: Thu, 14 Jan 2021 14:42:29 -0600	[thread overview]
Message-ID: <20210114204229.GA3551275@robh.at.kernel.org> (raw)
In-Reply-To: <20210108031248.20520-5-michael.wei.hong.sit@intel.com>

On Fri, Jan 08, 2021 at 11:12:47AM +0800, Michael Sit Wei Hong wrote:
> Add descriptions for entries needed for audio device to use DMA
> channels for audio playback and capture.

Please use get_maintainers.pl so patches go to the right lists.

This binding has errors in linux-next:

./Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml:  while parsing a block mapping
  in "<unicode string>", line 55, column 9
did not find expected key
  in "<unicode string>", line 55, column 27

> 
> Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> ---
>  .../bindings/sound/intel,keembay-i2s.yaml          | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml b/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
> index d346e61ab708..e0658f122cbb 100644
> --- a/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
> +++ b/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
> @@ -45,6 +45,18 @@ properties:
>        - const: osc
>        - const: apb_clk
>  
> +  dmas:
> +    items:
> +      - description: DMA controller phandle and DMA channel
> +                     for TX and RX

This defines 'dmas' has 1 entry.

> +
> +  dma-names:
> +    items:
> +      - description: "tx" for the transmit channel

The quotes are what cause the above problem.

> +                     "rx" for the receive channel
> +      - const: tx
> +      - const: rx

And here dma-names has 3 entries. Drop 'description' because it just 
says what the schema defines.

Please send incremental fixes as Mark already applied.

Rob

  reply	other threads:[~2021-01-14 20:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08  3:12 [PATCH v2 0/2] Enable DMA mode on Intel Keem Bay platform Michael Sit Wei Hong
2021-01-08  3:12 ` [PATCH v2 1/2] dt-bindings: sound: intel, keembay-i2s: Add info for device to use DMA Michael Sit Wei Hong
2021-01-14 20:42   ` Rob Herring [this message]
2021-01-08  3:12 ` [PATCH v2 2/2] ASoC: Intel: KMB: Enable DMA transfer mode Michael Sit Wei Hong
2021-01-11 16:27 ` [PATCH v2 0/2] Enable DMA mode on Intel Keem Bay platform Mark Brown

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=20210114204229.GA3551275@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=cezary.rojewski@intel.com \
    --cc=jee.heng.sia@intel.com \
    --cc=lars@metafoo.de \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=michael.wei.hong.sit@intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --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