* [PATCH 0/4] ASoC: xlnx: update audio formatter support
@ 2026-11-25 11:48 Dhanunjanrao Katta
2026-11-25 11:48 ` [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai,
Michal Simek
Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel,
naveen.gaddipati, Dhanunjanrao Katta
This series updates the Xilinx audio formatter driver and bindings.
It adds the AXI4-Stream clocks, enables the required clocks in the
driver, sets a 64-bit DMA mask, and adds support for up to eight
channels.
The series contains:
- Add AXI4-Stream clocks to the audio formatter DT binding.
- Get the stream and audio clocks in the formatter driver.
- Set a 64-bit DMA mask.
- Advertise support for up to eight audio channels.
Dhanunjanrao Katta (4):
ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
ASoC: xlnx: formatter: get the stream and audio clocks
ASoC: xlnx: formatter: set a 64-bit DMA mask
ASoC: xlnx: formatter: advertise up to eight channels
.../bindings/sound/xlnx,audio-formatter.yaml | 22 ++++++++++-----
sound/soc/xilinx/xlnx_formatter_pcm.c | 27 +++++++++++++++++--
2 files changed, 40 insertions(+), 9 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread* [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks 2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta @ 2026-11-25 11:48 ` 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 ` (3 subsequent siblings) 4 siblings, 1 reply; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, Dhanunjanrao Katta 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. 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@amd.com> --- .../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@arm.com> -allOf: - - $ref: dai-common.yaml# - properties: compatible: enum: @@ -38,15 +35,22 @@ properties: clock-names: minItems: 1 + uniqueItems: true items: - const: s_axi_lite_aclk - const: aud_mclk + - enum: [m_axis_mm2s_aclk, s_axis_s2mm_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, 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# + additionalProperties: false examples: @@ -66,7 +73,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 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks 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 0 siblings, 0 replies; 16+ messages in thread From: Krzysztof Kozlowski @ 2026-11-29 9:43 UTC (permalink / raw) To: Dhanunjanrao Katta Cc: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek, linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati 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@amd.com> > --- > .../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@arm.com> > > -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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 2/4] ASoC: xlnx: formatter: get the stream and audio clocks 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-25 11:48 ` Dhanunjanrao Katta 2026-11-25 11:48 ` [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask Dhanunjanrao Katta ` (2 subsequent siblings) 4 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, Dhanunjanrao Katta The driver only requests s_axi_lite_aclk. The audio master clock and the AXI4-Stream clock of each data mover are used but never claimed, so the formatter works only for as long as something else in the design keeps them running. Request them through the common clock framework. The stream clock is taken in the branch that already checks the core configuration register for its data mover, so a playback only or capture only design is not asked for a clock it does not have. All three are optional. The binding lets a device tree name s_axi_lite_aclk alone and those device trees have to keep working. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index 2699bef216b1..fa7419439ec7 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -596,12 +596,17 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) u32 val; struct xlnx_pcm_drv_data *aud_drv_data; struct device *dev = &pdev->dev; - struct clk *axi_clk; + struct clk *axi_clk, *aud_mclk, *axis_clk; axi_clk = devm_clk_get_enabled(dev, "s_axi_lite_aclk"); if (IS_ERR(axi_clk)) return dev_err_probe(dev, PTR_ERR(axi_clk), "failed to get s_axi_lite_aclk"); + aud_mclk = devm_clk_get_optional_enabled(dev, "aud_mclk"); + if (IS_ERR(aud_mclk)) + return dev_err_probe(dev, PTR_ERR(aud_mclk), + "failed to get aud_mclk\n"); + aud_drv_data = devm_kzalloc_obj(dev, *aud_drv_data); if (!aud_drv_data) return -ENOMEM; @@ -612,6 +617,12 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) val = readl(aud_drv_data->mmio + XLNX_AUD_CORE_CONFIG); if (val & AUD_CFG_MM2S_MASK) { + axis_clk = devm_clk_get_optional_enabled(dev, + "m_axis_mm2s_aclk"); + if (IS_ERR(axis_clk)) + return dev_err_probe(dev, PTR_ERR(axis_clk), + "failed to get m_axis_mm2s_aclk\n"); + aud_drv_data->mm2s_presence = true; ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + XLNX_MM2S_OFFSET); @@ -633,6 +644,12 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) return ret; } if (val & AUD_CFG_S2MM_MASK) { + axis_clk = devm_clk_get_optional_enabled(dev, + "s_axis_s2mm_aclk"); + if (IS_ERR(axis_clk)) + return dev_err_probe(dev, PTR_ERR(axis_clk), + "failed to get s_axis_s2mm_aclk\n"); + aud_drv_data->s2mm_presence = true; ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + XLNX_S2MM_OFFSET); -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask 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-25 11:48 ` [PATCH 2/4] ASoC: xlnx: formatter: get the stream and audio clocks Dhanunjanrao Katta @ 2026-11-25 11:48 ` Dhanunjanrao Katta 2026-11-26 17:52 ` Mark Brown 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 4 siblings, 1 reply; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, Dhanunjanrao Katta hw_params splits the ring buffer address over the LSB and MSB buffer address registers, but the device is left on the default 32-bit mask. The coherent buffer therefore always comes from below 4G and the MSB register is only ever written as zero. Set a 64-bit mask so the buffer can sit in high memory as well. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index fa7419439ec7..57901c9466a0 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -8,6 +8,7 @@ #include <linux/bitfield.h> #include <linux/clk.h> +#include <linux/dma-mapping.h> #include <linux/io.h> #include <linux/module.h> #include <linux/sizes.h> @@ -598,6 +599,11 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; struct clk *axi_clk, *aud_mclk, *axis_clk; + ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); + if (ret) + return dev_err_probe(dev, ret, + "failed to set the 64-bit DMA mask\n"); + axi_clk = devm_clk_get_enabled(dev, "s_axi_lite_aclk"); if (IS_ERR(axi_clk)) return dev_err_probe(dev, PTR_ERR(axi_clk), "failed to get s_axi_lite_aclk"); -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask 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 0 siblings, 1 reply; 16+ messages in thread From: Mark Brown @ 2026-11-26 17:52 UTC (permalink / raw) To: Dhanunjanrao Katta Cc: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek, linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati > hw_params splits the ring buffer address over the LSB and MSB buffer > address registers, but the device is left on the default 32-bit mask. > The coherent buffer therefore always comes from below 4G and the MSB > register is only ever written as zero. > > Set a 64-bit mask so the buffer can sit in high memory as well. > > Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> > --- > sound/soc/xilinx/xlnx_formatter_pcm.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c > index fa7419439ec7..57901c9466a0 100644 > --- a/sound/soc/xilinx/xlnx_formatter_pcm.c > +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c > @@ -8,6 +8,7 @@ > > #include <linux/bitfield.h> > #include <linux/clk.h> > +#include <linux/dma-mapping.h> > #include <linux/io.h> > #include <linux/module.h> > #include <linux/sizes.h> > @@ -598,6 +599,11 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) > struct device *dev = &pdev->dev; > struct clk *axi_clk, *aud_mclk, *axis_clk; > > + ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); Is this always safe, can we have instances restricted to 32 bits? -- Mark Brown <broonie@kernel.org> ^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask 2026-11-26 17:52 ` Mark Brown @ 2026-11-27 6:26 ` Dhanunjanrao, Katta 0 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao, Katta @ 2026-11-27 6:26 UTC (permalink / raw) To: Mark Brown Cc: Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Simek, Michal, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Gaddipati, Naveen AMD General Hi Mark, Thank you for the review. I will address the review comments and send an updated version. Thanks, Dhanunjay -----Original Message----- From: Mark Brown <broonie@kernel.org> Sent: Thursday, November 26, 2026 11:22 PM To: Dhanunjanrao, Katta <katta.dhanunjanrao@amd.com> Cc: Mark Brown <broonie@kernel.org>; Liam Girdwood <lgirdwood@gmail.com>; Vincenzo Frascino <vincenzo.frascino@arm.com>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Jaroslav Kysela <perex@perex.cz>; Takashi Iwai <tiwai@suse.com>; Simek, Michal <michal.simek@amd.com>; linux-sound@vger.kernel.org; devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Gaddipati, Naveen <naveen.gaddipati@amd.com> Subject: Re: [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask > hw_params splits the ring buffer address over the LSB and MSB buffer > address registers, but the device is left on the default 32-bit mask. > The coherent buffer therefore always comes from below 4G and the MSB > register is only ever written as zero. > > Set a 64-bit mask so the buffer can sit in high memory as well. > > Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> > --- > sound/soc/xilinx/xlnx_formatter_pcm.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c > b/sound/soc/xilinx/xlnx_formatter_pcm.c > index fa7419439ec7..57901c9466a0 100644 > --- a/sound/soc/xilinx/xlnx_formatter_pcm.c > +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c > @@ -8,6 +8,7 @@ > > #include <linux/bitfield.h> > #include <linux/clk.h> > +#include <linux/dma-mapping.h> > #include <linux/io.h> > #include <linux/module.h> > #include <linux/sizes.h> > @@ -598,6 +599,11 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) > struct device *dev = &pdev->dev; > struct clk *axi_clk, *aud_mclk, *axis_clk; > > + ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); Is this always safe, can we have instances restricted to 32 bits? Yes, some instances/platforms can be limited to 32-bit DMA addressing. I’ll check the addressing capability of the Audio Formatter and make sure we don’t unconditionally assume 64-bit DMA support. -- Mark Brown <broonie@kernel.org> ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 4/4] ASoC: xlnx: formatter: advertise up to eight channels 2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta ` (2 preceding siblings ...) 2026-11-25 11:48 ` [PATCH 3/4] ASoC: xlnx: formatter: set a 64-bit DMA mask Dhanunjanrao Katta @ 2026-11-25 11:48 ` Dhanunjanrao Katta 2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta 4 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, Dhanunjanrao Katta channels_max is two, so a design synthesised for more than a stereo stream cannot be used for all of its channels. The active channel field in the control register is four bits wide, and hw_params already rejects a request above the channel count it reads out of the core configuration register. The advertised maximum only has to cover the widest configuration, so raise it to eight. A two channel design still refuses more than two. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index 57901c9466a0..d64b27a84177 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -109,7 +109,7 @@ static const struct snd_pcm_hardware xlnx_pcm_hardware = { .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, .channels_min = 2, - .channels_max = 2, + .channels_max = 8, .rates = SNDRV_PCM_RATE_8000_192000, .rate_min = 8000, .rate_max = 192000, -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2 0/6] ASoC: xlnx: update audio formatter support 2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta ` (3 preceding siblings ...) 2026-11-25 11:48 ` [PATCH 4/4] ASoC: xlnx: formatter: advertise up to eight channels Dhanunjanrao Katta @ 2026-11-30 7:10 ` Dhanunjanrao Katta 2026-11-30 7:10 ` [PATCH v2 1/6] ASoC: dt-bindings: xlnx,audio-formatter: move allOf to the bottom Dhanunjanrao Katta ` (5 more replies) 4 siblings, 6 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v2 1/6] ASoC: dt-bindings: xlnx,audio-formatter: move allOf to the bottom 2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta @ 2026-11-30 7:10 ` Dhanunjanrao Katta 2026-11-30 7:10 ` [PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta ` (4 subsequent siblings) 5 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta allOf sits between the maintainers entry and properties, which puts the constraints that come from dai-common.yaml ahead of the property list they apply to. Move it below required and in front of additionalProperties so that the schema reads from the device description down to the constraints. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- .../devicetree/bindings/sound/xlnx,audio-formatter.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml index 82fa448bd2e9..ca78ba7a5338 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@arm.com> -allOf: - - $ref: dai-common.yaml# - properties: compatible: enum: @@ -56,6 +53,9 @@ required: - clock-names - clocks +allOf: + - $ref: dai-common.yaml# + additionalProperties: false examples: -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks 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 ` Dhanunjanrao Katta 2026-11-30 7:21 ` sashiko-bot 2026-11-30 7:10 ` [PATCH v2 3/6] ASoC: dt-bindings: xlnx,audio-formatter: add xlnx,addrwidth Dhanunjanrao Katta ` (3 subsequent siblings) 5 siblings, 1 reply; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta 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@amd.com> --- .../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 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH v2 2/6] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks 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 0 siblings, 0 replies; 16+ messages in thread From: sashiko-bot @ 2026-11-30 7:21 UTC (permalink / raw) To: Dhanunjanrao Katta; +Cc: linux-sound, devicetree, robh, conor+dt 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v2 3/6] ASoC: dt-bindings: xlnx,audio-formatter: add xlnx,addrwidth 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:10 ` Dhanunjanrao Katta 2026-11-30 7:10 ` [PATCH v2 4/6] ASoC: xlnx: formatter: get the stream and audio clocks Dhanunjanrao Katta ` (2 subsequent siblings) 5 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta 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@amd.com> --- .../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 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2 4/6] ASoC: xlnx: formatter: get the stream and audio clocks 2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta ` (2 preceding siblings ...) 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 ` 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 5 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta The driver only requests s_axi_lite_aclk. The audio master clock and the AXI4-Stream clock of each data mover are used but never claimed, so the formatter works only for as long as something else in the design keeps them running. Request them through the common clock framework. The stream clock is taken in the branch that already checks the core configuration register for its data mover, so a playback only or capture only design is not asked for a clock it does not have. All three are optional. The binding lets a device tree name s_axi_lite_aclk alone and those device trees have to keep working. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index 2699bef216b1..fa7419439ec7 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -596,12 +596,17 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) u32 val; struct xlnx_pcm_drv_data *aud_drv_data; struct device *dev = &pdev->dev; - struct clk *axi_clk; + struct clk *axi_clk, *aud_mclk, *axis_clk; axi_clk = devm_clk_get_enabled(dev, "s_axi_lite_aclk"); if (IS_ERR(axi_clk)) return dev_err_probe(dev, PTR_ERR(axi_clk), "failed to get s_axi_lite_aclk"); + aud_mclk = devm_clk_get_optional_enabled(dev, "aud_mclk"); + if (IS_ERR(aud_mclk)) + return dev_err_probe(dev, PTR_ERR(aud_mclk), + "failed to get aud_mclk\n"); + aud_drv_data = devm_kzalloc_obj(dev, *aud_drv_data); if (!aud_drv_data) return -ENOMEM; @@ -612,6 +617,12 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) val = readl(aud_drv_data->mmio + XLNX_AUD_CORE_CONFIG); if (val & AUD_CFG_MM2S_MASK) { + axis_clk = devm_clk_get_optional_enabled(dev, + "m_axis_mm2s_aclk"); + if (IS_ERR(axis_clk)) + return dev_err_probe(dev, PTR_ERR(axis_clk), + "failed to get m_axis_mm2s_aclk\n"); + aud_drv_data->mm2s_presence = true; ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + XLNX_MM2S_OFFSET); @@ -633,6 +644,12 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) return ret; } if (val & AUD_CFG_S2MM_MASK) { + axis_clk = devm_clk_get_optional_enabled(dev, + "s_axis_s2mm_aclk"); + if (IS_ERR(axis_clk)) + return dev_err_probe(dev, PTR_ERR(axis_clk), + "failed to get s_axis_s2mm_aclk\n"); + aud_drv_data->s2mm_presence = true; ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + XLNX_S2MM_OFFSET); -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2 5/6] ASoC: xlnx: formatter: set the DMA mask from xlnx,addrwidth 2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta ` (3 preceding siblings ...) 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 ` Dhanunjanrao Katta 2026-11-30 7:10 ` [PATCH v2 6/6] ASoC: xlnx: formatter: advertise up to eight channels Dhanunjanrao Katta 5 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta hw_params splits the ring buffer address over the LSB and MSB buffer address registers, but the device is left on the default 32 bit mask. The coherent buffer therefore always comes from below 4G and the MSB register is only ever written as zero. The address bus width is a build time option of the IP, so take it from the device tree rather than assuming it. An instance built with a 32 bit address bus keeps the mask it has today, and one built with a 64 bit bus can place the buffer in high memory as well. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index fa7419439ec7..c412ce49d634 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -8,8 +8,10 @@ #include <linux/bitfield.h> #include <linux/clk.h> +#include <linux/dma-mapping.h> #include <linux/io.h> #include <linux/module.h> +#include <linux/property.h> #include <linux/sizes.h> #include <sound/asoundef.h> @@ -594,10 +596,18 @@ static int xlnx_formatter_pcm_probe(struct platform_device *pdev) { int ret; u32 val; + u32 addr_width; struct xlnx_pcm_drv_data *aud_drv_data; struct device *dev = &pdev->dev; struct clk *axi_clk, *aud_mclk, *axis_clk; + if (device_property_read_u32(dev, "xlnx,addrwidth", &addr_width)) + addr_width = 32; + + ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(addr_width)); + if (ret) + return dev_err_probe(dev, ret, "failed to set the DMA mask\n"); + axi_clk = devm_clk_get_enabled(dev, "s_axi_lite_aclk"); if (IS_ERR(axi_clk)) return dev_err_probe(dev, PTR_ERR(axi_clk), "failed to get s_axi_lite_aclk"); -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2 6/6] ASoC: xlnx: formatter: advertise up to eight channels 2026-11-30 7:10 ` [PATCH v2 0/6] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta ` (4 preceding siblings ...) 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 ` Dhanunjanrao Katta 5 siblings, 0 replies; 16+ messages in thread From: Dhanunjanrao Katta @ 2026-11-30 7:10 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai, Michal Simek Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel, naveen.gaddipati, git, Dhanunjanrao Katta channels_max is two, so a design synthesised for more than a stereo stream cannot be used for all of its channels. The active channel field in the control register is four bits wide, and hw_params already rejects a request above the channel count it reads out of the core configuration register. The advertised maximum only has to cover the widest configuration, so raise it to eight. A two channel design still refuses more than two. Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com> --- sound/soc/xilinx/xlnx_formatter_pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c index c412ce49d634..ad28f0dee81c 100644 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c @@ -110,7 +110,7 @@ static const struct snd_pcm_hardware xlnx_pcm_hardware = { .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, .channels_min = 2, - .channels_max = 2, + .channels_max = 8, .rates = SNDRV_PCM_RATE_8000_192000, .rate_min = 8000, .rate_max = 192000, -- 2.34.1 ^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2026-11-30 7:21 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox