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 <quic_vjitta@quicinc.com>
This commit is contained in:
Vijayanand Jitta
2024-10-14 11:49:25 +05:30
parent 689ef8fa7f
commit e617a3fe0c
2 changed files with 21 additions and 0 deletions

View File

@@ -187,6 +187,15 @@
allocate-base; 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 { gpiomem0 {
vdevice-type = "iomem"; vdevice-type = "iomem";
patch = "/soc/tlmm-vm-mem-access"; patch = "/soc/tlmm-vm-mem-access";
@@ -330,6 +339,17 @@
qcom,custom-bridge-size = <64>; qcom,custom-bridge-size = <64>;
qcom,support-hypervisor; 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" #include "msm-arm-smmu-tuna-vm.dtsi"

View File

@@ -710,6 +710,7 @@
qcom,mem-buf-msgq { qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq"; compatible = "qcom,mem-buf-msgq";
qcom,msgq-names = "trusted_vm";
}; };
cam_rsc: rsc@adc8000 { cam_rsc: rsc@adc8000 {