From: Rob Herring <robh@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: "Mark Brown" <broonie@kernel.org>,
"Cezary Rojewski" <cezary.rojewski@intel.com>,
"Pierre-Louis Bossart" <pierre-louis.bossart@linux.intel.com>,
"\"Amadeusz Sławiński\"" <amadeuszx.slawinski@linux.intel.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
Linux-ALSA <alsa-devel@alsa-project.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2 15/15] ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support
Date: Mon, 10 Jul 2023 09:23:42 -0600 [thread overview]
Message-ID: <20230710152342.GA1997421-robh@kernel.org> (raw)
In-Reply-To: <871qhgo91l.wl-kuninori.morimoto.gx@renesas.com>
On Mon, Jul 10, 2023 at 10:21:58AM +0900, Kuninori Morimoto wrote:
> To enable multi Component support, "multi ports" is needed for Audio Graph
> Card/Card2, and "multi rcar_sound,dai" is needed for Simple Audio Card.
> This patch enable these.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> .../bindings/sound/renesas,rsnd.yaml | 24 ++++++++++++-------
> 1 file changed, 16 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
> index d9808b130e8d..13a5a0a10fe6 100644
> --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
> +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
> @@ -91,6 +91,12 @@ properties:
> it must be 1 if your system has audio_clkout0/1/2/3
> enum: [0, 1]
>
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
> +
> clock-frequency:
> description: for audio_clkout0/1/2/3
>
> @@ -117,13 +123,7 @@ properties:
> description: List of necessary clock names.
> # details are defined below
>
> - ports:
> - $ref: audio-graph-port.yaml#/definitions/port-base
> - unevaluatedProperties: false
> - patternProperties:
> - '^port(@[0-9a-f]+)?$':
> - $ref: "#/definitions/port-def"
> -
> + # ports is below
> port:
> $ref: "#/definitions/port-def"
>
> @@ -242,8 +242,9 @@ properties:
> - interrupts
> additionalProperties: false
>
> +patternProperties:
> # For DAI base
> - rcar_sound,dai:
> + 'rcar_sound,dai(@[0-9a-f]+)?$':
With a unit-address you need a 'reg' property.
> description: DAI subnode.
> type: object
> patternProperties:
> @@ -263,6 +264,13 @@ properties:
> - capture
> additionalProperties: false
>
> + 'ports(@[0-9a-f]+)?$':
Multiple 'ports' nodes is not valid.
Here too would need a 'reg' property. Did you test any of this because
that would be a dtc warning.
> + $ref: audio-graph-port.yaml#/definitions/port-base
> + unevaluatedProperties: false
> + patternProperties:
> + '^port(@[0-9a-f]+)?$':
> + $ref: "#/definitions/port-def"
> +
> required:
> - compatible
> - reg
> --
> 2.25.1
>
next prev parent reply other threads:[~2023-07-10 15:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87mt04o96f.wl-kuninori.morimoto.gx@renesas.com>
2023-07-10 1:21 ` [PATCH v2 14/15] ASoC: dt-bindings: renesas,rsnd.yaml: add common port-def Kuninori Morimoto
2023-07-10 15:19 ` Rob Herring
2023-07-11 0:00 ` Kuninori Morimoto
2023-07-14 14:42 ` Rob Herring
2023-07-19 0:11 ` Kuninori Morimoto
2023-07-19 23:36 ` Kuninori Morimoto
2023-08-04 17:56 ` Rob Herring
2023-07-10 1:21 ` [PATCH v2 15/15] ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support Kuninori Morimoto
2023-07-10 15:23 ` Rob Herring [this message]
2023-07-11 0:05 ` 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=20230710152342.GA1997421-robh@kernel.org \
--to=robh@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=pierre-louis.bossart@linux.intel.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;
as well as URLs for NNTP newsgroup(s).