From patchwork Mon Feb 5 19:47:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 197025 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1157181dyb; Mon, 5 Feb 2024 13:33:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyKrYDJF0mDfXKjd/KrPQmVd/Vhv08Og8e1aZ/J1vUbPW5v+CZ7ytrIUpZMKFcbuNIySXh X-Received: by 2002:aa7:df0a:0:b0:55f:6a35:b541 with SMTP id c10-20020aa7df0a000000b0055f6a35b541mr221640edy.14.1707168788742; Mon, 05 Feb 2024 13:33:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707168788; cv=pass; d=google.com; s=arc-20160816; b=oGYdgMDKRlAF+xIKejArVExAeHD+6e9fv9Gnnz7+EKEkUrADdB53fsEGHFplhusXN/ Z3HpD3wGRuOvmXntUKSEDG6DWFuAFMOdIG0u4yARqS5NR2rVwKY4k4byX8Pzn1VERE0e ADg17SBuW9SUIslwY6uu2t9yZATT198QvAgAXdvkPP0QguvmFq5oCZbc7XUBmJHRfaOs 6UIGli4p3kfgmQnIziP7EJ3iIP7d3nbOn8AVg5YuV00B8AHKumqdVNQCPtsjeOr6F7Q2 OJHheQ1057a5h1pnswx3TENrqLP5fEKJ/svH6RiB0X2Xs7o+mQ5Bll/RCvSuNq52qiYc 8FoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wvPLweGFzvDcFAzONTe7EnJRH4JgTHeLriN9Uav4nck=; fh=vMEyWTMRj8b4NBtBlk5s4kzMtjeqQRvnEo4If3hp2n0=; b=mwSiIkqr3oYfgQc/Yt6gIxD9jXtB1gkcxKDi+/TBm4TxAJfguJYXJHBW3+7KP9gDYy 4S7udEMT3kxmwXTiiSAppky2RmP+vDYdUhaWaK/6U1OPztc84KzeXFzA/gNUae1E/ARp Q13CgYmezTAss+9Kk8hFK4coQRuSk+JMEyQe6BDnaFgFZxJ4R160wWEZbLvUbUEiKR0y 5SQWiKuUkOUi+239gC9LqRgr8gCZ8R3Nu36ramzWv4TdK1KpkY1Nuz3M0kEj2+cSlXWK OJDmBXyMDErl+Gc94GYrobYxPKW/Z2Y4XJAfucXDJbyyAPs/9xHNhUj2Vi0l3l73mxXk QOMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e//lc1Jm"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-53867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53867-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCX8UTE9Z8B6OyFSZcEBUT2ZEvctxK0nA8zai4XJBBcbud7V1juo25ziS97jCvdGxSBeML+VbsnXa81qoo6rNcj7JPt2Tw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u20-20020a50c054000000b0055c74638b38si305399edd.615.2024.02.05.13.33.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 13:33:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e//lc1Jm"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-53867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53867-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5A55C1F2A379 for ; Mon, 5 Feb 2024 21:33:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2CC88175A; Mon, 5 Feb 2024 19:47:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="e//lc1Jm" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 761F8811F3; Mon, 5 Feb 2024 19:47:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707162475; cv=none; b=Z3SBkfLVtAk1gwJCr7UFF6wY3/8rPXaL+par14qoblb3QwyJewoWR7KReU6AW/t6vBCyvbHLeYgnvYUg52MmbQzcqMM49OIurotwJWjdMGoftKsVarGxUnz+g8BJgIW9GTrJlY7SPM4cpitJhhm9jLKusPAexIh/NxjvvM8Abmw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707162475; c=relaxed/simple; bh=9chV2m0DRrwT4iaDyIq1fWOnicgN39hqbN1G6/MyRyk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YxjtvLLUEktAbqkufRhIK0czClk7yZPit0ADPqEa854pCyMW7r55Y1nwqLexwZBYj+C37QNj09w4mMw9oSv6DUtLTT9RhUdyUYYvMvn0Bly1EEr9WpGy37sEpmiYdlpAVIz2Jk0GdjI+MThP1Eh3By8awpPRIBzWrfaR294fdsQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=e//lc1Jm; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 415JlBPU019766; Mon, 5 Feb 2024 13:47:11 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707162431; bh=wvPLweGFzvDcFAzONTe7EnJRH4JgTHeLriN9Uav4nck=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e//lc1Jmxc4C6Y4C33ooRu8QX50HMng7oW87uqtzeNv4aSGrcE4r63rE6VTyEn+ns NgAUUfGS/ILSdZ4tijV3BwTmN9lxCcpxGwskNaO+3CQS9OOXK2lcsyO6ODjMp8yO3o Gg+abRvK7h+s1zLxNVCq0Vx9lD1Cl9P0ovln7Rpg= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 415JlBZe075944 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Feb 2024 13:47:11 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 5 Feb 2024 13:47:11 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE114.ent.ti.com (10.64.6.35) 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, 5 Feb 2024 13:47:10 -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 415Jl90Y037073; Mon, 5 Feb 2024 13:47:10 -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 v4 1/4] arm64: dts: ti: k3-j784s4: Add Wave5 Video Encoder/Decoder Node Date: Mon, 5 Feb 2024 13:47:03 -0600 Message-ID: <20240205194706.3605309-2-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205194706.3605309-1-b-brnich@ti.com> References: <20240205194706.3605309-1-b-brnich@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790096219715602940 X-GMAIL-MSGID: 1790096219715602940 This patch adds support for the Wave521cl on the J784S4-evm. Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 18 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 2 ++ 2 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index f2b720ed1e4f..e628e748f215 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -662,6 +662,24 @@ main_i2c6: i2c@2060000 { status = "disabled"; }; + vpu0: video-codec@4210000 { + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x4210000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 241 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 241 TI_SCI_PD_EXCLUSIVE>; + }; + + vpu1: video-codec@4220000 { + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x4220000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 242 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 242 TI_SCI_PD_EXCLUSIVE>; + }; + main_sdhci0: mmc@4f80000 { compatible = "ti,j721e-sdhci-8bit"; reg = <0x00 0x04f80000 0x00 0x1000>, diff --git a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi index 4398c3a463e1..2f633721a0c6 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi @@ -235,6 +235,8 @@ cbass_main: bus@100000 { ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */ + <0x00 0x04210000 0x00 0x04210000 0x00 0x00010000>, /* VPU0 */ + <0x00 0x04220000 0x00 0x04220000 0x00 0x00010000>, /* VPU1 */ <0x00 0x0d000000 0x00 0x0d000000 0x00 0x01000000>, /* PCIe Core*/ <0x00 0x10000000 0x00 0x10000000 0x00 0x08000000>, /* PCIe0 DAT0 */ <0x00 0x18000000 0x00 0x18000000 0x00 0x08000000>, /* PCIe1 DAT0 */