From 4aca53e5123a8c8ca48ed7ae5d44a09c562fb693 Mon Sep 17 00:00:00 2001 From: Po-Jung Lai Date: Fri, 17 Dec 2021 15:24:47 -0800 Subject: [PATCH] ARM: dts: msm: gunyah: Add msgq test node for kalama Add message-queue test node to kalama.dtsi and kalama-vm.dtsi to validate hypervisor message-queue functionality. Change-Id: I1efbe2087b46033d98ef187d2247d3b4c2457be2 --- qcom/kalama-vm.dtsi | 15 +++++++++++++++ qcom/kalama.dtsi | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/qcom/kalama-vm.dtsi b/qcom/kalama-vm.dtsi index 776a7d4f..bdec49b9 100644 --- a/qcom/kalama-vm.dtsi +++ b/qcom/kalama-vm.dtsi @@ -206,6 +206,15 @@ qcom,label = <0x4>; peer-default; }; + + test-msgq { + vdevice-type = "message-queue-pair"; + generate = "/hypervisor/test-msgq-pair1"; + message-size = <0xf0>; + queue-depth = <0x8>; + qcom,label = <0x4>; + peer-default; + }; }; }; @@ -365,6 +374,12 @@ interrupt-names = "qcom,qtmr-intr"; qcom,secondary; }; + + qcom,test-msgq { + compatible = "qcom,gh-msgq-test"; + gunyah-label = <4>; + affinity = <0>; + }; }; #include "msm-arm-smmu-kalama-vm.dtsi" diff --git a/qcom/kalama.dtsi b/qcom/kalama.dtsi index d93455a2..6d20568a 100644 --- a/qcom/kalama.dtsi +++ b/qcom/kalama.dtsi @@ -3369,6 +3369,12 @@ qcom,primary; }; + qcom,test-msgq { + compatible = "qcom,gh-msgq-test"; + gunyah-label = <4>; + qcom,primary; + }; + qcom,pmic_glink { compatible = "qcom,pmic-glink"; qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS";