Re: [PATCH v7 3/5] ASoC: meson: g12a-toacodec: Add S4 tocodec driver
From: Jiebing Chen
Date: Wed Oct 28 2026 - 08:21:29 EST
在 2026/10/27 5:02, Mark Brown 写道:
[ EXTERNAL EMAIL ]Got it.
The S4 requires additional clock control bits to be turn on while enabled.Should these have a _S4 suffix?
The S4 has 8 TDM lanes, instead of 4 on previous SoC.
Update the widget accordingly.
+#define CTRL0_BCLK_ENABLE_SHIFT 30
+#define CTRL0_MCLK_ENABLE_SHIFT 29
Thanks. We'll add a dedicated S4 mux for this mapping.
+static const struct snd_soc_dapm_widget s4_toacodec_widgets[] = {Should this have a custom mux for S4, it looks like the register bits
+ SND_SOC_DAPM_MUX("SRC", SND_SOC_NOPM, 0, 0,
+ &sm1_toacodec_mux),
are different, a shift of 19 for S4.