Dma-Buf-Heaps bindings snapshot from msm-6.1 branch commit 0285b5bf8b6f ("Merge "ARM: dts: msm: Update proxy device settings""). Change-Id: Ia18e0e612b848ce4ad7bb4000ca35f1a7dea5ec7 Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf.yaml#"
|
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
|
|
|
title: Qualcomm Technologies, Inc. Memory Buffer Sharing binding
|
|
|
|
maintainers:
|
|
- Chris Goldsworthy
|
|
|
|
description: |
|
|
The memory buffer sharing driver is used for lending memory
|
|
from one virtual machine to another.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: qcom,mem-buf
|
|
qcom,vmid:
|
|
description: integer ID of the current virtual machine.
|
|
|
|
qcom,mem-buf-capabilities:
|
|
oneOf:
|
|
- const: supplier
|
|
description:
|
|
Allows the mem-buf driver to supply memory to other VMs through
|
|
remote allocation requests.
|
|
|
|
- const: consumer
|
|
description:
|
|
Allows the mem-buf driver to request and accept memory from
|
|
other VMs. VMs with only this capability cannot satisfy remote
|
|
allocation requests.
|
|
|
|
- const: dual
|
|
description:
|
|
Allows the mem-buf driver to supply memory to other VMs through
|
|
remote allocation requests, as well as request and accept memory
|
|
from other VMs
|
|
|
|
required:
|
|
- compatible
|
|
- qcom,mem-buf-capabilities
|
|
|
|
examples:
|
|
- |
|
|
qcom,mem-buf {
|
|
compatible = "qcom,mem-buf";
|
|
qcom,mem-buf-capabilities = "supplier";
|
|
};
|
|
|
|
description: |
|
|
Provides inter-VM message transfer services to the qcom,mem-buf driver
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: qcom,mem-buf-msgq
|
|
|
|
required:
|
|
- compatible
|