From nobody Mon Feb 9 17:36:09 2026 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 201703B8D56; Wed, 21 Jan 2026 10:31:19 +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=1768991480; cv=none; b=nYWmpUKBDfctpBS7CdFAjks30N/pJxmIGwWLYJKDIG+ot+BjQ8gPlUMtYDLZzidN6dM5X/kg95PXb91hylccZxdMxKJYpGt21/ck+FAWkdQPXYMqn+jZDy2IvJGy4nfjbaEv/BToL4xbZz6DUqN/k/ntd/4dBz66ImIzbym40BU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768991480; c=relaxed/simple; bh=Zy41UwtVc78Y7hlHNkNvuMf7hnbnIw6ZTXc0eFogMko=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mQow2z2JEAe8EpMkT5G0nNKQmm64xtgl7HKlJmUdbpeHL+y3oaIBl9/561wiMJc0m869yJfzHZYL29uNJSM5xfV2VUCcX4KV2Fd1oENHD7e7Q9tQEZpKQB/w9nisqmRtyhnqB8QyA9ZI1N8DwhtQNYYJnUSMhP1QJSXD53Q+tPQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FCMwyh1o; 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="FCMwyh1o" Received: by smtp.kernel.org (Postfix) with ESMTPS id D1E3BC19425; Wed, 21 Jan 2026 10:31:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768991478; bh=Zy41UwtVc78Y7hlHNkNvuMf7hnbnIw6ZTXc0eFogMko=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FCMwyh1o7SWaoHVIGii+6tVQpFDHAxDN8dx2u4A6PXKYNbzewqIj6RxYq8LYMsbbf 1wD5u37qIFYvLKXmWEoeoSpo+CsjuColYqF0b9clu/24KJg5JlBkchVGfo1i7KNz8M SCophZVXnXCfPn20P2mKu8t3NCCxdxOQFSWfhW1TLCkvCIdioJriHwFwOHiKDLyyFG x1kPvbeg3tkgrPMDF1EL/ple/BTPc474tnkmh4RDNMKl3V5E2XKsMbN9rKQK39CJQJ NWke5z/MYK7QH4qOy5p1wsXD1D9w9HX4C63tAae8LyR2Ot3xRzPZiJVxiCHC8An/zV NGt2FIWpF5i1w== 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 CA5F3C44501; Wed, 21 Jan 2026 10:31:18 +0000 (UTC) From: Zhentao Guo via B4 Relay Date: Wed, 21 Jan 2026 18:30:41 +0800 Subject: [PATCH RFC v3 3/4] arm64: dts: amlogic: Add video decoder driver support for S4 SOCs 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: <20260121-b4-s4-vdec-upstream-v3-3-4496aec3d79e@amlogic.com> References: <20260121-b4-s4-vdec-upstream-v3-0-4496aec3d79e@amlogic.com> In-Reply-To: <20260121-b4-s4-vdec-upstream-v3-0-4496aec3d79e@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl 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 X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768991475; l=1534; i=zhentao.guo@amlogic.com; s=20251024; h=from:subject:message-id; bh=IzNXt2+VyFRVs1Y87t2pUqlUvtHK8Yc5ii/YgU+Xf3g=; b=xx4IFR50dTvR+IhoaSdyB9ewHO/ihu8C/le7zGIqU9cauI5USp2V62XmZWrQG6Xyn6pDqCTaP dN6f7CPzI+OATv8nm6k8GloH5TIl4kfEPREWeVr7nZvAcdz0mqLPX2i X-Developer-Key: i=zhentao.guo@amlogic.com; a=ed25519; pk=5yfDKrjreXwcAoEUsdtWafy6YN500upXp/CgtnXjLVU= X-Endpoint-Received: by B4 Relay for zhentao.guo@amlogic.com/20251024 with auth_id=555 X-Original-From: Zhentao Guo Reply-To: zhentao.guo@amlogic.com From: Zhentao Guo Add vcodec node to enable Amlogic V4L2 stateless video decoder support. Signed-off-by: Zhentao Guo --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dt= s/amlogic/meson-s4.dtsi index dfc0a30a6e61..b8355e41d550 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -862,5 +862,33 @@ emmc: mmc@fe08c000 { assigned-clocks =3D <&clkc_periphs CLKID_SD_EMMC_C>; assigned-clock-rates =3D <24000000>; }; + + canvas: video-lut@fe036048 { + compatible =3D "amlogic,canvas"; + reg =3D <0x0 0xfe036048 0x0 0x14>; + }; + + video-codec@fe320000 { + compatible =3D "amlogic,s4-vcodec-dec"; + reg =3D <0x0 0xfe320000 0x0 0x10000>, + <0x0 0xfe036000 0x0 0x20>; + amlogic,canvas =3D <&canvas>; + reg-names =3D "dos", + "dmc"; + interrupts =3D , + , + ; + clocks =3D <&clkc_periphs CLKID_DOS>, + <&clkc_periphs CLKID_VDEC_SEL>, + <&clkc_periphs CLKID_HEVCF_SEL>; + clock-names =3D "vdec", + "clk_vdec_mux", + "clk_hevcf_mux"; + power-domains =3D <&pwrc PWRC_S4_DOS_VDEC_ID>, + <&pwrc PWRC_S4_DOS_HEVC_ID>; + power-domain-names =3D "vdec", + "hevc"; + resets =3D <&reset RESET_DOS>; + }; }; }; --=20 2.42.0