[PATCH v2 0/6] ASoC: xlnx: update audio formatter support

From: Dhanunjanrao Katta

Date: Mon Nov 30 2026 - 02:10:56 EST


This series updates the Xilinx audio formatter driver and bindings.

It adds the AXI4-Stream clocks, enables the required clocks in the
driver, takes the DMA address width from the device tree, and adds
support for up to eight channels.

The series contains:
- Move allOf to the bottom of the DT binding.
- Add AXI4-Stream clocks to the audio formatter DT binding.
- Add the xlnx,addrwidth property to the DT binding.
- Get the stream and audio clocks in the formatter driver.
- Set the DMA mask from xlnx,addrwidth.
- Advertise support for up to eight audio channels.

Changes in v2:
- Added xlnx,addrwidth property to configure the DMA address width.
It defaults to 32-bit to keep the existing DT behavior. Adding the
device tree parameter was suggested in the review in v1
https://lore.kernel.org/all/179571553180.142532.15022384187541501041.b4-review@b4/
- Added a separate binding patch for xlnx,addrwidth.
- Dropped uniqueItems from clock-names as all four clock names are
fixed now.
- Moved the allOf update to a separate patch.
- Updated the clocks patch description to consistently mention four
clocks.
- Kept the clock names unchanged. m_axis_mm2s_aclk and s_axis_s2mm_aclk
are clock input ports on the formatter itself, one per data mover,
and not the clocks that drive them.
The last four items are from the dt-bindings review in v1
https://lore.kernel.org/all/20261129-talented-basilisk-of-warranty-ab8fdf@quoll/

Dhanunjanrao Katta (6):
ASoC: dt-bindings: xlnx,audio-formatter: move allOf to the bottom
ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
ASoC: dt-bindings: xlnx,audio-formatter: add xlnx,addrwidth
ASoC: xlnx: formatter: get the stream and audio clocks
ASoC: xlnx: formatter: set the DMA mask from xlnx,addrwidth
ASoC: xlnx: formatter: advertise up to eight channels

.../bindings/sound/xlnx,audio-formatter.yaml | 26 +++++++++++-----
sound/soc/xilinx/xlnx_formatter_pcm.c | 31 +++++++++++++++++--
2 files changed, 48 insertions(+), 9 deletions(-)


base-commit: 626d2233d48884f22c16011a6e44f905824bd8e0
--
2.34.1