From fac777ee72f4c185537da8636f15460a891fec55 Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Tue, 14 Jan 2020 15:36:53 -0800 Subject: [PATCH] dt-bindings: Add device-tree bindings for the memory sharing driver Add the device-tree bindings for the mem-buf driver, which allows VMs to request and lend memory amongst themselves. Change-Id: I43f168aabe810fc15c3e530d64a53d1ce59ac53e --- bindings/soc/qcom/qcom,mem-buf.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bindings/soc/qcom/qcom,mem-buf.yaml diff --git a/bindings/soc/qcom/qcom,mem-buf.yaml b/bindings/soc/qcom/qcom,mem-buf.yaml new file mode 100644 index 000000000000..88fa9f248c82 --- /dev/null +++ b/bindings/soc/qcom/qcom,mem-buf.yaml @@ -0,0 +1,27 @@ +%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: + - Isaac J. Manjarres + +description: | + The memory buffer sharing driver is used for lending memory + from one virtual machine to another. + +properties: + compatible: + items: + - const: qcom,mem-buf + +required: + - compatible + +examples: + - | + qcom,mem-buf { + compatible = "qcom,mem-buf"; + };