From 06f717115719cb32324b16f0040412322825e45a Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Mon, 25 Sep 2023 21:55:20 -0700 Subject: [PATCH] ARM: dts: msm: Add mem-buf device on PineappleVM Describe the message queues and capabilities of the mem-buf device. Change-Id: I9ff137c3cfee8d5f9e56930bf8ca9a81066e0150 Signed-off-by: Patrick Daly --- qcom/pineapple-vm.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/qcom/pineapple-vm.dtsi b/qcom/pineapple-vm.dtsi index 2b59f55a..7964a800 100644 --- a/qcom/pineapple-vm.dtsi +++ b/qcom/pineapple-vm.dtsi @@ -179,6 +179,15 @@ }; }; + 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"; @@ -190,7 +199,6 @@ allocate-base; }; }; - }; }; @@ -270,6 +278,15 @@ clock-frequency = <19200000>; }; + qcom,mem-buf { + compatible = "qcom,mem-buf"; + qcom,mem-buf-capabilities = "consumer"; + qcom,vmid = <45>; + }; + + qcom,mem-buf-msgq { + compatible = "qcom,mem-buf-msgq"; + }; }; #include "msm-arm-smmu-pineapple-vm.dtsi"