[PATCH v2 3/6] ASoC: dt-bindings: xlnx,audio-formatter: add xlnx,addrwidth
From: Dhanunjanrao Katta
Date: Mon Nov 30 2026 - 02:11:08 EST
The width of the AXI4 master address bus is a build time option of the
IP and the core configuration register does not report it, so a driver
cannot work it out at runtime. Describe it the way the Xilinx DMA
bindings already do and default it to 32, so that device trees written
before this property existed keep the addressing they have today.
Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@xxxxxxx>
---
.../devicetree/bindings/sound/xlnx,audio-formatter.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
index 4e9ded5c12ef..017cb2557321 100644
--- a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
+++ b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
@@ -49,6 +49,12 @@ properties:
- description: AXI4-Stream clock of the MM2S data mover
- description: AXI4-Stream clock of the S2MM data mover
+ xlnx,addrwidth:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [32, 64]
+ default: 32
+ description: Width of the AXI4 master address bus in bits.
+
required:
- compatible
- reg
@@ -73,5 +79,6 @@ examples:
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>;
+ xlnx,addrwidth = <64>;
};
...
--
2.34.1