dt-bindings: qcom: Add gh-large-dmabuf-test binding

Add gh-large-dmabuf-test binding description and requirements
which include compatible, label and optional properties.

Change-Id: Ief22a3b609539ea307f289fb62e7c90b3a1284f6
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
This commit is contained in:
Georgi Djakov
2024-05-16 14:30:30 -07:00
parent 169dcdc551
commit 21e4e3bb9a

View File

@@ -0,0 +1,45 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,gh-large-dmabuf-test.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: QTI Gunyah Hypervisor Large DMA-BUF Test Driver
maintainers:
- Georgi Djakov <quic_c_gdjako@quicinc.com>
description: |
The Gunyah Hypervisor Test Driver is used to validate gunyah hypervisor
functionality. It includes test nodes for transferring large dma-bufs
between VMs.
properties:
compatible:
const: qcom,gh-large-dmabuf-test
gunyah-label:
$ref: '/schemas/types.yaml#/definitions/uint32'
description: The test driver will request interrupts with this label
from the gunyah doorbell driver.
qcom,primary:
type: boolean
description: Specify if this device is on the primary virtual machine.
required:
- compatible
additionalProperties: false
examples:
- |
Master: qcom,test-large-dmabuf {
compatible = "qcom,gh-large-dmabuf-test";
gunyah-label = <4>;
qcom,primary;
};
Client: qcom,test-large-dmabuf {
compatible = "qcom,gh-large-dmabuf-test";
gunyah-label = <4>;
};