mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
bindings: Document qcom,virtio-mem device
Document current properties of the qcom,virtio-mem device. Change-Id: I210961afe6a07cdd6fe13b72413e774bad8cecb9
This commit is contained in:
35
bindings/virtio/qcom,virtio-mem.yaml
Normal file
35
bindings/virtio/qcom,virtio-mem.yaml
Normal 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>;
|
||||
};
|
||||
Reference in New Issue
Block a user