bindings: Document qcom,virtio-mem device

Document current properties of the qcom,virtio-mem device.

Change-Id: I210961afe6a07cdd6fe13b72413e774bad8cecb9
This commit is contained in:
Patrick Daly
2022-06-28 22:04:11 -07:00
parent ff8d694d04
commit 247c7f20b5

View File

@@ -0,0 +1,35 @@
%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,secure-buffer.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qualcomm Technologies, Inc. Virtio-Mem bindings
description: |
QCOM virtio mem driver supports Guest initiated memory hotplug operations
which transfer memory from Host to Guest.
properties:
compatible:
items:
- const: qcom,virtio-mem
reg:
description:
Physical address and size of hotpluggable region. Must be aligned
to memory_block_size_bytes() - 128 Mb on arm64.
qcom,block_size:
description:
Minimum transfer size in bytes. Should be multiple of PAGE_SIZE.
required:
- compatible
- qcom,block-size
example:
virtio_mem_device {
compatible = "qcom,virtio-mem";
reg = <0x60000000 0x10000000>;
qcom,block_size = <0x400000>;
};