From nobody Mon Oct 6 08:25:31 2025 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 7E2CD2288C6 for ; Wed, 23 Jul 2025 22:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753309675; cv=none; b=cmm0zLbzPQZwsIxAKF/E1tuB/CO0IaRKe4LESsg/dvCIXYD5Ecx6Yz3iPkCb4r2TV2iWJSzfwoAD/ww+vrlOq74HnfDwgkFhXaUfPfRUaGmu7M32Xi//ZweXzoigtlRM0Mvi9Vrc4CKc7nKCwm8ZPZ9+qfyGN9prqHTlyqlUFvA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753309675; c=relaxed/simple; bh=9f0MWQGMt3kWf5M6K6kO0Cc5wE9p0DRpP3bTC8UxFa8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Hi/c9+msBDAHyvXb5XoZ2SLI5GN/XAZ3qdJXFxDhScP4vyu/a8SlFx5QBJITeoLx5o0zAUvTtmdUmM/RFfIFN2HnGQce63HkLWj/iS4nivEPFL12Xe0pcg6kCza8JOaNE/9OBMHGBC4ZHnbrwK/jhr3skTM+nidTMAgifyGyRQE= 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=AT1EWGbw; arc=none smtp.client-ip=205.220.168.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="AT1EWGbw" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56NGxoPs024516 for ; Wed, 23 Jul 2025 22:27:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=Lv1gwH4qM/M xiyZvly5IYByAhPppt71Gyj/KfZY9Y6w=; b=AT1EWGbwmHUZe82eIpcGumIowaO 5WUQRfMUyT9qI9KY1UMDzUAUb+b9DVUmG4tSLQ1tvG2BwCy5JxCZHpOtFw9PBsyv CCPn9ONlbHapU8Y1jG68afIACvNFAaGM5mb4YiwEj9WWC3g0Zu20O8WcInESEXSA D+axwAmhEj873DQh4rWlBHXq294wU2wdr9xt+xzwHC1KVe/YBoCGQQXhn+qa1tJ6 MoN2bc1FPFsm9RuELVYRNV0CUBBqUwGptQBmy1FZt6R1ExvVvsEGhidbXwjP8Y7y mzIkjNezWcRHMf2o4e+uWBKccv6OAZ3N/CnNGAHxuyCVjQyPCI20vpxFY7A== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 482b1ud914-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 23 Jul 2025 22:27:52 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6facf4cf5e1so5892966d6.2 for ; Wed, 23 Jul 2025 15:27:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753309671; x=1753914471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lv1gwH4qM/MxiyZvly5IYByAhPppt71Gyj/KfZY9Y6w=; b=bm/4HEnVxoshjJ5iw1IeMr+S4AgmiXGaVIjpNegcxmb/sVyinHkMJZwnobs4yfZti9 Rt/8oOH4hux23byxx5+kOBPUidZbUB7oTuYFEBAHfcuc/nytNatuPVYIFMTduERGiceK Ju9LPYm1AzoEFXj+p9r2iTm1clCDuzMxDmdVun6RQvzS+0u+NFtxnSL/ehC+UGArIf1I 5vLD0ZCuqBwWO/P1iWdJ4msWdBqT/vGMyYuYGBgPvrvBlbTSYwfhCwh/Xdt08hXjhEzT hwYhXPQvjzATyL9aWIel93vBmFvROk5efQ1IqB0EQDmBLFq/xvXoQSU8DKiBWFFt9/HK wN9g== X-Forwarded-Encrypted: i=1; AJvYcCU6Qfs60hfzgWGgo9uT7+rwPloef9iRC+svCpVz6y0lwJmEKmXQxsSEAMRrQK6XccAFqzMisAt9KzTtTSw=@vger.kernel.org X-Gm-Message-State: AOJu0Yytaj0/sgMysheEnokqgI3/E2zmPR2yhm4Nxikj8lXoPQ5KTMpZ N+cBs6awCtlZkyF8FWC/NJMrbJ+HEtRramAtxMYjA8d/LDMCSykpLUD0RUVxHQQylmpWXVDMciO 2hbu1nwrxCYUQf32JPpHuhFBiezQv6094lZnBi/VR0ncVVzG75cpgMJcE5NmwW1oFUn4= X-Gm-Gg: ASbGncvw3I3JhHybCcOtr4y4ADeRZgdsANzayf4f2afKisNYo6SXvdDmUgj36dk5FmJ +LfjUCM/+zf+TI4aI5DNUNZ7P6O5CK0CcdFJsUa9kYay4mNES3wlTDmGEGuteL6YnBeosZ8U49N 1cVgNYvTweFIoQkGNR079BtTLolVzP5GBWAPED/FsDmMSuQlxLN0Fr99M99cNRottpxw/t0tUAG mqyvwvpSoIS4MK5qdK7O6dZChRPe4ZwV9i5QAZDVfnaElAi6SP6UdnjBLz5JWtdGbJoW1QUk6Fi oai/8qWCQG155V61MZ4vKCDlDPoJzUYzlLjttm6P4n6Svhtbv3jdUw== X-Received: by 2002:a05:6214:27c7:b0:704:f952:3d66 with SMTP id 6a1803df08f44-707006a3e74mr56005426d6.47.1753309671040; Wed, 23 Jul 2025 15:27:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHk6k7H/DKZ6RoAa/iFffbLEugNjCZjM21SKc3RSw1fAYe9HXKUtDzJ+0og7urmcPaOs6vudg== X-Received: by 2002:a05:6214:27c7:b0:704:f952:3d66 with SMTP id 6a1803df08f44-707006a3e74mr56005156d6.47.1753309670593; Wed, 23 Jul 2025 15:27:50 -0700 (PDT) Received: from debian ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3b76fcad23bsm248520f8f.44.2025.07.23.15.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jul 2025 15:27:49 -0700 (PDT) From: srinivas.kandagatla@oss.qualcomm.com To: andersson@kernel.org, konradybcio@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 01/23] arm64: dts: qcom: x1e80100: move dsp audio nodes to dedicated dts Date: Wed, 23 Jul 2025 23:27:15 +0100 Message-ID: <20250723222737.35561-2-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250723222737.35561-1-srinivas.kandagatla@oss.qualcomm.com> References: <20250723222737.35561-1-srinivas.kandagatla@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=LdY86ifi c=1 sm=1 tr=0 ts=688161e8 cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=Wb1JkmetP80A:10 a=EUspDBNiAAAA:8 a=ETe8z7BbGz-F56Y7HIQA:9 a=1HOtulTD9v-eNWfpl4qZ:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzIzMDE5MyBTYWx0ZWRfXy/6X7Ui+z1dL 03WI29b3Ciu1LTQVGDsVdC/z/uIe7eCSHbCeuhOqVIconXB2skOWg95niDB45WEokXGvxzGFs1g BFeZd4bUDPYqlIjnKEECx54Pk/vF1jLNYkd3v2WpETbPdIJ1PlATxqgB6CZyrZhZcHHv0S4fDEW 0YJtcmaRd5lApujPc3/Y0AvYmsq+ygyjxScmc+uzwpv5DZ2ev/eeJGai61Qk+tvi9oQtdZ7xu+I yxyonJq55LM2LnM45cqUaI/UiwO3vu31ZtXUPcCHnzA7WfghExYwQPK21/uGsF8r+y6iVyox09e YP9ADHfUK+iAEEkjtjabPyNIxCX0LDW31zdJofqVMJAuLmruIrnomwtcBi2u8BEp7QkOPdPCiUp JwC2B7jARVTIevU2PGTuyYF/RHfayAFUPrQZT0d55kvFeEqLHeBASDT8Vckk6UXIDbr05LoR X-Proofpoint-ORIG-GUID: k-xKes1vl8sFcVnSXseEsSJXGgc8zFRB X-Proofpoint-GUID: k-xKes1vl8sFcVnSXseEsSJXGgc8zFRB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-23_03,2025-07-23_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 priorityscore=1501 adultscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 suspectscore=0 clxscore=1015 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507230193 Content-Type: text/plain; charset="utf-8" From: Srinivas Kandagatla All the device tree nodes for audioreach dsp are duplicated across all the SoC dtsi files, Move this to a dedicated dtsi file so to remove some duplication, make it consistent across all device trees and also make it easy for new SoC's to add audio support. Signed-off-by: Srinivas Kandagatla --- .../arm64/boot/dts/qcom/audioreach-audio.dtsi | 45 +++++++++++++++++++ .../boot/dts/qcom/x1-asus-zenbook-a14.dtsi | 1 + arch/arm64/boot/dts/qcom/x1-crd.dtsi | 1 + arch/arm64/boot/dts/qcom/x1e001de-devkit.dts | 1 + .../qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 1 + .../dts/qcom/x1e80100-asus-vivobook-s15.dts | 1 + arch/arm64/boot/dts/qcom/x1e80100-audio.dtsi | 6 +++ .../dts/qcom/x1e80100-dell-xps13-9345.dts | 1 + .../dts/qcom/x1e80100-hp-omnibook-x14.dts | 1 + .../dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 1 + .../dts/qcom/x1e80100-microsoft-romulus.dtsi | 1 + arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 1 + arch/arm64/boot/dts/qcom/x1e80100.dtsi | 43 ++---------------- 13 files changed, 64 insertions(+), 40 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/audioreach-audio.dtsi create mode 100644 arch/arm64/boot/dts/qcom/x1e80100-audio.dtsi diff --git a/arch/arm64/boot/dts/qcom/audioreach-audio.dtsi b/arch/arm64/bo= ot/dts/qcom/audioreach-audio.dtsi new file mode 100644 index 000000000000..fce722579155 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/audioreach-audio.dtsi @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include + +&gpr { + compatible =3D "qcom,gpr"; + qcom,glink-channels =3D "adsp_apps"; + qcom,domain =3D ; + qcom,intents =3D <512 20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + q6apm: service@1 { + compatible =3D "qcom,q6apm"; + reg =3D ; + #sound-dai-cells =3D <0>; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible =3D "qcom,q6apm-lpass-dais"; + #sound-dai-cells =3D <1>; + }; + + q6apmdai: dais { + compatible =3D "qcom,q6apm-dais"; + }; + }; + + q6prm: service@2 { + compatible =3D "qcom,q6prm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible =3D "qcom,q6prm-lpass-clocks"; + #clock-cells =3D <2>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi b/arch/arm64= /boot/dts/qcom/x1-asus-zenbook-a14.dtsi index c771fd1d8029..1d8a75fba301 100644 --- a/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi @@ -11,6 +11,7 @@ #include #include =20 +#include "x1e80100-audio.dtsi" #include "x1e80100-pmics.dtsi" =20 / { diff --git a/arch/arm64/boot/dts/qcom/x1-crd.dtsi b/arch/arm64/boot/dts/qco= m/x1-crd.dtsi index c9f0d5052670..19b993fdd17f 100644 --- a/arch/arm64/boot/dts/qcom/x1-crd.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-crd.dtsi @@ -9,6 +9,7 @@ #include #include =20 +#include "x1e80100-audio.dtsi" #include "x1e80100-pmics.dtsi" =20 / { diff --git a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts b/arch/arm64/boot= /dts/qcom/x1e001de-devkit.dts index 2d9627e6c798..6df3ee553bc7 100644 --- a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts +++ b/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts @@ -10,6 +10,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "Qualcomm Technologies, Inc. X1E001DE Snapdragon Devkit for Win= dows"; diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/= arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi index ac1dddf27da3..cf2cf3e520fa 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -13,6 +13,7 @@ #include =20 #include "x1e80100.dtsi" +#include "x1e80100-audio.dtsi" #include "x1e80100-pmics.dtsi" =20 / { diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch= /arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index 71b2cc6c392f..82b08350da17 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -13,6 +13,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "ASUS Vivobook S 15"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-audio.dtsi b/arch/arm64/boot= /dts/qcom/x1e80100-audio.dtsi new file mode 100644 index 000000000000..e03441bb2a79 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/x1e80100-audio.dtsi @@ -0,0 +1,6 @@ +#include "audioreach-audio.dtsi" + +&q6apmdai{ + iommus =3D <&apps_smmu 0x1001 0x80>, + <&apps_smmu 0x1061 0x0>; +}; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts index fd00d1bf12e1..fb98fdc53594 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts @@ -14,6 +14,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "Dell XPS 13 9345"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index 8d2a9b7f4730..8206b6f2cf30 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -14,6 +14,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "HP Omnibook X 14"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arc= h/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts index d02f8d4f7baf..aed5554c6646 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts @@ -11,6 +11,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "Lenovo Yoga Slim 7x"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi b/arc= h/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi index 0fd8516580b2..669b95dc1666 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi @@ -11,6 +11,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { aliases { diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dt= s/qcom/x1e80100-qcp.dts index 4dfba835af6a..9e464d001343 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -10,6 +10,7 @@ =20 #include "x1e80100.dtsi" #include "x1e80100-pmics.dtsi" +#include "x1e80100-audio.dtsi" =20 / { model =3D "Qualcomm Technologies, Inc. X1E80100 QCP"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index 5e9a8fa3cf96..f3216a84137e 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include @@ -4041,6 +4040,9 @@ IPCC_MPROC_SIGNAL_GLINK_QMP label =3D "lpass"; qcom,remote-pid =3D <2>; =20 + gpr: gpr { + }; + fastrpc { compatible =3D "qcom,fastrpc"; qcom,glink-channels =3D "fastrpcglink-apps-dsp"; @@ -4090,45 +4092,6 @@ compute-cb@7 { }; }; =20 - gpr { - compatible =3D "qcom,gpr"; - qcom,glink-channels =3D "adsp_apps"; - qcom,domain =3D ; - qcom,intents =3D <512 20>; - #address-cells =3D <1>; - #size-cells =3D <0>; - - q6apm: service@1 { - compatible =3D "qcom,q6apm"; - reg =3D ; - #sound-dai-cells =3D <0>; - qcom,protection-domain =3D "avs/audio", - "msm/adsp/audio_pd"; - - q6apmbedai: bedais { - compatible =3D "qcom,q6apm-lpass-dais"; - #sound-dai-cells =3D <1>; - }; - - q6apmdai: dais { - compatible =3D "qcom,q6apm-dais"; - iommus =3D <&apps_smmu 0x1001 0x80>, - <&apps_smmu 0x1061 0x0>; - }; - }; - - q6prm: service@2 { - compatible =3D "qcom,q6prm"; - reg =3D ; - qcom,protection-domain =3D "avs/audio", - "msm/adsp/audio_pd"; - - q6prmcc: clock-controller { - compatible =3D "qcom,q6prm-lpass-clocks"; - #clock-cells =3D <2>; - }; - }; - }; }; }; =20 --=20 2.50.0