From patchwork Thu Nov 30 22:39:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 13475127 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 EC278C10DCE for ; Thu, 30 Nov 2023 22:41:02 +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=GDLsIuc3CnS6nxlny8ui6vJMF8YMJHzu7RAqTven33I=; b=tKidcErJmWfL0M fv1vCk0atpRlEPzCTmDwEtAWFBd8VBxRf6R3HXutsN+H8hfmSP5hPSGrgNF89ofrgkxaS9yClwriB S9z6mOPNssTjt07v7gmy2bLnLSIolMXvHiyJlrOaVsUMYOvWQyEUxhDvHOVOt1l99UUtmA3HJ/gVT rEXcQQi0PD7zldu5BBdlZUQSfaFdqvW1gmpnh/5QLKyVq5Zl7hp8rf7wu07zwBrlQkHNd8HAonvBJ RWZBAo5Uj47IgTlvAzCTYODxucEuX9PWDeDkLU6cF7uINwMPpcAF6u2yfVwA8yHCDyigi/T6/w1px J/yHZCp5mmgWeNfgm0gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8pi5-00C4kP-0V; Thu, 30 Nov 2023 22:40:41 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8phw-00C4hl-1m for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 22:40:33 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AUMePHM084927; Thu, 30 Nov 2023 16:40:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701384025; bh=ut55SE2xnZgTs16hwoSPW/3/iL2LFJthK4sf5kOPYZE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jBXHCE7CGrzF83nBHZe0kmtXXp1S1PTozUYAilsSJFGAcgEj3+zQSjHcGtTriDuKK UK3QrS31MAQwq3sftZe2yaIHdaq6NsX/YlWFO09odBfglFt2NkcRlUEtrp0B+W6Oqj t7/RptU2p/w5AHpjrlEuW4EDHko1Zrjz6brPqu/c= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AUMePkj048757 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 16:40:25 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 Nov 2023 16:40:25 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) 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, 30 Nov 2023 16:40:25 -0600 Received: from udba0500997.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AUMeGge067256; Thu, 30 Nov 2023 16:40:25 -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 v2 6/7] arm64: dts: ti: k3-am62p: Add Wave5 Video Encoder/Decoder Node Date: Thu, 30 Nov 2023 16:39:58 -0600 Message-ID: <20231130223959.3837222-7-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231130223959.3837222-1-b-brnich@ti.com> References: <20231130223959.3837222-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-20231130_144032_673536_1C9EDEFE X-CRM114-Status: GOOD ( 10.06 ) 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 This patch adds support for the Wave521cl on the AM62P. Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 10 ++++++++++ arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index 963758c7d377..472e7f88d4ef 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -881,4 +881,14 @@ mcasp2: audio-controller@2b20000 { power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; status = "disabled"; }; + + vpu: video-codec@30210000 { + compatible = "ti,k3-j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x30210000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 204 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts index f377eadef0c1..99d9dbf8de66 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts @@ -598,3 +598,7 @@ &wkup_uart0 { status = "reserved"; bootph-all; }; + +&vpu { + status = "okay"; +};