(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

ASoC: codec: use .auto_selectable_formats

Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> says: This is v3 of Step2 of "use .auto_selectable_formats" patch-set o: done x: this patch-set [o] Step1: ASoC: a to b [x] Step2: ASoC: codec: ... [ ] Step3: ASoC: d to r [ ] Step4: ASoC: r 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" is necessary anyway. Link: https://lore.kernel.org/r/87cxvyyazi.wl-kuninori.morimoto.gx@renesas.com Link: https://lore.kernel.org/r/877bm2vjjn.wl-kuninori.morimoto.gx@renesas.com Link: https://patch.msgid.link/87o6eivpyd.wl-kuninori.morimoto.gx@renesas.com


Author Mark Brown Date Commit Parent 04c3ee0f
+2229 -1
196 changed files
+2229 -1
196 changed files