From: sashiko-bot@kernel.org
To: "Dhanunjanrao Katta" <katta.dhanunjanrao@amd.com>
Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
Date: Mon, 30 Nov 2026 07:21:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-240582@kernel.org> (raw)
In-Reply-To: <20261130071020.2144873-3-katta.dhanunjanrao@amd.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ASoC: dt-bindings: xlnx,audio-formatter: clock-names rejects
S2MM-only designs
--
commit 27d6c8476c7f2e9ba0a71f9e4f217cd883f74f2b
Author: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com>
ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
This commit adds the m_axis_mm2s_aclk and s_axis_s2mm_aclk clocks to the
xlnx,audio-formatter binding schema and updates the descriptions of the two
existing clocks.
> diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> index ca78ba7a53387..4e9ded5c12ef0 100644
> --- a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> +++ b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> @@ -38,12 +38,16 @@ properties:
> items:
> - const: s_axi_lite_aclk
> - const: aud_mclk
> + - const: m_axis_mm2s_aclk
> + - const: s_axis_s2mm_aclk
>
> clocks:
> minItems: 1
> items:
> - - description: clock for the axi data stream
> - - description: clock for the MEMS microphone data stream
> + - description: AXI4-Lite control interface clock
> + - description: audio master clock
> + - description: AXI4-Stream clock of the MM2S data mover
> + - description: AXI4-Stream clock of the S2MM data mover
[Severity: Low]
Does defining clock-names as a positional list of const items reject
capture-only designs built without the MM2S data mover?
In xlnx_formatter_pcm_probe(), the MM2S and S2MM data movers and their
clocks are checked independently via AUD_CFG_MM2S_MASK and
AUD_CFG_S2MM_MASK. Because items is an ordered tuple, a design with the
S2MM mover but no MM2S mover cannot list s_axis_s2mm_aclk without also
listing m_axis_mm2s_aclk ahead of it, or schema validation fails.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261130071020.2144873-1-katta.dhanunjanrao@amd.com?part=2
next prev parent reply other threads:[~2026-11-30 7:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta
2026-11-25 11:48 ` [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta
2026-11-29 9:43 ` Krzysztof Kozlowski
2026-11-25 11:48 ` [PATCH 2/4] ASoC: xlnx: formatter: get the stream and audio clocks Dhanunjanrao Katta
2026-11-25 11:48 ` [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask Dhanunjanrao Katta
2026-11-26 17:52 ` Mark Brown
2026-11-27 6:26 ` Dhanunjanrao, Katta
2026-11-25 11:48 ` [PATCH 4/4] ASoC: xlnx: formatter: advertise up to eight channels Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 1/6] ASoC: dt-bindings: xlnx,audio-formatter: move allOf to the bottom Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta
2026-11-30 7:21 ` sashiko-bot [this message]
2026-11-30 7:10 ` [PATCH v2 3/6] ASoC: dt-bindings: xlnx,audio-formatter: add xlnx,addrwidth Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 4/6] ASoC: xlnx: formatter: get the stream and audio clocks Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 5/6] ASoC: xlnx: formatter: set the DMA mask from xlnx,addrwidth Dhanunjanrao Katta
2026-11-30 7:10 ` [PATCH v2 6/6] ASoC: xlnx: formatter: advertise up to eight channels Dhanunjanrao Katta
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=sashiko-outbox-240582@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=katta.dhanunjanrao@amd.com \
--cc=linux-sound@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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