lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250214231759.119481-2-mattwmajewski@gmail.com>
Date: Fri, 14 Feb 2025 18:17:58 -0500
From: Matthew Majewski <mattwmajewski@...il.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Hans Verkuil <hverkuil@...all.nl>,
	"Dr. David Alan Gilbert" <linux@...blig.org>,
	Neil Armstrong <neil.armstrong@...aro.org>,
	"Uwe Kleine-Konig" <u.kleine-koenig@...libre.com>,
	Andrzej Pietrasiewicz <andrzejtp2010@...il.com>
Cc: devicetree@...r.kernel.org,
	linux-media@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Matthew Majewski <mattwmajewski@...il.com>
Subject: [PATCH v2 1/2] media: dt-bindings: Add dt bindings for m2m-deinterlace device

Create a new yaml schema file to describe the device tree bindings for
generic m2m-deinterlace device.

This device is supported on any hardware that provides a MEM_TO_MEM
capable dma channel with interleaved trasfer support. Device tree
bindings are for providing appropriate dma channel to device.

Signed-off-by: Matthew Majewski <mattwmajewski@...il.com>
---
 .../bindings/media/m2m-deinterlace.yaml       | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/m2m-deinterlace.yaml

diff --git a/Documentation/devicetree/bindings/media/m2m-deinterlace.yaml b/Documentation/devicetree/bindings/media/m2m-deinterlace.yaml
new file mode 100644
index 000000000000..e39599d7d07b
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/m2m-deinterlace.yaml
@@ -0,0 +1,44 @@
+# 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@...nel.org>
+
+description: |-
+  A generic memory2memory device for deinterlacing video using dmaengine. It can
+  convert between interlaced buffer formats and can convert interlaced to
+  progressive using a simple line-doubling algorithm. This device can be used on
+  any hardware that provides a MEM_TO_MEM capable dma controller that supports
+  interleaved transfers.
+
+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>;
+    };
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ