Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp224480rdg; Thu, 12 Oct 2023 04:03:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3W19JyI328gzlqL5zX8dg2gO0XD6PK8zxHXvV0tpMUs8cTdZMjAxzr2hegjS7aJn55oJv X-Received: by 2002:a17:90b:438b:b0:268:1b62:2f6c with SMTP id in11-20020a17090b438b00b002681b622f6cmr22265921pjb.2.1697108631165; Thu, 12 Oct 2023 04:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697108631; cv=none; d=google.com; s=arc-20160816; b=nu9KwvFmYTfG4W/GFvgwLPkS/VQ0/7fmf5TaqgOl1WsaT/lMX9GmqQjAY7cJ6CO/2Z 5H6IaKX296/5/V/byWvKZJQDwanip0e5H7x40bLh7/qPoY57ZP6Ytn/j+viuD67tXWc+ BlV8LhNgXCIPrvYKPkf5V8lMS32pRJ7Istz6c0hY0QBhiEQNPKRPZP2V2HiWxDanElwU 94bCOFmADKpsCkc+p/Rva/gIu2UeHsjD/snYQ7k7W8yb7/S/Cdu+FAioCZ1kYWwdzVbi n/0eAd+btGMYOPOvAuIPpYkm9erp72oF+1RDS2t6x/OYjOSBuM/5bD0/5fqBhC1W9QPa RBUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=0TyPV8k2sr2BK7fCFPEHTKyURZW3HjV+4SsqS/x5iE0=; fh=qZWcwDViA/Gn9saButuIWDMNSOcTSe9IQ9H9DIcte8c=; b=J4dbUnyXvuQoUQbk9x9XfKBVSzZleQqLk3XvpRuln1Kn6mc++6ovQyKZIsnewp5ol2 ppRJAOx+v4R5Fuwv2sGIykl+CwV37whw+n6+SugMVULIHnanBtCi6hv+JMnds1nMRJSP ejMRH30fHoyaIelqgIFcFoF00Pb34QVF+mTCWfXbE6VsB6o7l1nF8qSagVSBKDyPjXUO tCddbSyV6h8Zn+kzZoGlsyoY/gziVV3gDRGf2XpEg8fv1rycKZ6hrEF6SrYINWvRpWoo eRb6J+D3gmpOJxI9Cj4k42uu6r0sgq+8Q7CuMMJ/dJJkkuIW4nC4mM1NSr5B0ubZFYZZ 3Zrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gYbXA+0r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id mr3-20020a17090b238300b00271ae22eea7si1918728pjb.117.2023.10.12.04.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 04:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gYbXA+0r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A5C9E822CAA5; Thu, 12 Oct 2023 04:03:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378117AbjJLLDg (ORCPT + 99 others); Thu, 12 Oct 2023 07:03:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378083AbjJLLDb (ORCPT ); Thu, 12 Oct 2023 07:03:31 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35DD3D3; Thu, 12 Oct 2023 04:03:27 -0700 (PDT) Received: from localhost (dynamic-002-247-255-251.2.247.pool.telefonica.de [2.247.255.251]) (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 651786607342; Thu, 12 Oct 2023 12:03:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697108606; bh=Kr52WeaibSMzQEC+JIzvnVvSxNmcDMqJUK52PCMNxMs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gYbXA+0rAmN+fHCMz2BXKvLFhpA02bDFHURIjlD8HAfOFY8whjuzlV6UjiPtmwwGB g11H0QGtYqc13vq4X3pzuJ8uA3VbajJ1RPSWSW2ATmNDFFZgZhhAJeM5GOZXArUn3P h5tXlInijaJgpCQNB9UKp2LEYlsLZC5niOOJQrJUN4YZsBUr5w7rT/UjMFYzzQ/eAu 8EsdYKMfcD6CZav3NYbwI0zmyrspJa/kxJoZncZJ4acMhBbpeIVWol10K1hZM7aMPS ftwwGHLjOZFXAK30oOIPnIpEhpoe23qWB7u/TG2SbG569bq2pVPEVmPKbch6jCig3U L+veivOhFyP5g== From: Sebastian Fricke Date: Thu, 12 Oct 2023 13:01:06 +0200 Subject: [PATCH v13 8/8] arm64: dts: ti: k3-j721s2-main: add wave5 video encoder/decoder node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230929-wave5_v13_media_master-v13-8-5ac60ccbf2ce@collabora.com> References: <20230929-wave5_v13_media_master-v13-0-5ac60ccbf2ce@collabora.com> In-Reply-To: <20230929-wave5_v13_media_master-v13-0-5ac60ccbf2ce@collabora.com> To: Krzysztof Kozlowski , NXP Linux Team , Conor Dooley , Mauro Carvalho Chehab , Jackson Lee , Hans Verkuil , Sascha Hauer , Rob Herring , Pengutronix Kernel Team , Shawn Guo , Philipp Zabel , Nas Chung , Fabio Estevam Cc: linux-media@vger.kernel.org, Tomasz Figa , linux-kernel@vger.kernel.org, Sebastian Fricke , Nicolas Dufresne , kernel@collabora.com, Robert Beckett , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Darren Etheridge X-Mailer: b4 0.11.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697108536; l=1367; i=sebastian.fricke@collabora.com; s=linux-media; h=from:subject:message-id; bh=KjtW4nXLRi51SZO69gg3rFOFCJG7FEnu72pgZnyojug=; b=16Hv4nA1kUNqQIY2GIoNV1ibkKsGw+Vjuvx3T3frJ3lTghc8tR4cZyZqi6xfozethsFvL3RiYXQ2 kB3ewQLWD/9jh5H4+lBJ0YwYyKPaWE3JiM5+CLhxPp2gJ3jn7ITB X-Developer-Key: i=sebastian.fricke@collabora.com; a=ed25519; pk=pYXedPwrTtErcj7ERYeo/IpTrpe4QbJuEzSB52fslBg= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 04:03:44 -0700 (PDT) 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..7ae4c6436275 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 = "cnm,cm521c-vpu"; + 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>, -- 2.25.1