From eb791d346ba6e8993e165ceaba2d0282adf709a1 Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Mon, 14 Oct 2024 12:31:09 +0530 Subject: [PATCH] ARM: dts: msm: Add mem-buf device on oemvm Describe the properties and msgqs of the mem-buf device. Change-Id: Ie05f273fd3747d4bf7a071ad5addae285ab612b4 Signed-off-by: Vijayanand Jitta --- qcom/tuna-oemvm.dtsi | 19 +++++++++++++++++++ qcom/tuna.dtsi | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/qcom/tuna-oemvm.dtsi b/qcom/tuna-oemvm.dtsi index 3bbe6c32..6b8f899a 100644 --- a/qcom/tuna-oemvm.dtsi +++ b/qcom/tuna-oemvm.dtsi @@ -163,6 +163,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 = <0x000000C>; + }; }; }; @@ -206,6 +214,17 @@ clock-frequency = <19200000>; }; + qcom,mem-buf { + compatible = "qcom,mem-buf"; + qcom,mem-buf-capabilities = "consumer"; + qcom,vmid = <49>; + }; + + qcom,mem-buf-msgq { + compatible = "qcom,mem-buf-msgq"; + qcom,msgq-names = "oem_vm"; + }; + qcom_smcinvoke { compatible = "qcom,smcinvoke"; }; diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 00412bab..028f99f5 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -710,7 +710,7 @@ qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; - qcom,msgq-names = "trusted_vm"; + qcom,msgq-names = "trusted_vm", "oem_vm"; }; cam_rsc: rsc@adc8000 {