[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250523134207.68481-3-yassine.ouaissa@allegrodvt.com>
Date: Fri, 23 May 2025 15:41:47 +0200
From: Yassine Ouaissa <yassine.ouaissa@...egrodvt.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>,
Michael Tretter <m.tretter@...gutronix.de>,
Yassine OUAISSA <yassine.ouaissa@...egrodvt.com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Michal Simek <michal.simek@....com>,
Heiko Stuebner <heiko@...ech.de>,
Neil Armstrong <neil.armstrong@...aro.org>,
Junhao Xie <bigfoot@...ssfun.cn>,
Rafał Miłecki <rafal@...ecki.pl>,
Kever Yang <kever.yang@...k-chips.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Hans Verkuil <hverkuil@...all.nl>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Sebastian Fricke <sebastian.fricke@...labora.com>,
Gaosheng Cui <cuigaosheng1@...wei.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
Joe Hattori <joe@...is.s.u-tokyo.ac.jp>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Ricardo Ribalda <ribalda@...omium.org>,
linux-media@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 2/5] dt-bindings: media: allegro-dvt: add decoder dt-bindings for Gen3 IP
Add compatible for video decoder on allegrodvt Gen 3 IP.
Signed-off-by: Yassine Ouaissa <yassine.ouaissa@...egrodvt.com>
---
.../bindings/media/allegro,al300-vdec.yaml | 75 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 76 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml
diff --git a/Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml b/Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml
new file mode 100644
index 000000000000..e853e7634c4f
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/allegrodvt,al300-vdec.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allegro DVT Video IP Decoder Gen 3
+
+maintainers:
+ - Yassine OUAISSA <yassine.ouaissa@...egrodvt.com>
+
+description:
+ The al300-vdec represents the latest generation of Allegro DVT IP decoding
+ technology, offering significant advancements over its predecessors.
+ This new decoder features enhanced processing capabilities with improved
+ throughput and reduced latency.
+
+ Communication between the host driver software and the MCU is implemented
+ through a specialized mailbox interface mechanism. This mailbox system
+ provides a structured channel for exchanging commands, parameters, and
+ status information between the host CPU and the MCU controlling the codec
+ engines.
+
+properties:
+ compatible:
+ const: allegro,al300-vdec
+
+ reg:
+ maxItems: 2
+ minItems: 2
+
+ reg-names:
+ items:
+ - const: regs
+ - const: apb
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ memory-region:
+ maxItems: 1
+
+ firmware-name:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - interrupts
+ - clocks
+
+additionalProperties: False
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ axi {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ video-decoder@...20000 {
+ compatible = "allegro,al300-vdec";
+ reg = <0x00 0xa0120000 0x00 0x10000>,
+ <0x01 0x80000000 0x00 0x8000>;
+ reg-names = "regs", "apb";
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mcu_core_clk>;
+ firmware-name = "al300_vdec.fw";
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index d81d2756cb2e..e59011a36e6b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -806,6 +806,7 @@ R: Pengutronix Kernel Team <kernel@...gutronix.de>
L: linux-media@...r.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/media/allegro,al5e.yaml
+F: Documentation/devicetree/bindings/media/allegrodvt,al300-vdec.yaml
F: drivers/media/platform/allegro-dvt/zynqmp
ALLIED VISION ALVIUM CAMERA DRIVER
--
2.30.2
Powered by blists - more mailing lists