From e617a3fe0c6f9c10da427ca0a11bcc87b157804f Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Mon, 14 Oct 2024 11:49:25 +0530 Subject: [PATCH] ARM: dts: msm: Add mem-buf device on tuna-vm Describe the properties and msgqs of the mem-buf device. Change-Id: I66e4847e8c141c917f3bda22663fc60e2634917a Signed-off-by: Vijayanand Jitta --- qcom/tuna-vm.dtsi | 20 ++++++++++++++++++++ qcom/tuna.dtsi | 1 + 2 files changed, 21 insertions(+) diff --git a/qcom/tuna-vm.dtsi b/qcom/tuna-vm.dtsi index 7d1f765b..a57acd86 100644 --- a/qcom/tuna-vm.dtsi +++ b/qcom/tuna-vm.dtsi @@ -187,6 +187,15 @@ 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>; + }; + gpiomem0 { vdevice-type = "iomem"; patch = "/soc/tlmm-vm-mem-access"; @@ -330,6 +339,17 @@ qcom,custom-bridge-size = <64>; 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"; + }; }; #include "msm-arm-smmu-tuna-vm.dtsi" diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 1a106540..00412bab 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -710,6 +710,7 @@ qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; + qcom,msgq-names = "trusted_vm"; }; cam_rsc: rsc@adc8000 {