From patchwork Thu Jun 13 15:09:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devarsh Thakkar X-Patchwork-Id: 13696949 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 45A12C27C4F for ; Thu, 13 Jun 2024 15:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sE4cl2s/d+Mn4dSnjIpEm+GQgW8R9GDKh3dxva06fOo=; b=Nj/+vYkIdBCdrY6sLKsSvbeaD2 379d4lczxoW+Vp2N2gaOjPEjgD1fKFFw5to/TahtqV8AWJo8uqBrS5gvEPn3RB24UKrhXtPgTUfYH 3nG3Wd3pb01XDo3xPMgYq9i4/VacmDXNQNp4r8/964dmkSL8jb42KcJyLy2LIhd16tVOVeeS2YziY tRtrelSl6x5PpO4KAZeipFeZaeagm8LgtpsXDbreDICjFkTBKdEYW8gCqvBh5Rf6mQ6Rd61jbeW81 57XKeIqJz2TfNmDjoyDPa/iRu04qaqc74Pa1X9Jd3XMpT/Y/4X+Wl7m3cwW+6hqluZonT++VjpkUV 6B5CGi6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHm4m-0000000H5gg-3w38; Thu, 13 Jun 2024 15:09:20 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHm4e-0000000H5eP-0eYS for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:09:13 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45DF98Es079901; Thu, 13 Jun 2024 10:09:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718291348; bh=sE4cl2s/d+Mn4dSnjIpEm+GQgW8R9GDKh3dxva06fOo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LS85mebGUxLPVee16wBkHLpVJr8MsEbDeuC83aMuf7NuLxLN9nem0JXQv2meFNMTK Y5Dm9xWDL4OefUqj2tT77y0B6eOa0KZZVbeRF59yDsdZ50Pm5VqPOVyUfK2xjfeCGZ hUgDl7LU8sMnw0r6W2w+X2W9jeTq9G4FE0F7Pw0s= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45DF98WH012968 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Jun 2024 10:09:08 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 13 Jun 2024 10:09:08 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 13 Jun 2024 10:09:08 -0500 Received: from localhost (ti.dhcp.ti.com [172.24.227.95] (may be forged)) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45DF97HO007811; Thu, 13 Jun 2024 10:09:08 -0500 From: Devarsh Thakkar To: , , , , , , , , CC: , , , , , , , Subject: [PATCH 3/3] arm64: dts: ti: k3-am62p5-sk: Reserve 576 MiB of global CMA Date: Thu, 13 Jun 2024 20:39:02 +0530 Message-ID: <20240613150902.2173582-4-devarsht@ti.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240613150902.2173582-1-devarsht@ti.com> References: <20240613150902.2173582-1-devarsht@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_080912_260346_38FD0E63 X-CRM114-Status: UNSURE ( 8.12 ) 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: Brandon Brnich AM62p has different multimedia components such as Camera, Display, H264 Video Codec which uses CMA for buffer allocations. We require 576MiB for 12 channel decode-to-encode 720x480@30FPS use case. Signed-off-by: Brandon Brnich Signed-off-by: Devarsh Thakkar --- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts index fb980d46e304..5ef74d9f8eea 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts @@ -48,6 +48,13 @@ reserved-memory { #size-cells = <2>; ranges; + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x24000000>; + linux,cma-default; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; no-map;