From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4CF53242A4 for ; Mon, 27 Apr 2026 15:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777302283; cv=none; b=EBcfhPGWvy4iZehUiK9z5Qbiv0J7QPe6SN5qZbk/oby+iTXi+zDV6inVL5xHfZ4Dw+H0YtYfyL4tvZ3Evyw0ZmHzrgJq0tsiVvz+RPCj/A30Vk/AgIxmnKEqDkJOWWviYoLtcz9ZAQ7VrERuZCEH5Ck4eFcjnOH6WXd8PChQq0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777302283; c=relaxed/simple; bh=CminYBQxC/Tnq1I+ccvUO34jiNCE2lmXe7vUwoemivw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=I7Ef4PUeDj88tbLc4d0oQ3jZ2kz5I7R8LI0/u5/tihdx43lHPn67/+XQkZ3GcNnZJAlAJ/RL8bKFThTW3FE/BNMNKUsHoAS0TLK9Xlbmj7fAhP/ZYSd7xDgkoZnDl9CAcH4lR4assNlzUpxyUrgjoH6kcIwA1UX6rX8KefixQ5Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=gb938pxT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ecid/csx; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="gb938pxT"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ecid/csx" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63RDtgj1241408 for ; Mon, 27 Apr 2026 15:04:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 1yuiHJInWiG/Li3+crKA+5BjpM+44e0DojtKyELy8yQ=; b=gb938pxTEhCjkpJL 9Ot3Gl9Z5qs9BZCtrmZ/bGl0lyCD8xY+MxxXF4G/RORFkU49ShqYfpbGUGeBYPFF rlyxPZb/pT9Dc7AJTBfWczI7F+mS8RcZIhNicrbiwH4SzUf4ugk+cAlqI62bHjlG CUAzWK7uJPFdKj4WnlNyPRjcdwrcoI5SHLhypfPKGBw3rdbybyNCpAPQMujW3VgA 7y3HzT++lA/MaorleuQlnZRyzk0PL+mj7ae30mJfmwyTmj5XCL8bzEgZ8r0G5vPc 7w6E5CVyEOURJlNREBZHDu8cUI/Kv9R7mYgvrCqIm96aGupaBNO4EiZ5EG9oyVKt q7J4hA== Received: from mail-oa1-f71.google.com (mail-oa1-f71.google.com [209.85.160.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dt946r9bq-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 27 Apr 2026 15:04:40 +0000 (GMT) Received: by mail-oa1-f71.google.com with SMTP id 586e51a60fabf-42fafa8ae9eso498905fac.1 for ; Mon, 27 Apr 2026 08:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777302280; x=1777907080; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1yuiHJInWiG/Li3+crKA+5BjpM+44e0DojtKyELy8yQ=; b=ecid/csxytH5KiisV+uwy3IPCwDjshs5+XshQL7RKVEBza5SHao6vtanxHqKZzQwCl kKxUp7PnuSOL00g+HkGBSrMTeI2T0CyGjHYhmRwUssrSvgKzSHONpS/EngGx/I0532Kb +7ks1D8HVDab7IFKZzH0T2e/yRLU1Qk23SR51gzLHo7KKm4c8VgLscR07NIPUyrBjJ27 FUUSauEj6+g++yZWTaP8ZhE+Pjmd7aMHtp1wrTJ9yEl40K/jGgTxCj6tU9MMOxBI1QjB WVor0Uk8VgrzUJZMcntZzc7QM07DTlV5aj+IxWOwibkz/nBp3E24yuVQoQ2iApqaA2Yo Al9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777302280; x=1777907080; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1yuiHJInWiG/Li3+crKA+5BjpM+44e0DojtKyELy8yQ=; b=B7OVN7irlAxACbLFiI6GHFDJONV1Ruv/GS2gh2kOlqd6S4dcgzWHLXSTmvHUR8BIWz jLzj27Snh8a56ofXSXAUXJcrWTaIegjRKXSDUKCdTjmjV5NtSqI3HjuwELtabKKoofx+ zeOMQ2mOXrw4vv5llGk++lLG6bEluOeqEXppUt+txkDy95ZGQzR+DNN0lQsmP03z/aBd QCccBFHs44n1DL3HgyAAqQbUFA9L89gZ7oZIkcvtrfec1ZOoP7Mmfwkr6tQL4g9ITvoq Phs9UTtEkjHJXuPkXSCEZywqJdX6wPVdxXenwOD8gxqL8gVPAmtlTwP6Dx6lEAYItNlf 0w0w== X-Forwarded-Encrypted: i=1; AFNElJ/e5juNUqxWuzd4AlXZiFNxlFkVh8nYboUswp+pDdRV8CLcLl+LHpMjlbAkaMFGNS0h0zWeNL+V3Dpm@vger.kernel.org X-Gm-Message-State: AOJu0YxMrX3oJVotbJuw0yu2nG0HOxIbgixKSxtecG1IKZa7sY0ZOaHt CZSt+Fz2AObJHCu5fOWin6vI/UlBekuJwrT8zTob7qsZQjPEmMan+vA3R1bVtfBRqeFr471qkss 2xAGOzUj0KGnXqwvHVejGEMV5dZY6ZdYSWwIiVpJUkkcnVGT84FoSAGamy0/96I/i X-Gm-Gg: AeBDietQV75tFqD9ZMQwfmf1bsA/JgJmJx9g6YB7Bkc//5iQ4cem6Z+vgmsDq/UQUmu yG/M0mMYHMWokZLFhFVozX9/JEK1bswzw9u2fuddi50ePXuGwGAg02R+TtOVcLG9keRS/98oFSq kvu8XJwMOwy83abkAM9dIWPO8khHvBEdK3LPe44UX84K96PWqaj6ZdcdGPbpu63Iwqfv6XhtW9T JeVt0qxYOJvZ8rn8kQrbYXpYNfXcZKB190oFsHwiaBPNAdjLYu7w22UGMu76RmNq8zdjbYUKhHb NDRv5k/6EgagaMf7/3GQHNLg88gsPZm5L/Ic6885u9QKQUe1I7JxwlaA7Csonp4ZCmwniGacmtH LkM2K0Q2PIQ+7q6n/O/lu/JRmPm7zxaTV2oyckAvE2SAatOG+3uUAvRm8+wMkRorWsSeWeLqkNs 8KqdodTNLyLgq2bA== X-Received: by 2002:a05:6870:c20d:b0:430:11f:eea1 with SMTP id 586e51a60fabf-430012019dfmr5442721fac.1.1777302279659; Mon, 27 Apr 2026 08:04:39 -0700 (PDT) X-Received: by 2002:a05:6870:c20d:b0:430:11f:eea1 with SMTP id 586e51a60fabf-430012019dfmr5442673fac.1.1777302279084; Mon, 27 Apr 2026 08:04:39 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-672c4d455ddsm7175365a12.18.2026.04.27.08.04.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2026 08:04:37 -0700 (PDT) Message-ID: Date: Mon, 27 Apr 2026 17:04:34 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 12/12] arm64: dts: qcom: qcs6490-radxa-dragon-q6a: add LPASS CPU audio variant To: Val Packett , Xilin Wu , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Baryshkov , Liam Girdwood , Mark Brown , Judy Hsiao , Srinivas Kandagatla Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-sound@vger.kernel.org References: <20260407-dragon-q6a-feat-fixes-v1-0-14aca49dde3d@radxa.com> <20260407-dragon-q6a-feat-fixes-v1-12-14aca49dde3d@radxa.com> <29a7dd01-7513-4fe5-8546-d57757b3b2d0@oss.qualcomm.com> <88B7BBB9133FBAD1+ccb025ea-4999-4701-bb18-c57a42cabe2f@radxa.com> <2f830f17-4bc5-4ebd-a66b-8068a14a871a@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=YcWNIQRf c=1 sm=1 tr=0 ts=69ef7b08 cx=c_pps a=CWtnpBpaoqyeOyNyJ5EW7Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=rs9IiGjxfO60RFTHbSYA:9 a=QEXdDO2ut3YA:10 a=vh23qwtRXIYOdz9xvnmn:22 X-Proofpoint-GUID: t-sE_wSnRmIiS5LTZtMTYHaCa2mAE_CB X-Proofpoint-ORIG-GUID: t-sE_wSnRmIiS5LTZtMTYHaCa2mAE_CB X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI3MDE1OSBTYWx0ZWRfX2N0r2tKw0+by CYZyilkZHYpftMBzrS/MzXxcIiOQB4XL7rZysTWFFiLAYlvBodRrk/iTlWEMOrbrKFo5TD9qssv +HKTkuK1sTsjYMMLCsCjVvguHxHkkZNVFvOSNIZAv7/HAQMDbPI09/4fe9kxm6tt60mA/WP+gQ/ WFBq33A+lm/+NWyGo8kOwNSxsZpl2fX9i/oNfO0N39UmkR0tL/eQhU+waQIVZZx4CRr6Y0iWqjC Vox7jwXW2ModW60Jr6jqJwKa6bYpwJo+kvqEeoDdyB8hTrMqcyAIc530ET99w3joavdtbUYykRL mi9cCUFWZUrGa3Cpni8JaPiOxQighr76mLUzyWphDxZT4ZqqEdatj1tElFH7qtkrjfh409tSnAp n1CrNCZcQztN1YNLIbLRSgrFbp6/e46pQaejVWOKR4nueDXIPG53mm+z6nqa3MRBmh/rPyR4Wbs jTnHSAV42u+OXlTLfBg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-27_04,2026-04-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 clxscore=1015 spamscore=0 malwarescore=0 adultscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270159 On 4/24/26 9:07 PM, Val Packett wrote: > > 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 :) That's a genuine usecase, but probably not realistic (in the 'actually zero closed blobs' sense) today, if you want to have a featureful and stable system Konrad