[PATCH 3/4] uio: introduce devicetree bindings for uio_dmem_genirq

From: Jan Viktorin
Date: Tue May 17 2016 - 05:32:40 EST


Signed-off-by: Jan Viktorin <viktorin@xxxxxxxxxxxxxx>
---
.../devicetree/bindings/uio/uio_dmem_genirq.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/uio/uio_dmem_genirq.txt

diff --git a/Documentation/devicetree/bindings/uio/uio_dmem_genirq.txt b/Documentation/devicetree/bindings/uio/uio_dmem_genirq.txt
new file mode 100644
index 0000000..5416f71
--- /dev/null
+++ b/Documentation/devicetree/bindings/uio/uio_dmem_genirq.txt
@@ -0,0 +1,16 @@
+UIO device for dynamic memory allocation
+----------------------------------------
+
+When binding the uio_dmem_genirq via the device tree by setting
+the of_id from command line, the following OF properties are
+used for initialization:
+
+- uio,number-of-dynamic-regions
+
+ Determines the number of dynamically allocated memory regions
+ for the device.
+
+- uio,dynamic-regions-sizes
+
+ Sizes of regions to be allocated. It is expected to contain
+ at least uio,number-of-dynamic-regions sizes.
--
2.8.0