new file mode 100644
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/m2m-deinterlace.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: M2M Deinterlacer
+
+maintainers:
+ - Mauro Carvalho Chehab <mchehab@kernel.org>
+
+description: |
+ A generic memory2memory device for deinterlacing video
+ using dmaengine.
+
+properties:
+ compatible:
+ const: m2m-deinterlace
+
+ dma-names:
+ items:
+ - const: rxtx
+
+ dmas:
+ items:
+ - description: mem-to-mem capable DMA channel
+
+required:
+ - compatible
+ - dma-names
+ - dmas
+
+additionalProperties: false
+
+examples:
+ - |
+ m2m-deinterlace {
+ compatible = "m2m-deinterlace";
+ dma-names = "rxtx";
+ dmas = <&edma 20 0>;
+ };
Create a new yaml schema file to describe the device tree bindings for the generic m2m-deinterlace driver. Signed-off-by: Matthew Majewski <mattwmajewski@gmail.com> --- .../bindings/media/m2m-deinterlace.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/m2m-deinterlace.yaml