From patchwork Wed Nov 8 19:29:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 13450501 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 AA67AC4167D for ; Wed, 8 Nov 2023 19:30:25 +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: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:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cT4XMGp3DsOKXRDX0ZaClBEvk0Jeu7YQLS14Imv2j6Y=; b=BmNmpMWM628JYj KUgkasO6npsRsxyDskQY6KN0ODqVLyNNtiBaZneH2IVyXwiT2CxxFImo4Y/U1BT6R2Zoysw6hz0Mp EC7ICkrgHlDLS669zq9ZuStrik7Wv9e98nDBKeMqyLlK042Ph7E5QBEvbPAl70fWlyZR/mGKgKq71 5SQGyrkdjbiT4dJNkM26JYnsgLtkktvlMaPWNRwKo59jnM/lU6Nr+pjwcQGOViclfnowycZDAm8eR /T/5kRpg+GTLxiq84m5w0R98vjdPLAQr2wCnsEm1Tbxp+E1JKG+o7fy5Kl49cy4ZElSNrxaOU9roj xVAzXBQnZUQivvHyLKzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0oFQ-004cNF-0y; Wed, 08 Nov 2023 19:29:56 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0oFL-004cKG-2U for linux-arm-kernel@lists.infradead.org; Wed, 08 Nov 2023 19:29:53 +0000 Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sebastianfricke) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6FF6066076A4; Wed, 8 Nov 2023 19:29:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1699471790; bh=5EEmjqlfCXr8f+nuvWUkqpYUqLb0BgV0iKNe92KcenM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gCZrvwAHe2TWO1Wo0jrUc/A2yRzfk3/yQekgz37lh4W33cS+Z8pyvKZE+I0DgW+qw SPSRKV12dyF8KpweC/+/Z1NMlc4sizlTBsDp5LNlhdzzkGGUsKinbZjP0OBanO4cSi UWUp00EdVpvfuVRnETm5bP9i+ZVX1HyY7oi6TWdytPzedss0vxYrkhJTFNZcDrIrWM bEh20O2cNrWjY7u2IOmHAtjAmS6+YCwj8TgK9igVNoPyeJfNeuzUOuY7Y7FRmZx/iZ L1ylJBm1QB0GyZLZPf4Xfabboyo3oE9wf2GI2bUl/ykicufXncFeckeFp0VuuZ/ER1 ybWRNxRgYEDYg== From: Sebastian Fricke Date: Wed, 08 Nov 2023 20:29:27 +0100 Subject: [PATCH v14 8/8] arm64: dts: ti: k3-j721s2-main: add wave5 video encoder/decoder node MIME-Version: 1.0 Message-Id: <20231108-wave5-v14-rebased-v14-8-0b4af1258656@collabora.com> References: <20231108-wave5-v14-rebased-v14-0-0b4af1258656@collabora.com> In-Reply-To: <20231108-wave5-v14-rebased-v14-0-0b4af1258656@collabora.com> To: Mauro Carvalho Chehab , NXP Linux Team , Pengutronix Kernel Team , Conor Dooley , Nas Chung , Fabio Estevam , Krzysztof Kozlowski , Jackson Lee , Shawn Guo , Sascha Hauer , Hans Verkuil , Philipp Zabel , Rob Herring Cc: Ivan Bornyakov , Deborah Brouwer , Nicolas Dufresne , devicetree@vger.kernel.org, Robert Beckett , Sebastian Fricke , linux-arm-kernel@lists.infradead.org, kernel@collabora.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org X-Mailer: b4 0.11.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1699471762; l=1390; i=sebastian.fricke@collabora.com; s=linux-media; h=from:subject:message-id; bh=ZxxGJD9eMM+hOducG8IQEAUt1ctZIrZFPl7ACJTXwpI=; b=ULMruYYepXYnx5ZGL4Yi0xYANNcVDQIfUYv/ik3kVlgeqK+GSY0iMkrim4bQ7fwkp96nVNkrAIuV +0w4Pj09BzCLigutmVsX7EYmHYm2lxWd/1imKbSYl0IMU+WucExb X-Developer-Key: i=sebastian.fricke@collabora.com; a=ed25519; pk=pYXedPwrTtErcj7ERYeo/IpTrpe4QbJuEzSB52fslBg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231108_112951_936219_0BB941F5 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Darren Etheridge Add the Chips and Media wave521cl video decoder/encoder node on J721S2. This functional block also requires an SRAM buffer as a bandwidth saving temporary store so we need to add a carve out of 126K for this as specified in the documentation. Signed-off-by: Darren Etheridge --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 084f8f5b6699..70ed17c4c81b 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -28,6 +28,10 @@ atf-sram@0 { reg = <0x0 0x20000>; }; + vpu_sram: vpu-sram@20000 { + reg = <0x20000 0x1f800>; + }; + tifs-sram@1f0000 { reg = <0x1f0000 0x10000>; }; @@ -716,6 +720,16 @@ main_i2c6: i2c@2060000 { status = "disabled"; }; + vpu: video-codec@4210000 { + compatible = "ti,k3-j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x4210000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 179 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; + sram = <&vpu_sram>; + }; + main_sdhci0: mmc@4f80000 { compatible = "ti,j721e-sdhci-8bit"; reg = <0x00 0x04f80000 0x00 0x1000>,