From patchwork Wed Jan 31 21:26:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 13539985 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 820D7C47DB3 for ; Wed, 31 Jan 2024 21:27:46 +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=U7Nqjex59sgY+rEYdjt75IUg0FaYeJ8CfZVG5xlsknk=; b=Ed1ZZ5dH6CDjKW zqY4BAPVDnrQR0H1GuO2Y7De8ycR6mip1sjKmGdirJoyw3uMARA8zZGg5YfTRFbtHW6WedbAgqPra JFx2+fZ8bLakz+VW1dKXmH5Dxgstg32mdoZwr4aNaimQdbvc+RdScRyRwfR/Vl4wrJU4UuUEIu8cv 4uA3yUBKm65Ss5EQkZIe9nxhtygO9ogn6J2EXsoWM/0G4+U7ZYrdF6h7jjdw0tl9gG71ojR0avQvA NhpS8l58tPyduDaJPczNlaKpdkEGwtXmmJoMBCBt1hwhpwNdgcEvUa+toO/ao1mNTyvHir0qA1ZVR reKurNS6P3KwgAd2lp4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVI7I-00000005XES-0WgD; Wed, 31 Jan 2024 21:27:32 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVI75-00000005X5S-1jo6 for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 21:27:21 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VLR5nw051155; Wed, 31 Jan 2024 15:27:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706736425; bh=RqeGdNNen1smgLVsTQRKswkyX+0wYpPdxWfj+SK3AhY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eKVaiNebyEXlwdxIcVCfo7SaXIaX1kcfbNQEpoy4Td1baCMwG69Q1kOZp1h2RwylD wYMO5JY7tAbiZuk4tuE6gSQ/7IXt7wY10hN+S3H28cqB+Zfqf0cRizkS5eiNUhcf1+ nGyzuQPk0SFRY1w75vxOmfGQ/0NZbf8wozE7OnLA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VLR5QE041269 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 15:27:05 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 31 Jan 2024 15:27:05 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) 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; Wed, 31 Jan 2024 15:27:05 -0600 Received: from udba0500997.dhcp.ti.com (udba0500997.dhcp.ti.com [128.247.81.249]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40VLQfKU028966; Wed, 31 Jan 2024 15:27:04 -0600 From: Brandon Brnich To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Bjorn Andersson , Geert Uytterhoeven , Arnd Bergmann , Konrad Dybcio , Neil Armstrong , =?utf-8?q?N=C3=ADcolas_F_=2E_R_?= =?utf-8?q?=2E_A_=2E_Prado?= , Marek Szyprowski , , , , Darren Etheridge CC: Brandon Brnich Subject: [PATCH v3 5/6] arm64: dts: ti: k3-am62p: Add Wave5 Video Encoder/Decoder Node Date: Wed, 31 Jan 2024 15:26:24 -0600 Message-ID: <20240131212625.1862775-6-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131212625.1862775-1-b-brnich@ti.com> References: <20240131212625.1862775-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-20240131_132719_587608_AFFA496E X-CRM114-Status: GOOD ( 11.84 ) 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 Reviewed-by: Mattijs Korpershoek --- 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 4c51bae06b57..94c89699b35f 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -891,4 +891,14 @@ mcasp2: audio-controller@2b20000 { power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; status = "disabled"; }; + + vpu: video-codec@30210000 { + compatible = "ti,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 1773c05f752c..0aec79ed5578 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts @@ -569,6 +569,10 @@ &main_uart0 { bootph-all; }; +&vpu { + status = "okay"; +}; + &main_uart1 { pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>;