[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5960f881-9223-44cb-b934-c4cb1a4086eb@ixit.cz>
Date: Fri, 5 Dec 2025 20:58:31 +0100
From: David Heidelberg <david@...t.cz>
To: Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: linux-sound@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
Robert Oscilowski <drgitx@...il.com>,
Casey Connolly <casey.connolly@...aro.org>
Subject: Re: [PATCH v3] ASoC: qcom: sdm845: set quaternary MI2S codec DAI to
I2S format
On 15/11/2025 19:43, David Heidelberg via B4 Relay wrote:
> From: Robert Oscilowski <drgitx@...il.com>
Hello,
with the updated name, is the patch good to go?
Thanks
David
>
> We configure the codec DAI format for primary and secondary but not the
> quaternery MI2S path. Add the missing configuration to enable speaker
> codecs on the quaternary MI2S like the MAX9827 found on the OnePlus 6.
>
> Signed-off-by: Robert Oscilowski <drgitx@...il.com>
> Signed-off-by: Casey Connolly <casey.connolly@...aro.org>
> Signed-off-by: David Heidelberg <david@...t.cz>
> ---
> Changes in v3:
> - Updated DrGit name to real name.
> - Link to v2: https://lore.kernel.org/r/20251114-sdm845-quaternary-v2-1-9d803bf5f7c9@ixit.cz
>
> Changes in v2:
> - Rebased on top of next-20251113
> ---
> sound/soc/qcom/sdm845.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c
> index e18a8e44f2db5..0ce9dff4dc525 100644
> --- a/sound/soc/qcom/sdm845.c
> +++ b/sound/soc/qcom/sdm845.c
> @@ -365,10 +365,12 @@ static int sdm845_snd_startup(struct snd_pcm_substream *substream)
> snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt);
> break;
> case QUATERNARY_MI2S_RX:
> + codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S;
> snd_soc_dai_set_sysclk(cpu_dai,
> Q6AFE_LPASS_CLK_ID_QUAD_MI2S_IBIT,
> MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK);
> snd_soc_dai_set_fmt(cpu_dai, fmt);
> + snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt);
> break;
>
> case QUATERNARY_TDM_RX_0:
>
> ---
> base-commit: 0f2995693867bfb26197b117cd55624ddc57582f
> change-id: 20251114-sdm845-quaternary-e9d6d0b513c9
>
> Best regards,
--
David Heidelberg
Powered by blists - more mailing lists