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>; + };