[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230108163741.GA30997-robh@kernel.org>
Date: Sun, 8 Jan 2023 10:37:41 -0600
From: Rob Herring <robh@...nel.org>
To: Faiz Abbas <faiz.abbas@....com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
alsa-devel@...a-project.org, broonie@...nel.org,
lgirdwood@...il.com, krzysztof.kozlowski+dt@...aro.org,
kuninori.morimoto.gx@...esas.com, Anurag.Koul@....com,
Deepak.Pandey@....com
Subject: Re: [PATCH] ASoC: dt-bindings: simple-card: Document
simple-audio-card,plat
On Thu, Jan 05, 2023 at 09:33:46PM +0530, Faiz Abbas wrote:
> The simple card driver has support for adding cpu, codec and platform
> nodes with the simple-audio-card prefix. Add documentation for the plat
> binding.
Another node, is it still 'simple card'?
>
> Signed-off-by: Faiz Abbas <faiz.abbas@....com>
> ---
> .../bindings/sound/simple-card.yaml | 23 +++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml
> index ed19899bc94b..fa67c76d4dbb 100644
> --- a/Documentation/devicetree/bindings/sound/simple-card.yaml
> +++ b/Documentation/devicetree/bindings/sound/simple-card.yaml
> @@ -205,6 +205,8 @@ patternProperties:
> $ref: "#/definitions/dai"
> "^simple-audio-card,codec(@[0-9a-f]+)?$":
> $ref: "#/definitions/dai"
> + "^simple-audio-card,plat(@[0-9a-f]+)?$":
What does 'plat' mean?
Don't continue the 'simple-audio-card,' prefix.
> + $ref: "#/definitions/dai"
>
> "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
> description: |
> @@ -285,6 +287,27 @@ examples:
> };
> };
>
> +#-------------------------------
> +# single DAI link with platform
> +#-------------------------------
Really need another example for 1 simple node?
> + - |
> + sound {
> + compatible = "simple-audio-card";
> + simple-audio-card,format = "i2s";
> + simple-audio-card,mclk-fs = <384>;
> + simple-audio-card,cpu {
> + sound-dai = <&iofpga_i2s>;
> + };
> +
> + simple-audio-card,codec {
> + sound-dai = <&hdmi_tx>;
> + };
> +
> + simple-audio-card,plat {
> + sound-dai = <&audio_formatter>;
> + };
> +};
> +
> #--------------------
> # Multi DAI links
> #--------------------
> --
> 2.25.1
>
>
Powered by blists - more mailing lists