mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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
This commit is contained in:
parent
841db05cbe
commit
483d608683
1 changed files with 16 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue