From nobody Mon Oct 6 22:52:28 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 05D1E266580; Wed, 16 Jul 2025 14:56:40 +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=1752677801; cv=none; b=DvQinmEQbHxCifIC2s0FrCKD1G0F6SB7fnspap3XItNIjxv/jriS7GB5ulAjdclayXWCGZI5074Xd6Oq++W/59CgWE1aZUxj31yOuMo8ZxGgzkKKBgumbTjjGcjk7X85MIhEDbMNTfoxMCrvtABghenFDh0lBiwe5MPdUo9oW48= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752677801; c=relaxed/simple; bh=Kb8frG6Pdjyy/YwhO2Yagj0R84wptlVXEDVwPoGU/1k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iLNdk4zmX7KFMyN61srOsC/T6a6dlx8gXba9mW44tFH1eLYbie8yxOWoXwcsP4Lr7pcl4h7jw6fAfyaJKexzm0X7odP2pZU23zLJi/KWwHdG99Opn1DIdUMvm/MDeRXovSqBY+BuokUJv2eFfU/JzcsEyUvi5gV/oVW3fjEedJE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DQmKPlXF; 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="DQmKPlXF" Received: by smtp.kernel.org (Postfix) with ESMTPS id 97095C4CEEB; Wed, 16 Jul 2025 14:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752677800; bh=Kb8frG6Pdjyy/YwhO2Yagj0R84wptlVXEDVwPoGU/1k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DQmKPlXFCPW7rSpC6ULjqDltm1121vBqdpShI1iDpr50eitygoBLOhyhijhxdmHPe 8bl72blW7Csr5+7LKz47gRALfnCSCElE7kC41zN8wPlpaqAHL1St0ZZPPOjSrykvEu WnVZ8OGphXR7dYLNAIUopMgpTmfrGHFV2lkh7gdBDdxh7V/E52QmjfllrG20YRxMch D5OAENBn56Pdl+t4QnyAgdCcMnGZLfiW7nyeGj8OrRT4DVCIM5g6GQTgyJaWkohJR+ KH+BKXOWBSxDpR11f86sFJjN1hKBpCj0o0SvFjM+wVJojjegpVWnEWTfu3veT+VO8k 9jeoSMB6LZyeA== 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 8DB32C83F34; Wed, 16 Jul 2025 14:56:40 +0000 (UTC) From: Yassine Ouaissa via B4 Relay Date: Wed, 16 Jul 2025 14:55:51 +0000 Subject: [PATCH v4 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: <20250716-allegro_dvt_al300_dec_driver-v4-2-f87c01c9f7b5@allegrodvt.com> References: <20250716-allegro_dvt_al300_dec_driver-v4-0-f87c01c9f7b5@allegrodvt.com> In-Reply-To: <20250716-allegro_dvt_al300_dec_driver-v4-0-f87c01c9f7b5@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, Conor Dooley X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3356; i=yassine.ouaissa@allegrodvt.com; h=from:subject:message-id; bh=5e8tPrwZsOOUYFBUcGUvquRWTxC2NTtFi9qPyuosV/g=; b=owGbwMvMwCV2oHftXqU9jLMZT6slMWSU712qlTc7JtrbKCHTPH01B78Xg5LVulfnj7xtDnvfl /FyS396RykLgxgXg6yYIssHg6XPvrDV+MxoYZsPM4eVCWQIAxenAEyk/BEjQ4v1RJu9RocbVlp1 PPHZbuX8OiR9YceXNae+e2rOPBq8/jYjwxX1yiI/mSl7Xx0TrsjYGO9rNlFIsn3NWs3nM2UMJm0 PYwEA 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. Acked-by: Conor Dooley Signed-off-by: Yassine Ouaissa --- .../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 2cea337bd426f203a8dd8f5f2689f8091137175e..80d3ce5f74903acb6f51ff11a3d= 04896d21b0afc 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