From patchwork Mon Nov 27 22:37:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 13470384 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 1CAD0C4167B for ; Mon, 27 Nov 2023 22:38:30 +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: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=Kgk9/RCce/oiCu3LusLCftQ6aT1o0o+DvKceCTp63bE=; b=NNI9s8QcaSvLC1 eWWmTucI52bSyldhkq/0Ejf39IWaNVG8TGqA9KyqFhkKBtFTW/dtApGLes5pioQfauFGWRZCj6ylm 9FI4A2ZP44NriN/s9vsAkhHW/gu3ZPcvAcl7HaNPmFpZK5iglMZHDLdJg8i6EN9UnnjXgW2f/uq+5 ORIxXp1ZEEmaQ0g4sOo0LhXA2OmF/7IBGfYv7GtAtKMOcZg4rsXPr1r0e4y8BaLXeyIyfbNpILTNm OhQaTrB15JK6wzuJWmr0aVewX7kdMCPmBYiwWa6Tit0x0+ORsVKrfWucdMAoSRbEIg4TTixfman/y xofLTYFGbkOyEXBZK33A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7kEm-003bcu-0L; Mon, 27 Nov 2023 22:37:56 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7kET-003bVt-0K for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 22:37:40 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3ARMbQfo097072; Mon, 27 Nov 2023 16:37:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701124646; bh=dK8d5Xkr5a46dZ1sUYoQCt3qwIS7Y0Euu2MpiNyGgDA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rMViM2jhUv6dfNd+NSENmg0vzUHVvSWi1habBzSDyJQlzyIxUY5Sb4FNd8Z4HtX7E YRJ4oUOYnYx9LY+MjxLc7d4aUbi8LDMu4VcT4xBbopq2l8aYG5A/DYzZEr/USBY7+K lViUSvtNw37ZsskyPvEgMVcSvD1rlQFFc4F9EXCs= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3ARMbQqj016924 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Nov 2023 16:37:26 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 27 Nov 2023 16:37:26 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) 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; Mon, 27 Nov 2023 16:37:25 -0600 Received: from udba0500997.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3ARMbOdi097304; Mon, 27 Nov 2023 16:37:26 -0600 From: Brandon Brnich To: Nishanth Menon , , Vignesh Raghavendra , Sebastian Fricke , Nas Chung CC: Darren Etheridge , Devarsh Thakkar , Praneeth Bajjuri , Brandon Brnich , Prasanth Mantena Subject: [PATCH 2/7] arm64: dts: ti: k3-am69-sk: Enable Wave5 Video Encoder/Decoder Date: Mon, 27 Nov 2023 16:37:13 -0600 Message-ID: <20231127223718.2651185-3-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231127223718.2651185-1-b-brnich@ti.com> References: <20231127223718.2651185-1-b-brnich@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-20231127_143737_281025_CE2EB56F X-CRM114-Status: GOOD ( 10.24 ) 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 Update status for both Wave5 VPUs on AM69. Wave521cl needs to use CMA as there is no IO MMU on AM69. Each 1080p channel requires roughly 98-100 MB. Allocate 1792 MB to meet 16 channel capability for AM69. Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 9868c7049bfb..68ebdfe0ffc3 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -43,6 +43,14 @@ reserved_memory: reserved-memory { #size-cells = <2>; ranges; + /* global cma region */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x70000000>; + linux,cma-default; + }; + secure_ddr: optee@9e800000 { reg = <0x00 0x9e800000 0x00 0x01800000>; no-map; @@ -706,6 +714,14 @@ &main_gpio0 { pinctrl-0 = <&rpi_header_gpio0_pins_default>; }; +&vpu0 { + status = "okay"; +}; + +&vpu1 { + status = "okay"; +}; + &mcu_cpsw { status = "okay"; pinctrl-names = "default";