The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] ASoC: adau7118: Advertise support for S32_LE format
@ 2026-11-16  9:24 Michael Sikora
  2026-11-17  9:43 ` Nuno Sá
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Sikora @ 2026-11-16  9:24 UTC (permalink / raw)
  To: Lars-Peter Clausen, Nuno Sá, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, kernel, Michael Sikora

The ADAU7118 supports 32-bit TDM slots, with audio data left-justified
within the slot. Advertise S32_LE as a supported format in the driver.

Signed-off-by: Michael Sikora <michael.sikora@axis.com>
---
 sound/soc/codecs/adau7118.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/adau7118.c b/sound/soc/codecs/adau7118.c
index 51064b6217d8..befd6f632af9 100644
--- a/sound/soc/codecs/adau7118.c
+++ b/sound/soc/codecs/adau7118.c
@@ -446,7 +446,7 @@ static struct snd_soc_dai_driver adau7118_dai = {
 		.channels_max = 8,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |
 			SNDRV_PCM_FMTBIT_S20_LE | SNDRV_PCM_FMTBIT_S24_LE |
-			SNDRV_PCM_FMTBIT_S24_3LE,
+			SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE,
 		.rates = SNDRV_PCM_RATE_CONTINUOUS,
 		.rate_min = 4000,
 		.rate_max = 192000,

---
base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
change-id: 20261111-adau7118-32b-with-coverletter-63c9f924ba3d

Best regards,
--  
Michael Sikora <michael.sikora@axis.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: adau7118: Advertise support for S32_LE format
  2026-11-16  9:24 [PATCH] ASoC: adau7118: Advertise support for S32_LE format Michael Sikora
@ 2026-11-17  9:43 ` Nuno Sá
  0 siblings, 0 replies; 2+ messages in thread
From: Nuno Sá @ 2026-11-17  9:43 UTC (permalink / raw)
  To: Michael Sikora
  Cc: Lars-Peter Clausen, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, linux-sound, linux-kernel, kernel

On Mon, Nov 16, 2026 at 10:24:27AM +0100, Michael Sikora wrote:
> The ADAU7118 supports 32-bit TDM slots, with audio data left-justified
> within the slot. Advertise S32_LE as a supported format in the driver.
> 
> Signed-off-by: Michael Sikora <michael.sikora@axis.com>
> ---

Reviewed-by: Nuno Sá <nuno.sa@analog.com>

>  sound/soc/codecs/adau7118.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/adau7118.c b/sound/soc/codecs/adau7118.c
> index 51064b6217d8..befd6f632af9 100644
> --- a/sound/soc/codecs/adau7118.c
> +++ b/sound/soc/codecs/adau7118.c
> @@ -446,7 +446,7 @@ static struct snd_soc_dai_driver adau7118_dai = {
>  		.channels_max = 8,
>  		.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |
>  			SNDRV_PCM_FMTBIT_S20_LE | SNDRV_PCM_FMTBIT_S24_LE |
> -			SNDRV_PCM_FMTBIT_S24_3LE,
> +			SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE,
>  		.rates = SNDRV_PCM_RATE_CONTINUOUS,
>  		.rate_min = 4000,
>  		.rate_max = 192000,
> 
> ---
> base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
> change-id: 20261111-adau7118-32b-with-coverletter-63c9f924ba3d
> 
> Best regards,
> --  
> Michael Sikora <michael.sikora@axis.com>
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-17  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  9:24 [PATCH] ASoC: adau7118: Advertise support for S32_LE format Michael Sikora
2026-11-17  9:43 ` Nuno Sá

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox