Merge "dt-bindings: Add bindings for qmsgq gunyah transport"

This commit is contained in:
qctecmdr
2023-11-28 06:14:20 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -0,0 +1,42 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/net/qcom-qmsgq-gunyah.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Gunyah QMSGQ Transport Configuration
maintainers:
- Chris Lew <quic_clew@quicinc.com>
description: |
Configuration properties for the QMSGQ Gunyah Transport. This configuration
is to instantiate a transport for communication over vsock between primary
and secondary virtual machines on top of the Gunyah hypervisor.
properties:
compatible:
const: qcom,qmsgq-gh
qcom,master:
type: boolean
description: Specify if this device is on the primary virtual machine.
msgq-label:
$ref: '/schemas/types.yaml#/definitions/uint32'
description: The label gunyah qmsgq transport should request msgq with
from the gunyah message queue driver.
required:
- compatible
- msgq-label
additionalProperties: false
examples:
- |
qmsgq-gunyah {
compatible = "qcom,qmsgq-gh";
qcom,master;
msgq-label = <3>;
};