Merge "dt-bindings: Add qcom,msgq-names property to qcom,mem-buf-msgq"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
f36143bfc4
36
bindings/soc/qcom/qcom,mem-buf-msgq.yaml
Normal file
36
bindings/soc/qcom/qcom,mem-buf-msgq.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf-msgq.yaml#"
|
||||||
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
|
title: Qualcomm Technologies, Inc. Memory Buffer Sharing Msgq driver
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Chris Goldsworthy
|
||||||
|
|
||||||
|
description: |
|
||||||
|
Provides inter-VM message transfer services to the qcom,mem-buf driver
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
items:
|
||||||
|
- const: qcom,mem-buf-msgq
|
||||||
|
|
||||||
|
qcom,msgq-names:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/string-array
|
||||||
|
description:
|
||||||
|
A list of msgqs this device is able to communicate over.
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- qcom,msgq-names
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
qcom,mem-buf-msgq {
|
||||||
|
compatible = "qcom,mem-buf-msgq";
|
||||||
|
qcom,msgq-names = "trusted_vm", "oem_vm";
|
||||||
|
};
|
@@ -4,7 +4,7 @@
|
|||||||
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf.yaml#"
|
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf.yaml#"
|
||||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
title: Qualcomm Technologies, Inc. Memory Buffer Sharing binding
|
title: Qualcomm Technologies, Inc. Memory Buffer Sharing Driver
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chris Goldsworthy
|
- Chris Goldsworthy
|
||||||
@@ -18,9 +18,12 @@ properties:
|
|||||||
items:
|
items:
|
||||||
- const: qcom,mem-buf
|
- const: qcom,mem-buf
|
||||||
qcom,vmid:
|
qcom,vmid:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/uint32'
|
||||||
description: integer ID of the current virtual machine.
|
description: integer ID of the current virtual machine.
|
||||||
|
|
||||||
qcom,mem-buf-capabilities:
|
qcom,mem-buf-capabilities:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/string'
|
||||||
|
description: One of supplier, consumer, or dual.
|
||||||
oneOf:
|
oneOf:
|
||||||
- const: supplier
|
- const: supplier
|
||||||
description:
|
description:
|
||||||
@@ -39,6 +42,8 @@ properties:
|
|||||||
remote allocation requests, as well as request and accept memory
|
remote allocation requests, as well as request and accept memory
|
||||||
from other VMs
|
from other VMs
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- qcom,mem-buf-capabilities
|
- qcom,mem-buf-capabilities
|
||||||
@@ -49,14 +54,3 @@ examples:
|
|||||||
compatible = "qcom,mem-buf";
|
compatible = "qcom,mem-buf";
|
||||||
qcom,mem-buf-capabilities = "supplier";
|
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
|
|
||||||
|
Reference in New Issue
Block a user