Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 483d6086 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: Document the mem-buf capabilities property

Add documentation for the "qcom,mem-buf-capabilities" dt-binding
for the mem-buf device. This property defines the role of an
instance of a mem-buf driver on a particular Virtual Machine (VM)
as per the supplier and consumer model that the driver follows.

Change-Id: Ic20476fb5aa5e21f8b78e19a47b4f682e35e6a36
parent 841db05c
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -17,11 +17,27 @@ properties:
    items:
      - const: qcom,mem-buf

  qcom,mem-buf-capabilities:
    oneOf:
      - const: supplier
        description: Allows the mem-buf driver to supply memory to other VMs.

      - const: consumer
        description:
          Allows the mem-buf driver to request and accept memory from other VMs.

      - const: dual
        description:
          Allows the mem-buf driver to supply memory to other VMs, as well as
          request and accept memory from other VMs

required:
  - compatible
  - qcom,mem-buf-capabilities

examples:
  - |
    qcom,mem-buf {
        compatible = "qcom,mem-buf";
        qcom,mem-buf-capabilities = "supplier";
    };