diff mbox series

[v2,1/5] arm64: dts: qcom: sm8650: add ADSP GPR

Message ID 20231204155746.302323-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit ff28260e3d9820a22d9bf826bdf219d6efa97260
Headers show
Series [v2,1/5] arm64: dts: qcom: sm8650: add ADSP GPR | expand

Commit Message

Krzysztof Kozlowski Dec. 4, 2023, 3:57 p.m. UTC
Add the ADSP Generic Packet Router (GPR) device node as part of audio
subsystem in Qualcomm SM8650 SoC.

Cc: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Changes in v2:
1. bedais/dais order (Konrad)
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 40 ++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Comments

Bjorn Andersson Dec. 8, 2023, 2:55 p.m. UTC | #1
On Mon, 04 Dec 2023 16:57:42 +0100, Krzysztof Kozlowski wrote:
> Add the ADSP Generic Packet Router (GPR) device node as part of audio
> subsystem in Qualcomm SM8650 SoC.
> 
> 

Applied, thanks!

[1/5] arm64: dts: qcom: sm8650: add ADSP GPR
      commit: ff28260e3d9820a22d9bf826bdf219d6efa97260
[2/5] arm64: dts: qcom: sm8650: add LPASS LPI pin controller
      commit: 2d6bc13321c90217e1ffecf50a183f20c00ec3e3
[3/5] arm64: dts: qcom: sm8650: add ADSP audio codec macros
      commit: 58872a54e4a858d86301b4fb802fd60c45aad3e1
[4/5] arm64: dts: qcom: sm8650: add Soundwire controllers
      commit: 6a45a90c0c475bf6bf573c4ba89e0415506c868a
[5/5] arm64: dts: qcom: sm8650-mtp: add WSA8845 speakers
      commit: 80627a5d72b6be2652920db402fe2477f086902b

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 41dfa5e19a15..8d327f83edc8 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -4326,6 +4326,46 @@  fastrpc {
 					#address-cells = <1>;
 					#size-cells = <0>;
 				};
+
+				gpr {
+					compatible = "qcom,gpr";
+					qcom,glink-channels = "adsp_apps";
+					qcom,domain = <GPR_DOMAIN_ID_ADSP>;
+					qcom,intents = <512 20>;
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					q6apm: service@1 {
+						compatible = "qcom,q6apm";
+						reg = <GPR_APM_MODULE_IID>;
+						#sound-dai-cells = <0>;
+						qcom,protection-domain = "avs/audio",
+									 "msm/adsp/audio_pd";
+
+						q6apmbedai: bedais {
+							compatible = "qcom,q6apm-lpass-dais";
+							#sound-dai-cells = <1>;
+						};
+
+						q6apmdai: dais {
+							compatible = "qcom,q6apm-dais";
+							iommus = <&apps_smmu 0x1001 0x80>,
+								 <&apps_smmu 0x1061 0x0>;
+						};
+					};
+
+					q6prm: service@2 {
+						compatible = "qcom,q6prm";
+						reg = <GPR_PRM_MODULE_IID>;
+						qcom,protection-domain = "avs/audio",
+									 "msm/adsp/audio_pd";
+
+						q6prmcc: clock-controller {
+							compatible = "qcom,q6prm-lpass-clocks";
+							#clock-cells = <2>;
+						};
+					};
+				};
 			};
 		};