Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 00/21] ASoC: use .auto_selectable_formats
@ 2026-09-03  1:13 Kuninori Morimoto
  2026-09-03  1:13 ` [PATCH 01/21] ASoC: dwc: " Kuninori Morimoto
                   ` (21 more replies)
  0 siblings, 22 replies; 28+ messages in thread
From: Kuninori Morimoto @ 2026-09-03  1:13 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-sound


Hi Mark, all

I'm now posting "use .auto_selectable_formats" for Codecs.
This is "use .auto_selectable_formats" for each vendor.

o: done
y: now posting
x: this patch-set

	[o] Step1: ASoC: a to b
	[y] Step2: ASoC: codec: ...
	[x] Step3: ASoC: d to x

Current ASoC supports snd_soc_daifmt_parse_format() which can specify DAI
format by "dai-format" property from DT.
But strictly speaking, it is SW settings, so doesn't match to DT's policy.

Current ASoC is supporting auto format select via
snd_soc_dai_ops :: .auto_selectable_formats.
But the user is very few today.

DT doesn't need to specify the DAI format via "dai-format", if both CPU
and Codec drivers were supporting .auto_selectable_formats. It will be
automatically selected from .auto_selectable_formats.

One note is that auto select might not find best format on some CPU/Codec
combination. So "dai-format" property itself is necessary anyway.


Kuninori Morimoto (21):
  ASoC: dwc: use .auto_selectable_formats
  ASoC: fsl: use .auto_selectable_formats
  ASoC: hisilicon: use .auto_selectable_formats
  ASoC: img: use .auto_selectable_formats
  ASoC: jz4740: use .auto_selectable_formats
  ASoC: kirkwood: use .auto_selectable_formats
  ASoC: loongson: use .auto_selectable_formats
  ASoC: mediatek: use .auto_selectable_formats
  ASoC: mxs: use .auto_selectable_formats
  ASoC: pxa: use .auto_selectable_formats
  ASoC: renesas: use .auto_selectable_formats
  ASoC: rockchip: use .auto_selectable_formats
  ASoC: samsung: use .auto_selectable_formats
  ASoC: sti: use .auto_selectable_formats
  ASoC: stm: use .auto_selectable_formats
  ASoC: sunxi: use .auto_selectable_formats
  ASoC: tegra: use .auto_selectable_formats
  ASoC: ti: use .auto_selectable_formats
  ASoC: uniphier: use .auto_selectable_formats
  ASoC: ux500: use .auto_selectable_formats
  ASoC: xtensa: use .auto_selectable_formats

 sound/soc/dwc/dwc-i2s.c                     |  9 ++++++
 sound/soc/fsl/fsl_audmix.c                  |  7 +++++
 sound/soc/fsl/fsl_esai.c                    | 13 ++++++++
 sound/soc/fsl/fsl_mqs.c                     |  6 ++++
 sound/soc/fsl/fsl_sai.c                     | 17 +++++++++++
 sound/soc/fsl/fsl_ssi.c                     | 13 ++++++++
 sound/soc/fsl/lpc3xxx-i2s.c                 |  4 +++
 sound/soc/fsl/mpc5200_psc_i2s.c             |  4 +++
 sound/soc/hisilicon/hi6210-i2s.c            |  7 +++++
 sound/soc/img/img-i2s-in.c                  | 12 +++++++-
 sound/soc/img/img-i2s-out.c                 | 13 +++++++-
 sound/soc/img/img-parallel-out.c            |  8 ++++-
 sound/soc/jz4740/jz4740-i2s.c               |  7 +++++
 sound/soc/kirkwood/kirkwood-i2s.c           |  7 +++++
 sound/soc/loongson/loongson_i2s.c           |  6 ++++
 sound/soc/mediatek/mt7986/mt7986-dai-etdm.c | 11 +++++++
 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c  |  6 ++++
 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c  | 10 +++++++
 sound/soc/mediatek/mt8186/mt8186-dai-pcm.c  | 12 ++++++++
 sound/soc/mediatek/mt8186/mt8186-dai-tdm.c  | 13 ++++++++
 sound/soc/mediatek/mt8188/mt8188-dai-etdm.c | 15 ++++++++++
 sound/soc/mediatek/mt8188/mt8188-dai-pcm.c  | 11 +++++++
 sound/soc/mediatek/mt8192/mt8192-dai-tdm.c  | 11 +++++++
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c | 17 +++++++++++
 sound/soc/mediatek/mt8195/mt8195-dai-pcm.c  | 11 +++++++
 sound/soc/mediatek/mt8365/mt8365-dai-i2s.c  | 10 +++++++
 sound/soc/mediatek/mt8365/mt8365-dai-pcm.c  | 11 +++++++
 sound/soc/mxs/mxs-saif.c                    | 10 +++++++
 sound/soc/pxa/mmp-sspa.c                    |  6 ++++
 sound/soc/pxa/pxa-ssp.c                     | 11 +++++++
 sound/soc/pxa/pxa2xx-i2s.c                  |  6 ++++
 sound/soc/renesas/rz-ssi.c                  |  9 ++++++
 sound/soc/renesas/siu_dai.c                 |  6 ++++
 sound/soc/renesas/ssi.c                     | 13 ++++++++
 sound/soc/rockchip/rockchip_i2s.c           | 25 ++++++++++++----
 sound/soc/rockchip/rockchip_i2s_tdm.c       | 27 ++++++++++++-----
 sound/soc/rockchip/rockchip_pdm.c           | 14 ++++++---
 sound/soc/rockchip/rockchip_sai.c           | 31 +++++++++++++------
 sound/soc/samsung/i2s.c                     | 29 +++++++++++-------
 sound/soc/samsung/pcm.c                     |  9 ++++++
 sound/soc/sti/uniperif_player.c             | 29 ++++++++++++------
 sound/soc/sti/uniperif_reader.c             | 27 ++++++++++++-----
 sound/soc/stm/stm32_i2s.c                   | 12 ++++++++
 sound/soc/stm/stm32_sai_sub.c               | 15 ++++++++++
 sound/soc/sunxi/sun4i-i2s.c                 | 13 ++++++++
 sound/soc/sunxi/sun8i-codec.c               | 13 ++++++++
 sound/soc/tegra/tegra20_i2s.c               | 10 +++++++
 sound/soc/tegra/tegra210_i2s.c              | 13 ++++++++
 sound/soc/tegra/tegra30_i2s.c               | 10 +++++++
 sound/soc/ti/davinci-i2s.c                  | 14 ++++++++-
 sound/soc/ti/davinci-mcasp.c                | 14 +++++++++
 sound/soc/ti/omap-mcbsp.c                   | 12 ++++++++
 sound/soc/uniphier/aio-cpu.c                |  9 ++++++
 sound/soc/ux500/ux500_msp_dai.c             | 33 +++++++++++++--------
 sound/soc/xtensa/xtfpga-i2s.c               | 12 ++++++--
 55 files changed, 630 insertions(+), 73 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-09-22  8:35 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03  1:13 [PATCH 00/21] ASoC: use .auto_selectable_formats Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 01/21] ASoC: dwc: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 02/21] ASoC: fsl: " Kuninori Morimoto
2026-09-03  7:43   ` Vladimir Zapolskiy
2026-09-11 20:10   ` Mark Brown
2026-09-13 23:55     ` Kuninori Morimoto
2026-09-22  8:35   ` Hsieh Hung-En
2026-09-03  1:13 ` [PATCH 03/21] ASoC: hisilicon: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 04/21] ASoC: img: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 05/21] ASoC: jz4740: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 06/21] ASoC: kirkwood: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 07/21] ASoC: loongson: " Kuninori Morimoto
2026-09-03  1:13 ` [PATCH 08/21] ASoC: mediatek: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 09/21] ASoC: mxs: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 10/21] ASoC: pxa: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 11/21] ASoC: renesas: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 12/21] ASoC: rockchip: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 13/21] ASoC: samsung: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 14/21] ASoC: sti: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 15/21] ASoC: stm: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 16/21] ASoC: sunxi: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 17/21] ASoC: tegra: " Kuninori Morimoto
2026-09-04  8:53   ` Jon Hunter
2026-09-03  1:14 ` [PATCH 18/21] ASoC: ti: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 19/21] ASoC: uniphier: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 20/21] ASoC: ux500: " Kuninori Morimoto
2026-09-03  1:14 ` [PATCH 21/21] ASoC: xtensa: " Kuninori Morimoto
2026-09-11 20:12 ` (subset) [PATCH 00/21] ASoC: " Mark Brown

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