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
On 27/10/2025 06:42, Zhentao Guo via B4 Relay wrote: > 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> Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters Please order the patchset as expressed in submitting patches DT document. Or SoC maintainer profile. Best regards, Krzysztof
在 2025/10/27 21:06, Krzysztof Kozlowski 写道: > [You don't often get email from krzk@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] > > [ EXTERNAL EMAIL ] > > On 27/10/2025 06:42, Zhentao Guo via B4 Relay wrote: >> 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> > > Please use subject prefixes matching the subsystem. You can get them for > example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory > your patch is touching. For bindings, the preferred subjects are > explained here: > https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters Got it. I will revise the subject according to the doc. > Please order the patchset as expressed in submitting patches DT > document. Or SoC maintainer profile. OK, I will ensure the patchset is ordered properly in the next patch version. > > Best regards, > Krzysztof Thank you Zhentao
© 2016 - 2026 Red Hat, Inc.