From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Rob Herring <robh@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ASoC: dt-bindings: renesas,rsnd: switch to yaml base Documentation
Date: 20 Feb 2020 11:16:08 +0900 [thread overview]
Message-ID: <874kvmt355.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <20200219161732.GB25095@bogus>
Hi Rob
Thank you for your review
> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > This patch switches from .txt base to .yaml base Document.
> > It is still keeping detail explanations at .txt
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > ---
(snip)
> > + compatible:
> > + oneOf:
> > + # for Gen1 SoC
> > + - items:
> > + - enum:
>
> nit: Should be indented 2 more spaces.
I couldn't understand this.
Do you mean like this ??
compatible:
oneOf:
# for Gen1 SoC
- items:
=> - enum:
> > + clock-frequency:
> > + description: for audio_clkout0/1/2/3
> > + $ref: /schemas/types.yaml#/definitions/uint32-array
>
> This already has a common definition and this conflicts with that.
> 'clock-frequency' is a single uint32 or uint64.
This needs clock array. Like this
clock-frequency = <12288000 11289600>;
> > + # For OF-graph
> > + port:
> > + description: OF-Graph subnode
> > + type: object
> > + properties:
> > + reg:
> > + $ref: /schemas/types.yaml#/definitions/uint32
>
> No unit-address for 'port', so you don't need 'reg' here.
But I got warning without reg ?
And, renesas,rsnd and/or simple-card sometimes needs reg for port
to handle sound path.
> > + # For multi OF-graph
> > + ports:
> > + description: multi OF-Graph subnode
> > + type: object
> > + patternProperties:
> > + "port(@.*)?":
>
> ^port(@[0-9a-f])?$"
>
> Perhaps there's max number of ports that's less than 0xf?
>
> > + $ref: "#properties/port"
>
> Would be more simple to just always have 'ports'.
Having "ports" or "port" are case-by-case, not always.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
next prev parent reply other threads:[~2020-02-20 2:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 5:12 Kuninori Morimoto
2020-02-19 16:17 ` Rob Herring
2020-02-20 2:16 ` Kuninori Morimoto [this message]
2020-02-20 19:33 ` Rob Herring
2020-02-20 19:46 ` Mark Brown
2020-02-21 0:30 ` Kuninori Morimoto
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=874kvmt355.wl-kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh@kernel.org \
/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®