From ea88768f27147e9b9353d60e27f5830231a52699 Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Tue, 12 Nov 2024 09:13:46 +0530 Subject: [PATCH] ARM: dts: msm: Add mem-buf device on kera-vm Describe the properties and msgqs of the mem-buf device. Change-Id: Iae109a5ae0c0b9186e0c11b4d0e3b45b5f9f9623 Signed-off-by: Vijayanand Jitta --- qcom/kera-vm.dtsi | 19 +++++++++++++++++++ qcom/kera.dtsi | 1 + 2 files changed, 20 insertions(+) diff --git a/qcom/kera-vm.dtsi b/qcom/kera-vm.dtsi index 20f77785..c28cdb69 100644 --- a/qcom/kera-vm.dtsi +++ b/qcom/kera-vm.dtsi @@ -190,6 +190,14 @@ allocate-base; }; + mem-buf-message-queue-pair { + vdevice-type = "message-queue-pair"; + generate = "/hypervisor/membuf-msgq-pair"; + message-size = <0x000000f0>; + queue-depth = <0x00000008>; + peer-default; + qcom,label = <0x0000001>; + }; }; }; @@ -254,6 +262,17 @@ qcom,support-hypervisor; }; + qcom,mem-buf { + compatible = "qcom,mem-buf"; + qcom,mem-buf-capabilities = "consumer"; + qcom,vmid = <45>; + }; + + qcom,mem-buf-msgq { + compatible = "qcom,mem-buf-msgq"; + qcom,msgq-names = "trusted_vm"; + }; + /* * QUP1 : SE0 - Secondary touch * QUP2 : SE0 - Primary touch diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index 52fdf690..20f3e073 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -564,6 +564,7 @@ qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; + qcom,msgq-names = "trusted_vm"; }; apps_rsc: rsc@17a00000 {