From: Conor Dooley <conor@kernel.org>
To: Yassine Ouaissa <yassine.ouaissa@allegrodvt.com>
Cc: "Michael Tretter" <m.tretter@pengutronix.de>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Junhao Xie" <bigfoot@classfun.cn>,
"Aradhya Bhatia" <a-bhatia1@ti.com>,
"Rafał Miłecki" <rafal@milecki.pl>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Sebastian Fricke" <sebastian.fricke@collabora.com>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
"Gaosheng Cui" <cuigaosheng1@huawei.com>,
"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
"Joe Hattori" <joe@pf.is.s.u-tokyo.ac.jp>,
"Ricardo Ribalda" <ribalda@chromium.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [RESEND PATCH 3/5] dt-bindings: media: allegrodvt: add decoder dt-bindings for Gen3 IP
Date: Tue, 13 May 2025 15:55:20 +0100 [thread overview]
Message-ID: <20250513-earache-cesspool-6d08e2cfb73a@spud> (raw)
In-Reply-To: <20250513083609.328422-4-yassine.ouaissa@allegrodvt.com>
[-- Attachment #1: Type: text/plain, Size: 3558 bytes --]
On Tue, May 13, 2025 at 10:35:48AM +0200, Yassine Ouaissa wrote:
> Add compatible for video decoder on allegrodvt Gen 3 IP.
>
> Signed-off-by: Yassine Ouaissa <yassine.ouaissa@allegrodvt.com>
> ---
> .../bindings/media/allegrodvt,al300-vdec.yaml | 83 +++++++++++++++++++
> 1 file changed, 83 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/allegrodvt,al300-vdec.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/allegrodvt,al300-vdec.yaml b/Documentation/devicetree/bindings/media/allegrodvt,al300-vdec.yaml
> new file mode 100644
> index 000000000000..4218892d6950
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/allegrodvt,al300-vdec.yaml
> @@ -0,0 +1,83 @@
> +# 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@allegrodvt.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: allegrodvt,al300-vdec
Other than the vendor prefix, this looks mostly okay - from the
perspective of someone unaware of this type of this device.
Just some minor comments from me.
> +
> + reg:
> + items:
> + - description: The registers
The registers for what exactly?
> + - description: the MCU APB register
0x80000 is rather a large space for a single register!
> +
> + reg-names:
> + items:
> + - const: regs
> + - const: apb
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: MCU clock
> +
> + clock-names:
> + items:
> + - const: mcu_clk
s/_clk//, since that part is obvious.
> +
> + memory-region:
> + maxItems: 1
> +
> + firmware-name:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - interrupts
> + - clocks
> + - clock-names
> +
> +additionalProperties: False
> +
> +examples:
> + - |
> + axi {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + ald300@a0120000 {
The standard node name here I believe is "video-decoder".
> + compatible = "allegrodvt,al300-vdec";
> + reg = <0 0xa0120000 0 0x10000>,
> + <1 0x80000000 0 0x80000>;
Please keep things consistently in hex here please.
> + reg-names = "regs", "apb";
> + interrupts = <0 96 4>;
If this is 3 different interrupts, format as "<0>, <96>, <4>".
Otherwise, consider importing whatever header provides definitions for
these things.
> + clocks = <&mcu_clock_dec>;
> + clock-names = "mcu_clk";
> + firmware-name = "al300_vdec.fw";
> + };
> + };
> +
> +...
> --
> 2.30.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-05-13 14:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-13 8:35 [RESEND PATCH 0/5] media: Add Gen 3 IP stateful decoder driver Yassine Ouaissa
2025-05-13 8:35 ` [RESEND PATCH 1/5] media: allegro-dvt: Move the current driver to a subdirectory Yassine Ouaissa
2025-05-13 8:35 ` [RESEND PATCH 2/5] dt-bindings: Add vendor prefix for allegrodvt Yassine Ouaissa
2025-05-13 14:50 ` Conor Dooley
2025-05-13 8:35 ` [RESEND PATCH 3/5] dt-bindings: media: allegrodvt: add decoder dt-bindings for Gen3 IP Yassine Ouaissa
2025-05-13 14:55 ` Conor Dooley [this message]
2025-05-14 8:02 ` Krzysztof Kozlowski
2025-05-14 7:58 ` Krzysztof Kozlowski
2025-05-13 8:35 ` [RESEND PATCH 4/5] MAINTAINERS: Add entry for allegrodvt Gen 3 drivers Yassine Ouaissa
2025-05-14 8:03 ` Krzysztof Kozlowski
2025-05-14 11:21 ` Yassine Ouaissa
2025-05-13 8:35 ` [RESEND PATCH 5/5] media: allegro-dvt: Add Gen 3 IP stateful decoder driver Yassine Ouaissa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250513-earache-cesspool-6d08e2cfb73a@spud \
--to=conor@kernel.org \
--cc=a-bhatia1@ti.com \
--cc=bigfoot@classfun.cn \
--cc=christophe.jaillet@wanadoo.fr \
--cc=conor+dt@kernel.org \
--cc=cuigaosheng1@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=hverkuil@xs4all.nl \
--cc=joe@pf.is.s.u-tokyo.ac.jp \
--cc=kernel@pengutronix.de \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.tretter@pengutronix.de \
--cc=manivannan.sadhasivam@linaro.org \
--cc=mchehab@kernel.org \
--cc=michal.simek@amd.com \
--cc=neil.armstrong@linaro.org \
--cc=rafal@milecki.pl \
--cc=ribalda@chromium.org \
--cc=robh@kernel.org \
--cc=sebastian.fricke@collabora.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=yassine.ouaissa@allegrodvt.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.