[PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
From: Dhanunjanrao Katta
Date: Mon Nov 30 2026 - 02:10:58 EST
The formatter has four clock inputs. Besides the AXI4-Lite control
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.
Describe all four in the order the IP presents them, and keep the list
open at the end so that a design built without the S2MM mover does not
have to name its clock.
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.
Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@xxxxxxx>
---
.../bindings/sound/xlnx,audio-formatter.yaml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
index ca78ba7a5338..4e9ded5c12ef 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
required:
- compatible
@@ -66,7 +70,8 @@ examples:
interrupt-names = "irq_mm2s", "irq_s2mm";
interrupt-parent = <&gic>;
interrupts = <0 104 4>, <0 105 4>;
- clock-names = "s_axi_lite_aclk", "aud_mclk";
- clocks = <&clk 71>, <&clk_wiz_1 0>;
+ clock-names = "s_axi_lite_aclk", "aud_mclk",
+ "m_axis_mm2s_aclk", "s_axis_s2mm_aclk";
+ clocks = <&clk 71>, <&clk_wiz_1 0>, <&clk 72>, <&clk 73>;
};
...
--
2.34.1