From 062d9202aaa97b0adf2cc8b2513e4a5f7e4315ae Mon Sep 17 00:00:00 2001 From: Pranav Mahesh Phansalkar Date: Thu, 24 Oct 2024 16:59:33 +0530 Subject: [PATCH] ARM: dts: msm: Add nodes for qmsgq gunyah on tuna Add the device nodes on tuna oemvm and tuivm to enable qmsgq socket communication over gunyah message queues. Change-Id: I42be6dabb313e914691945521962cff53f969a02 Signed-off-by: Pranav Mahesh Phansalkar --- qcom/tuna-oemvm.dtsi | 14 ++++++++++++++ qcom/tuna-vm.dtsi | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/qcom/tuna-oemvm.dtsi b/qcom/tuna-oemvm.dtsi index bdd5e6a1..65a85567 100644 --- a/qcom/tuna-oemvm.dtsi +++ b/qcom/tuna-oemvm.dtsi @@ -214,6 +214,15 @@ qcom,label = <0xe>; peer-default; }; + + msgqsock-msgq-pair { + vdevice-type = "message-queue-pair"; + generate = "/hypervisor/msgqsock-msgq-pair"; + message-size = <0xf0>; + queue-depth = <0x8>; + peer = "vm-name:qcom,trustedvm"; + qcom,label = <0x3>; + }; }; }; @@ -317,6 +326,11 @@ gunyah-label = <8>; }; + qmsgq-gunyah { + compatible = "qcom,qmsgq-gh"; + msgq-label = <3>; + }; + qtee_shmbridge { compatible = "qcom,tee-shared-memory-bridge"; qcom,custom-bridge-size = <512>; diff --git a/qcom/tuna-vm.dtsi b/qcom/tuna-vm.dtsi index ded612a5..342a226e 100644 --- a/qcom/tuna-vm.dtsi +++ b/qcom/tuna-vm.dtsi @@ -300,6 +300,16 @@ allocate-base; }; }; + + msgqsock-msgq { + vdevice-type = "message-queue-pair"; + generate = "/hypervisor/msgqsock-msgq-pair"; + message-size = <0xf0>; + queue-depth = <0x8>; + peer = "vm-name:qcom,oemvm"; + qcom,label = <0x3>; + }; + }; }; @@ -445,6 +455,11 @@ compatible = "smmu-proxy-receiver"; }; + qmsgq-gunyah { + compatible = "qcom,qmsgq-gh"; + msgq-label = <3>; + }; + qti,smmu-proxy-camera-cb { compatible = "smmu-proxy-cb"; qti,cb-id = ;