Skip to content

Commit 09c3a47

Browse files
mohsRafiKomal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: qcs6490-audioreach: Add gpr node
Add GPR(Generic Pack router) node along with APM(Audio Process Manager) and PRM(Proxy resource Manager) audio services. Co-developed-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Link: https://lore.kernel.org/linux-arm-msm/20250527111227.2318021-2-quic_pkumpatl@quicinc.com/ Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
1 parent e2df32b commit 09c3a47

2 files changed

Lines changed: 54 additions & 1 deletion

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* qcs6490 device tree source for Audioreach Solution.
4+
* This file will handle the common audio device tree nodes.
5+
*
6+
* Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
7+
*/
8+
9+
#include <dt-bindings/clock/qcom,lpass-sc7280.h>
10+
#include <dt-bindings/soc/qcom,gpr.h>
11+
#include <dt-bindings/sound/qcom,q6afe.h>
12+
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
13+
14+
&remoteproc_adsp_glink {
15+
/delete-node/ apr;
16+
17+
gpr {
18+
compatible = "qcom,gpr";
19+
qcom,glink-channels = "adsp_apps";
20+
qcom,domain = <GPR_DOMAIN_ID_ADSP>;
21+
qcom,intents = <512 20>;
22+
#address-cells = <1>;
23+
#size-cells = <0>;
24+
25+
q6apm: service@1 {
26+
compatible = "qcom,q6apm";
27+
reg = <GPR_APM_MODULE_IID>;
28+
#sound-dai-cells = <0>;
29+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
30+
31+
q6apmdai: dais {
32+
compatible = "qcom,q6apm-dais";
33+
iommus = <&apps_smmu 0x1801 0x0>;
34+
};
35+
36+
q6apmbedai: bedais {
37+
compatible = "qcom,q6apm-lpass-dais";
38+
#sound-dai-cells = <1>;
39+
};
40+
};
41+
42+
q6prm: service@2 {
43+
compatible = "qcom,q6prm";
44+
reg = <GPR_PRM_MODULE_IID>;
45+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
46+
47+
q6prmcc: clock-controller {
48+
compatible = "qcom,q6prm-lpass-clocks";
49+
#clock-cells = <2>;
50+
};
51+
};
52+
};
53+
};

arch/arm64/boot/dts/qcom/sc7280.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3814,7 +3814,7 @@
38143814

38153815
status = "disabled";
38163816

3817-
glink-edge {
3817+
remoteproc_adsp_glink: glink-edge {
38183818
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
38193819
IPCC_MPROC_SIGNAL_GLINK_QMP
38203820
IRQ_TYPE_EDGE_RISING>;

0 commit comments

Comments
 (0)