From: Zhentao Guo via B4 Relay <devnull+zhentao.guo.amlogic.com@kernel.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org,
Zhentao Guo <zhentao.guo@amlogic.com>
Subject: [PATCH 2/3] dts: decoder: Support V4L2 stateless decoder dt node for S4
Date: Mon, 27 Oct 2025 13:42:38 +0800 [thread overview]
Message-ID: <20251027-b4-s4-vdec-upstream-v1-2-620401813b5d@amlogic.com> (raw)
In-Reply-To: <20251027-b4-s4-vdec-upstream-v1-0-620401813b5d@amlogic.com>
From: Zhentao Guo <zhentao.guo@amlogic.com>
Add vcodec_dec to the s4 dtsi for the V4L2 stateless decoder driver
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index 9d99ed2994df..028566f7423d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -853,5 +853,29 @@ emmc: mmc@fe08c000 {
no-sd;
status = "disabled";
};
+
+ video-codec@fe320000 {
+ compatible = "amlogic,s4-vcodec-dec";
+ reg = <0x0 0xfe320000 0x0 0x10000>,
+ <0x0 0xfe036000 0x0 0x2000>;
+ reg-names = "dosbus",
+ "dmcbus";
+ interrupts = <GIC_SPI 91 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "mailbox_0",
+ "mailbox_1",
+ "mailbox_2";
+ clocks = <&clkc_periphs CLKID_DOS>,
+ <&clkc_periphs CLKID_VDEC_SEL>,
+ <&clkc_periphs CLKID_HEVCF_SEL>;
+ clock-names = "vdec",
+ "clk_vdec_mux",
+ "clk_hevcf_mux";
+ power-domains = <&pwrc PWRC_S4_DOS_VDEC_ID>,
+ <&pwrc PWRC_S4_DOS_HEVC_ID>;
+ power-domain-names = "pwrc-vdec",
+ "pwrc-hevc";
+ };
};
};
--
2.42.0
next prev parent reply other threads:[~2025-10-27 5:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 5:42 [PATCH 0/3] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
2025-10-27 5:42 ` [PATCH 1/3] dt-bindings: vdec: Add binding document of Amlogic decoder accelerator Zhentao Guo via B4 Relay
2025-10-27 13:05 ` Krzysztof Kozlowski
2025-10-28 11:14 ` Zhentao Guo
2025-10-28 11:33 ` Krzysztof Kozlowski
2025-10-28 12:23 ` Zhentao Guo
2025-10-27 5:42 ` Zhentao Guo via B4 Relay [this message]
2025-10-27 13:06 ` [PATCH 2/3] dts: decoder: Support V4L2 stateless decoder dt node for S4 Krzysztof Kozlowski
2025-10-28 11:18 ` Zhentao Guo
2025-10-27 5:42 ` [PATCH 3/3] decoder: Add V4L2 stateless H.264 decoder driver Zhentao Guo via B4 Relay
2025-10-27 13:10 ` Krzysztof Kozlowski
2025-10-28 11:22 ` Zhentao Guo
2025-10-28 11:01 ` Neil Armstrong
2025-10-28 12:16 ` Zhentao Guo
2025-11-08 22:53 ` Martin Blumenstingl
2025-11-10 4:05 ` Zhentao Guo
2025-10-27 12:57 ` [PATCH 0/3] Add Amlogic stateless H.264 video decoder for S4 Christian Hewitt
2025-10-28 11:08 ` Zhentao Guo
2025-10-30 10:50 ` Ferass El Hafidi
2025-10-31 2:32 ` Zhentao Guo
2025-10-28 10:50 ` Neil Armstrong
2025-10-28 11:47 ` Zhentao Guo
2025-11-04 7:28 ` Christian Hewitt
2025-11-04 16:13 ` Nicolas Dufresne
2025-11-05 9:26 ` Zhentao Guo
2025-11-05 13:51 ` Nicolas Dufresne
2025-11-06 2:44 ` Zhentao Guo
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=20251027-b4-s4-vdec-upstream-v1-2-620401813b5d@amlogic.com \
--to=devnull+zhentao.guo.amlogic.com@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mchehab@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=zhentao.guo@amlogic.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).