From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 286A2C53215 for ; Fri, 24 Jul 2026 07:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+tVOt0F9PqYpzTJldUoXA0cGoxYTnepff4zsOQ6MBaE=; b=Ucu2M2/4487PW6 mf+xXg8CQ3U8uaKrKPgFsrOWRT+He4T9vRgc7c0ATDy46A9568njeELCfEP2POhEDVXlDyx3Iro6k 4YMwaGFSxSdKcTnitxcCXfRgk4e2Q2yfQ2KFxZihmf7yoJPIfOaCV3C/6/DkfsStz0bunw6p544qz veRs7fiJQXVbOBVbigWhg4dwW/VXEki0JoGyDVaHpz2vLbO77QlD14y2Tgy4WmsOPDzjFJu5HQSJE u2jXbXFQkYe84Ceg2PVfrh80wAB6Bdki3Fk/o3xpgDr++E0nrCTbpF5++wQzGmaRJoggZjXaCWWuG FuX2hDAk4Nb8VpOoXYPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wn9y5-0000000FeKL-2ZEQ; Fri, 24 Jul 2026 07:05:13 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wn9y3-0000000FeJC-0Wq2; Fri, 24 Jul 2026 07:05:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 5BFDD45087; Fri, 24 Jul 2026 07:05:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 313F3C2BCFC; Fri, 24 Jul 2026 07:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784876709; bh=Dvkr+uEhnVeHQbkd2qjDl5C7zix0sF4Yy1/nuWyIBSk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Qupc5YkQL+yRX5jYJxZTrEQNnxeBsXElXcAKC6L6etBdlxxp8h2b9hTx5pbWxIS8w q6Wrg1A234rO7JQo4NvAeTJZdnU0EJj5Lpjq1aFgTUqWuGh23YLIhbP9O/VsqZF6Sj ct66VaLhVvZDqBMYzIU0J1PmQ6/f9a/0bCbTzuQQ03ol4qMfVpaEJa8yAJRGv0g6y/ NjnwsTFmRpJnMlDq8ZY7gkQY9PTtx80WC0PE0hiJGwA0FUabR7GkUS/9TVmQX9jId5 XLNFHX6JhF7IDsCUvV1QQTV5lYoH6OINCnDYqiINOFZDUzM9pMdWi4pQjy+Q+eYtf/ U8XCspOqNug0w== 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 1C5A3C53209; Fri, 24 Jul 2026 07:05:09 +0000 (UTC) From: Zhentao Guo via B4 Relay Date: Fri, 24 Jul 2026 15:04:55 +0800 Subject: [PATCH v6 5/6] arm64: dts: amlogic: Add video decoder driver support for S4 SOCs MIME-Version: 1.0 Message-Id: <20260724-b4-s4-vdec-upstream-v6-5-6072a7ee7428@amlogic.com> References: <20260724-b4-s4-vdec-upstream-v6-0-6072a7ee7428@amlogic.com> In-Reply-To: <20260724-b4-s4-vdec-upstream-v6-0-6072a7ee7428@amlogic.com> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Zhentao Guo X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784876706; l=1761; i=zhentao.guo@amlogic.com; s=20251024; h=from:subject:message-id; bh=heUARX7B2nDJwzsPVfHcLo1flwPNThmBb50f2yWVTd0=; b=UewVk8O/ZOSo/t1J3MgXi2igEsiSygKLsJsMRYAIcVO8FJFBxb2xvwv5D+cSCkNCSuTDJAGnn xoUHo5mTjPtCtHbtscNi2djvc6gTrFkA5Fi0geI7M0lJJljRDY+Vnxw 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 X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: zhentao.guo@amlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Zhentao Guo Add vdec node to enable Amlogic V4L2 stateless video decoder support. Signed-off-by: Zhentao Guo --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index 2a6fbd530836..04fa52b357a2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -96,6 +96,11 @@ saradc: adc@fe026000 { status = "disabled"; }; + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -907,5 +912,34 @@ emmc: mmc@fe08c000 { assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_C>; assigned-clock-rates = <24000000>; }; + + canvas: video-lut@fe036048 { + compatible = "amlogic,canvas"; + reg = <0x0 0xfe036048 0x0 0x14>; + }; + + video-codec@fe320000 { + compatible = "amlogic,s4-vdec"; + reg = <0x0 0xfe320000 0x0 0x10000>, + <0x0 0xfe036000 0x0 0x20>; + amlogic,canvas = <&canvas>; + reg-names = "dos", + "dmc"; + interrupts = , + , + ; + clocks = <&clkc_periphs CLKID_DOS>, + <&clkc_periphs CLKID_VDEC_SEL>, + <&clkc_periphs CLKID_HEVCF_SEL>; + clock-names = "dos", + "vdec", + "hevcf"; + power-domains = <&pwrc PWRC_S4_DOS_VDEC_ID>, + <&pwrc PWRC_S4_DOS_HEVC_ID>; + power-domain-names = "vdec", + "hvdec"; + resets = <&reset RESET_DOS>; + secure-monitor = <&sm>; + }; }; }; -- 2.42.0 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic