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 840D6CCD1A2 for ; Mon, 20 Oct 2025 21:20:41 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BfQ57zUedGe8WzBua8AYsiZzXj8lyN8BuyIShodsmAE=; b=OjiG0JpiQYcA2P vH0gYRV2aGj4120GKK0UdSdJ/zUVVeqasAL6pUp6Xo6tMDD0z5TtbRqyYvLDRkcgmXnPUoUHpRZ/R TmTIgPYT1ecgxmFEncyPW29g0LQXGRMa9IfbQyZGpMwEkMhgOunIbr+PHWAWO7X9+0LEEeufd9t4y myqJzdt5yzKfJqRB16FaHVml9ScOap2kUSme02kGOSAC0Q4AuxF8M8DPsneKmy1QA9goOseT0L5IE +ucbdcVhfOChzoQ0CjWBagef1D55wQm0y+rTRjJ5TqPrL39Q+VuxilNRFHCZuzCXAgjQNJpiep7lT 742cF4Wua16b49BtNWfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vAxIy-0000000F58i-0po4; Mon, 20 Oct 2025 21:20:36 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vAxIu-0000000F568-2hqU; Mon, 20 Oct 2025 21:20:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1760995229; bh=ebhCP696my3k4WkNCPQ1Nj+6kNj+G6BYfiv6ewYHW84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BuTVmlhmnDI7AsEdDshMpCtHVCVCrdFdOybD8PjHoR0ElTXqcXEFZm/Th+YkWzgs5 Qbodetct5EBCzIV/Hpxk5ro3eX7nvy/MDWBQ/5qut5Cax6rNKYcd85nHcOpoiLwsg9 HIh6x2U+eu/gbCsvi+UItjjTpb36iJSHgz/bFFGC3KLHhfrkiwrSPZHeW1z0weHq/g I/tNzxyy9SH+eUjOgdZrXCZCe/WE5i7reTNqpEpSnt1dQ/dwkE7iUtSglrkaOHEhTB s6BoWoz9BAtfadyq7qRC6ok+i6X4sB+IxIlu6qhSbyCmyIaZH1DswQa+1JzNsXGskj DY9VI5qXtMClQ== Received: from trenzalore (unknown [23.233.251.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by bali.collaboradmins.com (Postfix) with ESMTPSA id B61A117E055D; Mon, 20 Oct 2025 23:20:26 +0200 (CEST) From: Detlev Casanova To: linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] arm64: dts: rockchip: Add the vdpu383 Video Decoder on rk3576 Date: Mon, 20 Oct 2025 17:20:09 -0400 Message-ID: <20251020212009.8852-3-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.51.1.dirty In-Reply-To: <20251020212009.8852-1-detlev.casanova@collabora.com> References: <20251020212009.8852-1-detlev.casanova@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251020_142032_842578_F17A1F63 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Shawn Lin , Kever Yang , Chukun Pan , Alexander Shiyan , kernel@collabora.com, Dragan Simic , Rob Herring , Sebastian Reichel , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Conor Dooley , Detlev Casanova , Damon Ding , Chris Morgan , linux-arm-kernel@lists.infradead.org, Patrick Wildt , Alexey Charkov , Diederik de Haas , Krzysztof Kozlowski , Nicolas Frattaroli , Tomeu Vizoso Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add the vdpu383 Video Decoder variant to the RK3576 device tree. Also allow using the dedicated SRAM as a pool. Signed-off-by: Detlev Casanova --- arch/arm64/boot/dts/rockchip/rk3576.dtsi | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi b/arch/arm64/boot/dts/rockchip/rk3576.dtsi index fc4e9e07f1cf..00999823746f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi @@ -1289,6 +1289,41 @@ gpu: gpu@27800000 { status = "disabled"; }; + vdec: video-codec@27b00000 { + compatible = "rockchip,rk3576-vdec"; + reg = <0x0 0x27b00100 0x0 0x500>, + <0x0 0x27b00000 0x0 0x100>, + <0x0 0x27b00600 0x0 0x100>; + reg-names = "function", "link", "cache"; + interrupts = ; + clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru HCLK_RKVDEC>, + <&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_CORE>, + <&cru CLK_RKVDEC_HEVC_CA>; + clock-names = "axi", "ahb", "cabac", "core", "hevc_cabac"; + assigned-clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru CLK_RKVDEC_CORE>, + <&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_HEVC_CA>; + assigned-clock-rates = <600000000>, <600000000>, + <500000000>, <1000000000>; + iommus = <&vdec_mmu>; + power-domains = <&power RK3576_PD_VDEC>; + resets = <&cru SRST_A_RKVDEC_BIU>, <&cru SRST_H_RKVDEC_BIU>, + <&cru SRST_H_RKVDEC>, <&cru SRST_RKVDEC_CORE>, + <&cru SRST_RKVDEC_HEVC_CA>; + reset-names = "axi", "ahb", "cabac", "core", "hevc_cabac"; + sram = <&rkvdec_sram>; + }; + + vdec_mmu: iommu@27b00800 { + compatible = "rockchip,rk3576-iommu", "rockchip,rk3568-iommu"; + reg = <0x0 0x27b00800 0x0 0x40>, <0x0 0x27b00900 0x0 0x40>; + interrupts = ; + clocks = <&cru CLK_RKVDEC_CORE>, <&cru HCLK_RKVDEC>; + clock-names = "aclk", "iface"; + power-domains = <&power RK3576_PD_VDEC>; + rockchip,disable-mmu-reset; + #iommu-cells = <0>; + }; + vop: vop@27d00000 { compatible = "rockchip,rk3576-vop"; reg = <0x0 0x27d00000 0x0 0x3000>, <0x0 0x27d05000 0x0 0x1000>; @@ -2694,6 +2729,7 @@ sram: sram@3ff88000 { /* start address and size should be 4k align */ rkvdec_sram: rkvdec-sram@0 { reg = <0x0 0x78000>; + pool; }; }; -- 2.51.1.dirty _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip