From: David Heidelberg <david@ixit.cz>
To: Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
"Dr. Git" <drgitx@gmail.com>,
Casey Connolly <casey.connolly@linaro.org>
Subject: Re: [PATCH v2] ASoC: qcom: sdm845: set quaternary MI2S codec DAI to I2S format
Date: Sat, 15 Nov 2025 00:06:08 +0100 [thread overview]
Message-ID: <76bf2299-bc1f-4cc5-987a-6c7e441e47c0@ixit.cz> (raw)
In-Reply-To: <789ca70c-c9ac-4290-8a24-1f83febe498f@kernel.org>
On 14/11/2025 13:33, Srinivas Kandagatla wrote:
>
>
> On 11/14/25 12:14 AM, David Heidelberg via B4 Relay wrote:
>> From: "Dr. Git" <drgitx@gmail.com>
>>
>> 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: Dr. Git <drgitx@gmail.com>
>
> Please fix your git user.name, looks like "Dr. Git" is not your real name.
Dr. Git is author of the patch. He's known contributor to the Snapdragon
845 close to mainline tree. I'll ask, if he'd like to provide different
name.
If not, I would be glad if known identity could be used for this patch
[1] (consider my S-off-by as confirmation of known identity).
David
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330
>
>
> Other than that patch itself looks sane to me.
>
> --srini
>
>
>
>> Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
>> Signed-off-by: David Heidelberg <david@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: 6d7e7251d03f98f26f2ee0dfd21bb0a0480a2178
>> change-id: 20251114-sdm845-quaternary-e9d6d0b513c9
>>
>> Best regards,
>
--
David Heidelberg
prev parent reply other threads:[~2025-11-14 23:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-14 0:14 [PATCH v2] ASoC: qcom: sdm845: set quaternary MI2S codec DAI to I2S format David Heidelberg via B4 Relay
2025-11-14 12:33 ` Srinivas Kandagatla
2025-11-14 23:06 ` David Heidelberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76bf2299-bc1f-4cc5-987a-6c7e441e47c0@ixit.cz \
--to=david@ixit.cz \
--cc=broonie@kernel.org \
--cc=casey.connolly@linaro.org \
--cc=drgitx@gmail.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=phone-devel@vger.kernel.org \
--cc=srini@kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox