From 21e4e3bb9af3c46ec4966fe5d73d96cc8757a0dc Mon Sep 17 00:00:00 2001 From: Georgi Djakov Date: Thu, 16 May 2024 14:30:30 -0700 Subject: [PATCH] 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 --- .../soc/qcom/qcom,gh-large-dmabuf-test.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bindings/soc/qcom/qcom,gh-large-dmabuf-test.yaml diff --git a/bindings/soc/qcom/qcom,gh-large-dmabuf-test.yaml b/bindings/soc/qcom/qcom,gh-large-dmabuf-test.yaml new file mode 100644 index 00000000..c3f7bdf5 --- /dev/null +++ b/bindings/soc/qcom/qcom,gh-large-dmabuf-test.yaml @@ -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 + +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>; + };