# 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";
    };
