ARM: dts: msm: Enable virtio-mem device for kera-vm
Describe the properties of the memory region virtio-mem supports. Also reserve the IPA space for dmabuf buffers. Change-Id: Ibc2876b12819d6dc4bda4f3839fd89bff49dc97d Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
This commit is contained in:
@@ -265,14 +265,27 @@
|
|||||||
qcom,mem-buf {
|
qcom,mem-buf {
|
||||||
compatible = "qcom,mem-buf";
|
compatible = "qcom,mem-buf";
|
||||||
qcom,mem-buf-capabilities = "consumer";
|
qcom,mem-buf-capabilities = "consumer";
|
||||||
|
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
|
||||||
|
qcom,dmabuf-ipa-size = <0x1 0x00000000>; /* 4GB IPA space for dmabuf */
|
||||||
qcom,vmid = <45>;
|
qcom,vmid = <45>;
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,mem-buf-msgq {
|
mem_buf_msgq: qcom,mem-buf-msgq {
|
||||||
compatible = "qcom,mem-buf-msgq";
|
compatible = "qcom,mem-buf-msgq";
|
||||||
qcom,msgq-names = "trusted_vm";
|
qcom,msgq-names = "trusted_vm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtio_mem_device {
|
||||||
|
compatible = "qcom,virtio-mem";
|
||||||
|
depends-on-supply = <&mem_buf_msgq>;
|
||||||
|
/* Must be memory_block_size_bytes() aligned */
|
||||||
|
qcom,max-size = <0x0 0x18000000>;
|
||||||
|
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
|
||||||
|
qcom,block-size = <0x400000>;
|
||||||
|
qcom,initial-movable-zone-size = <0x2000000>;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* QUP1 : SE0 - Secondary touch
|
* QUP1 : SE0 - Secondary touch
|
||||||
* QUP2 : SE0 - Primary touch
|
* QUP2 : SE0 - Primary touch
|
||||||
|
|||||||
Reference in New Issue
Block a user