Re: [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
From: Krzysztof Kozlowski
Date: Sun Nov 29 2026 - 04:44:06 EST
On Wed, Nov 25, 2026 at 05:18:36PM +0530, Dhanunjanrao Katta wrote:
> The formatter has four clock inputs. Besides the AXI4-Lite control
Here four, a bit later 3 or 4.
> clock and the audio master clock, each of the two data movers has its
> own AXI4-Stream clock. Only the first two are described, so a device
> tree that lists a stream clock fails validation.
>
> The MM2S and S2MM movers are instantiated independently of each other
> and a design may have only one of them. Let the third name be either
> stream clock, so a capture only design does not have to leave a hole
> where the MM2S clock would go.
>
> The descriptions of the two existing clocks are wrong as well.
> s_axi_lite_aclk is the control interface clock and not a clock for the
> data stream, and aud_mclk is the audio master clock.
>
> While here, move allOf below required to match the layout used by the
> other bindings.
>
> Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@xxxxxxx>
> ---
> .../bindings/sound/xlnx,audio-formatter.yaml | 22 +++++++++++++------
> 1 file changed, 15 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> index 82fa448bd2e9..a9463f3bf864 100644
> --- a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> +++ b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> @@ -13,9 +13,6 @@ description:
> maintainers:
> - Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
>
> -allOf:
> - - $ref: dai-common.yaml#
> -
> properties:
> compatible:
> enum:
> @@ -38,15 +35,22 @@ properties:
>
> clock-names:
> minItems: 1
> + uniqueItems: true
This should not be needed.
> items:
> - const: s_axi_lite_aclk
> - const: aud_mclk
> + - enum: [m_axis_mm2s_aclk, s_axis_s2mm_aclk]
> + - const: s_axis_s2mm_aclk
Looks like you use source clock names, instead of actual inputs.
>
> 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, or of the S2MM data
> + mover in a design that only has the S2MM one
> + - description: AXI4-Stream clock of the S2MM data mover
>
> required:
> - compatible
> @@ -56,6 +60,9 @@ required:
> - clock-names
> - clocks
>
> +allOf:
> + - $ref: dai-common.yaml#
> +
This change does not look relevant to the commit.
Best regards,
Krzysztof