public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Val Packett <val@packett.cool>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Xilin Wu <sophon@radxa.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Judy Hsiao <judyhsiao@chromium.org>,
	Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-sound@vger.kernel.org
Subject: Re: [PATCH 12/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: add LPASS CPU audio variant
Date: Fri, 24 Apr 2026 16:07:56 -0300	[thread overview]
Message-ID: <c3b833d8-2e8a-4418-9043-6cd04d9901e1@packett.cool> (raw)
In-Reply-To: <2f830f17-4bc5-4ebd-a66b-8068a14a871a@oss.qualcomm.com>


On 4/24/26 9:28 AM, Konrad Dybcio wrote:
> On 4/8/26 11:47 AM, Xilin Wu wrote:
>> On 4/8/2026 5:06 PM, Konrad Dybcio wrote:
>>> On 4/7/26 5:20 PM, Xilin Wu wrote:
>>>> Add a qcs6490-radxa-dragon-q6a-lpass-cpu.dts variant for debugging and
>>>> bring-up of the host-controlled LPASS audio path on the Radxa Dragon
>>>> Q6A.
>>>>
>>>> This variant enables the LPASS blocks and codec macros needed by the
>>>> lpass-cpu driver, wires WCD9380 playback/capture and DisplayPort audio
>>>> to the LPASS CDC DMA and DP interfaces, and disables remoteproc_adsp so
>>>> that the audio hardware is owned directly by Linux.
>>>>
>>>> This DTB is an optional configuration for systems booted with the kernel
>>>> running at EL2, where direct CPU access to the LPASS hardware is
>>>> available. It is useful for users who need low-latency and fully
>>>> controllable audio.
>>> I believe on Chrome platforms it was done this way because at some point
>>> it was determined that they would specifically like not to use the DSP.
>>>
>>> I think this is more of a hack than anything else.. but at the end of the
>>> commit message you mention low latency - is the impact actually measurable?
>>>
>> Some of our users also specifically prefer not to use the DSP [1] :)
>>
>> Based on their testing, the AudioReach/ADSP path imposes a minimum scheduling interval of 10 ms, which is much higher than the 0.67 ms they can get on a Raspberry Pi 5 with direct I2S/DMA.
> We passed on this feedback.
>
>> Since the lpass-cpu setup works properly, I would not consider this a hack.
> Well yeah it works, but I was really hoping it would be made
> unnecessary and available for removal sooner or later..
>
> But since there's a genuine usecase, perhaps not.

lpass-cpu is also great from a "I don't want my pure libre operating 
system to touch dirty proprietary binary blobs" perspective, but you can 
definitely argue that that's not a genuine use case :)

~val


  reply	other threads:[~2026-04-24 19:08 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 15:19 [PATCH 00/12] arm64: dts: qcom: qcs6490: Radxa Dragon Q6A feature enablement and fixes Xilin Wu
2026-04-07 15:19 ` [PATCH 01/12] firmware: qcom: scm: Allow QSEECOM for Radxa Dragon Q6A Xilin Wu
2026-04-09  1:54   ` Dmitry Baryshkov
2026-04-07 15:19 ` [PATCH 02/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Enable UFS controller Xilin Wu
2026-04-08  8:59   ` Konrad Dybcio
2026-04-09  3:38     ` Xilin Wu
2026-04-07 15:19 ` [PATCH 03/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Enable USB 3.0 and HDMI ports Xilin Wu
2026-04-08  9:03   ` Konrad Dybcio
2026-04-12  3:14     ` Xilin Wu
2026-04-13 10:28       ` Konrad Dybcio
2026-04-07 15:19 ` [PATCH 04/12] arm64: dts: qcom: kodiak: Add I2C aliases for CCI Xilin Wu
2026-04-07 15:19 ` [PATCH 05/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Use board-specific CDSP firmware Xilin Wu
2026-04-08  9:04   ` Konrad Dybcio
2026-04-07 15:19 ` [PATCH 06/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Drop QSPI node and reserve its pins Xilin Wu
2026-04-24 11:38   ` Konrad Dybcio
2026-04-07 15:19 ` [PATCH 07/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Correct GPIO_27 label Xilin Wu
2026-04-08  9:04   ` Konrad Dybcio
2026-04-07 15:20 ` [PATCH 08/12] arm64: dts: qcom: kodiak: Mark secondary USB controller as wakeup source Xilin Wu
2026-04-08  9:04   ` Konrad Dybcio
2026-04-07 15:20 ` [PATCH 09/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: Align reserved-memory with latest firmware map Xilin Wu
2026-04-24 12:23   ` Konrad Dybcio
2026-04-07 15:20 ` [PATCH 10/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: factor out common board dtsi Xilin Wu
2026-04-07 15:20 ` [PATCH 11/12] ASoC: dt-bindings: google,sc7280-herobrine: Add Radxa Dragon Q6A sound card Xilin Wu
2026-04-08  8:48   ` Krzysztof Kozlowski
2026-04-12  3:47     ` Xilin Wu
2026-04-07 15:20 ` [PATCH 12/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: add LPASS CPU audio variant Xilin Wu
2026-04-08  9:06   ` Konrad Dybcio
2026-04-08  9:47     ` Xilin Wu
2026-04-24 12:28       ` Konrad Dybcio
2026-04-24 19:07         ` Val Packett [this message]
2026-04-27 15:04           ` Konrad Dybcio

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=c3b833d8-2e8a-4418-9043-6cd04d9901e1@packett.cool \
    --to=val@packett.cool \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=judyhsiao@chromium.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sophon@radxa.com \
    --cc=srinivas.kandagatla@oss.qualcomm.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