From nobody Fri Oct 10 02:48:21 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E674A295520; Mon, 16 Jun 2025 13:12:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750079552; cv=none; b=NwVCb0B7h1PJsfd1ETWxSz7+5VeLA7ZR2J62xbRuWUGOH1BllfktZyfvbDntyiU4Br7Lsu2ZT+YkweFF7H9rpl80VeNZkqe/q7RM6sZAIDn+KVYI1r4U5PjfBiuCDVCcEvoaBVckqSJc0tlyRS1mB5yyt0nYWg0X1qfLnj/grN4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750079552; c=relaxed/simple; bh=1yKsFqTOtYKs6CtFPkdUWGMSnxi9wcLfAeW5U77+sCc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O41CLF29qo7HrGXnRKPj8hip94L+vIEKktXcFCm0Z6okfmRamxTDI7iLFezxcGioTNHe4hNxnXrof8qZsgm5wWzFgtZgcKJYIj7PdFZ+vyRhVrwYrf3PisNQOBAPR/9IUN2FLIOr3rkRMJoc/rJovoXCTP0tFlu4/BKLgaW2vI8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ruBYRKEn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ruBYRKEn" Received: by smtp.kernel.org (Postfix) with ESMTPS id 875D6C4AF0D; Mon, 16 Jun 2025 13:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750079551; bh=1yKsFqTOtYKs6CtFPkdUWGMSnxi9wcLfAeW5U77+sCc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ruBYRKEnLCKUVyumgFG+Pqt85TsActo21WnbtkKzJYaiAPcxiXD5RUx+uUi7mRf5x WaO3jzBg+TubvZ18HNpcv8OP+HDOBvO0+RkSrJd1gm2+9RAXzPCbLzU2mlMqtzhJ3J hLT5OydDK6+J45wV/wW3WNkSsh7HLUtB/T5ANMTRz/jq/twrQ9W03nTleLbd8Zirip mPL6LNp/GsvHYtRDxbUJ1SzTqux33ZyUO6cIZ5VEEHfZ8H81DD+wcZBcqOBoilG0dD b5oNOoypE/2fVqQYZYd/yfSra5QOdHQJ4JQaB/VLjPePDmFSXyDI+uQxEENIRdQY1w IFktH/nsuR33g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78203C71136; Mon, 16 Jun 2025 13:12:31 +0000 (UTC) From: Yassine Ouaissa via B4 Relay Date: Mon, 16 Jun 2025 13:12:13 +0000 Subject: [PATCH v3 2/4] dt-bindings: media: allegro: Add al300 decoder IPs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250616-allegro_dvt_al300_dec_driver-v3-2-7d746cb9e5f9@allegrodvt.com> References: <20250616-allegro_dvt_al300_dec_driver-v3-0-7d746cb9e5f9@allegrodvt.com> In-Reply-To: <20250616-allegro_dvt_al300_dec_driver-v3-0-7d746cb9e5f9@allegrodvt.com> To: Mauro Carvalho Chehab , Michael Tretter , Pengutronix Kernel Team , Michal Simek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yassine OUAISSA , Nicolas Dufresne Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3303; i=yassine.ouaissa@allegrodvt.com; h=from:subject:message-id; bh=au2dnE7tEVR437ncnXvLO1cFwQ0gkTeQn7UoptUPeqc=; b=owGbwMvMwCV2oHftXqU9jLMZT6slMWQESNiEvfnJt8DhpcmnI3fbj1783LzSTNS+4KziZM3U+ qwrSUeSOkpZGMS4GGTFFFk+GCx99oWtxmdGC9t8mDmsTCBDGLg4BWAit54x/C9+nhwZffz+m3uz a0VETnAFWN2qSy+032Ig5vzbcOe8D6sY/umUcrhN29vf5/zLdrd064r+Gu9Ove+c+2MW1fxmvm6 6hB0A X-Developer-Key: i=yassine.ouaissa@allegrodvt.com; a=openpgp; fpr=B0CE218FC8E89064DAED6179042F935CFB3AD0CC X-Endpoint-Received: by B4 Relay for yassine.ouaissa@allegrodvt.com/default with auth_id=423 X-Original-From: Yassine Ouaissa Reply-To: yassine.ouaissa@allegrodvt.com From: Yassine Ouaissa Add a schema for the allegro gen3 video decoder. Signed-off-by: Yassine Ouaissa Acked-by: Conor Dooley --- .../bindings/media/allegro,al300-vdec.yaml | 76 ++++++++++++++++++= ++++ MAINTAINERS | 2 + 2 files changed, 78 insertions(+) diff --git a/Documentation/devicetree/bindings/media/allegro,al300-vdec.yam= l b/Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml new file mode 100644 index 0000000000000000000000000000000000000000..12e86c306d5578d298ad03a6d59= 593dd1ddcff9e --- /dev/null +++ b/Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml @@ -0,0 +1,76 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/allegro,al300-vdec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allegro DVT Video IP Decoder Gen 3 + +maintainers: + - Yassine OUAISSA + +description: + The al300-vdec represents the gen 3 of Allegro DVT IP video + 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 + + reg-names: + items: + - const: top + - const: apb + + interrupts: + maxItems: 1 + + clocks: + description: MCU core clock + maxItems: 1 + + memory-region: + maxItems: 1 + + firmware-name: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - clocks + +additionalProperties: False + +examples: + - | + #include + + axi { + #address-cells =3D <2>; + #size-cells =3D <2>; + + video-decoder@a0120000 { + compatible =3D "allegro,al300-vdec"; + reg =3D <0x00 0xa0120000 0x00 0x10000>, /*VDEC_TOP*/ + <0x01 0x80000000 0x00 0x8000>; /*MCU_APB*/ + reg-names =3D "top", "apb"; + interrupts =3D ; + clocks =3D <&mcu_core_clk>; + memory-region =3D <&vdec_mem>; + firmware-name =3D "al300_vdec.fw"; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 714016079537ce3318dd7c7cd05b6aaf35256e26..b1205e3065d2a854c039431637d= 446d4a15921c6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -816,7 +816,9 @@ M: Michael Tretter R: Pengutronix Kernel Team L: linux-media@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/media/allegro,al300-vdec.yaml F: Documentation/devicetree/bindings/media/allegro,al5e.yaml +F: drivers/media/platform/allegro-dvt/al300 F: drivers/media/platform/allegro-dvt/zynqmp =20 ALLIED VISION ALVIUM CAMERA DRIVER --=20 2.30.2