From: Krzysztof Kozlowski <krzk@kernel.org>
To: YingKun Meng <mengyingkun@loongson.cn>,
lgirdwood@gmail.com, broonie@kernel.org
Cc: alsa-devel@alsa-project.org, loongarch@lists.linux.dev,
loongson-kernel@lists.loongnix.cn
Subject: Re: [PATCH 3/3] ASoC: dt-bindings: Add support for Loongson audio card
Date: Mon, 5 Jun 2023 16:45:38 +0200 [thread overview]
Message-ID: <118d13ef-a247-cf88-5084-afdebc6b7651@kernel.org> (raw)
In-Reply-To: <20230605120934.2306548-3-mengyingkun@loongson.cn>
On 05/06/2023 14:09, YingKun Meng wrote:
> From: Yingkun Meng <mengyingkun@loongson.cn>
>
> The audio card uses loongson I2S controller present in 7axxx/2kxxx chips
> to transfer audio data.
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
You missed at least DT list (maybe more), so this won't be tested.
Please resend and include all necessary entries.
>
> Signed-off-by: Yingkun Meng <mengyingkun@loongson.cn>
> ---
> .../sound/loongson,ls-audio-card.yaml | 64 +++++++++++++++++++
> 1 file changed, 64 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml b/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml
> new file mode 100644
> index 000000000000..f1d6ee346bb3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml
> @@ -0,0 +1,64 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/loongson-audio-card.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Loongson generic ASoC audio sound card.
What is a "generic audio card"? Does it even match hardware? Bindings
are supposed to describe hardware, which is usually very specific.
Also: Drop full stop. It's a title.
> +
> +maintainers:
> + - Yingkun Meng <mengyingkun@loongson.cn>
> +
> +description:
> + Generic ASoC audio device for loongson platform.
> +
> +properties:
> + compatible:
> + const: loongson,ls-audio-card
> +
> + model:
> + $ref: /schemas/types.yaml#/definitions/string
> + description: User specified audio sound card name
> +
> + mclk-fs:
> + $ref: simple-card.yaml#/definitions/mclk-fs
> +
> + cpu:
> + description: Holds subnode which indicates cpu dai.
> + type: object
> + additionalProperties: false
> + properties:
> + sound-dai:
> + maxItems: 1
In the cpu: required with sound-dai
> +
> + codec:
> + description: Holds subnode which indicates codec dai.
> + type: object
> + additionalProperties: false
> + properties:
> + sound-dai:
> + maxItems: 1
In the codec: required with sound-dai
No multiple dai links? Are you sure this card is so limited?
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-06-05 14:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 12:09 [PATCH 1/3] ASoC: Add support for Loongson I2S controller YingKun Meng
2023-06-05 12:09 ` [PATCH 2/3] ASoC: loongson: Add Loongson Generic ASoC Sound Card Support YingKun Meng
2023-06-05 12:47 ` Mark Brown
2023-06-09 3:57 ` YingKun Meng
2023-06-05 12:09 ` [PATCH 3/3] ASoC: dt-bindings: Add support for Loongson audio card YingKun Meng
2023-06-05 14:45 ` Krzysztof Kozlowski [this message]
2023-06-05 15:06 ` Mark Brown
2023-06-12 2:38 ` Yingkun Meng
2023-06-12 2:30 ` Yingkun Meng
2023-06-05 13:17 ` [PATCH 1/3] ASoC: Add support for Loongson I2S controller Mark Brown
2023-06-12 1:44 ` Yingkun Meng
2023-06-05 18:35 ` kernel test robot
2023-06-05 19:50 ` kernel test robot
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=118d13ef-a247-cf88-5084-afdebc6b7651@kernel.org \
--to=krzk@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=mengyingkun@loongson.cn \
/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