From: Vladyslav Tymoshchuk <tvlad744@gmail.com>
To: Luca Weiss <luca.weiss@fairphone.com>,
Srinivas Kandagatla <srini@kernel.org>,
Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>,
Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
Mark Brown <broonie@kernel.org>,
Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Cc: Vladyslav Tymoshchuk <tvlad744@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Val Packett <val@packett.cool>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Jianfeng Liu <liujianfeng1994@gmail.com>,
linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] ASoC: qcom: q6apm-lpass-dais: start the graph at prepare
Date: Wed, 14 Oct 2026 19:38:42 +0300 [thread overview]
Message-ID: <20261014163842.13124-1-tvlad744@gmail.com> (raw)
In-Reply-To: <DM0ENR5MK476.UJSB8FMRYN50@fairphone.com>
Hi all,
On Fri, 09 Oct 2026 17:16:32 +0200, Luca Weiss wrote:
> Is there any new info about this? This seems to be the last blocker to
> upstream Fairphone (Gen. 6) speaker support. Without this patch, the amp
> doesn't start up and audio can't play.
>
> Can you suggest a way forward here?
One more data point, and a possible way forward that does not touch
q6apm.
The OnePlus Pad 3 (SM8750) has six AW88261 on a TDM link of the
AudioReach DSP, with the IBIT clock of the link voted from hw_params
through the MI2S clock control of cc8495c1d45a. It behaves like the
FP6 and the VENTUNO Q: the amplifiers see no bit clock in their PRE_PMU
power-up check, each prepare gives six "start failure (-1)", and the
clock only shows up once the BE graph starts in trigger.
Since the DP case rules out starting the graph at prepare, I moved the
start to the codec side instead: aw88261 starts the amplifier from
.mute_stream with .mute_unmute_on_trigger set, as wsa883x and wsa884x
do. snd_soc_pcm_dai_trigger() runs the CPU DAI trigger first and the
codec unmute after it, so the graph has started and the PLL locks right
away; a prepare without trigger leaves the amplifier off. On the Pad 3:
no start failure any more, all six running during playback, and the
trigger that starts the stream (graph start plus six amplifier starts)
takes 52 to 71 ms.
The patch is here:
https://lore.kernel.org/r/20261014120000.aw88261-trigger-v1-1-tvlad744@gmail.com
Luca, Jorijn, it would be great to know whether it works on the FP6,
and that it does not change anything on the FP5.
Thanks,
Vladyslav
(I used an AI assistant, Claude, for the analysis and to draft this
mail; the tests ran on my device.)
next prev parent reply other threads:[~2026-10-14 16:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-05 3:38 Jorijn van der Graaf
2026-07-08 14:05 ` Mark Brown
2026-07-08 21:55 ` Jorijn van der Graaf
2026-07-08 22:18 ` Srinivas Kandagatla
2026-07-10 14:32 ` Jorijn van der Graaf
2026-07-14 16:22 ` Srinivas Kandagatla
2026-07-15 21:19 ` Jorijn van der Graaf
2026-07-22 23:02 ` Srinivas Kandagatla
2026-10-09 15:16 ` Luca Weiss
2026-10-14 16:38 ` Vladyslav Tymoshchuk [this message]
2026-07-08 22:13 ` Srinivas Kandagatla
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=20261014163842.13124-1-tvlad744@gmail.com \
--to=tvlad744@gmail.com \
--cc=broonie@kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=jorijnvdgraaf@catcrafts.net \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=liujianfeng1994@gmail.com \
--cc=luca.weiss@fairphone.com \
--cc=mohammad.rafi.shaik@oss.qualcomm.com \
--cc=perex@perex.cz \
--cc=srini@kernel.org \
--cc=srinivas.kandagatla@oss.qualcomm.com \
--cc=tiwai@suse.com \
--cc=val@packett.cool \
/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
all inboxes | Powered by JetHome®