Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1925443rdb; Wed, 31 Jan 2024 13:28:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHX0Me06cukQR1sTbzv+x1HA9+A75NsbgWyPy4NF4G52xmCEBBsNjtN6iiHDFtBT6F7haL X-Received: by 2002:a17:907:d50b:b0:a36:85b9:cd1b with SMTP id wb11-20020a170907d50b00b00a3685b9cd1bmr2275504ejc.25.1706736528324; Wed, 31 Jan 2024 13:28:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706736528; cv=pass; d=google.com; s=arc-20160816; b=pF9Il9OpggV3t5+QYOkJSYHYCIshraTxuMAlLvxixriQkCd+I6wROnNy77IKnloMkN lvbvWS7zW1rbgsr79XrBTgyz+2FCE02C9ZBgZJTibqVJRRMUlgNoT0ko1T83kHow0xaV NIYeZ6R3itMgOT6vdvo0do9Y/mj1CZqgz9DEIhViRHcps7BviNoI7ZnLeR80rb1nrabn Jb0knGAjDoBpxqYoNIsLcyISaEaUBkbUd3Bhys2wyGVHpQpSmRxmzMmEJWUAOvZK+KkF AUKP0mb4xr5Tb5/0TxXK0paiR29KaFjcgxNRtYtc6AbM+W+0uIYMy/cqAjwiTwAdpSL2 9brw== 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=wdG//Xd6xd9OLxbOdH6iKiAlTR9/FDqTxdm2k9x4EvE=; fh=i4ZaVD2xUQUtuMfqS/O8s8840EfSKZWHKuZ9yLsbTVc=; b=yBpVZ6L+qLTeOPJ2hZJyemImwb7WOmZbZts29klFBWQdIoCsyWpGPVry7nT/H3V/b4 XWGtaSg2bJaskhEUlrsRhk6Ceh0Zo9q05bqr1V4tLsvyeqlQ6RjSR2GtBIZvdWTFSazD M/sVOfK/CClf6VVq7yUSm4BNEUajgArRHLUaWxG0+NXAlxj7V3BJ2EY9ZTkoXt4h9LeB tXTPd6Wt5p1TYsyfWmvyiB/AxKL1epTVgrCWt2ZO0xnGNTYRtVhhDkAcIh9e0TBDJKHn JLYoi0ZFcn2bLDfQYyukGFoepYjupV+oe8JVRRrF0pffpHaQ6dJ20H8jcW6UtOHJrnoq qGUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=B1tOnkNg; 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-47162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCX1LSoD2/gXvTSsn/am5/k5Oa9aHKpraPZ7GqgLpFPYFkjngXbmzA+bvTwNJlhYGYXEzFRtFWF3I0cldtzblvEc35wKuR+HQf6cmu/11A== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i21-20020a17090639d500b00a35a4ca17aasi3741719eje.618.2024.01.31.13.28.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:28:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=B1tOnkNg; 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-47162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47162-linux.lists.archive=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 E0A321F25EEA for ; Wed, 31 Jan 2024 21:28:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D89839AC7; Wed, 31 Jan 2024 21:27:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="B1tOnkNg" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 AB97239859; Wed, 31 Jan 2024 21:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706736442; cv=none; b=BK2T+drZ/YssrJGQP9KOxrCvnCQei5taA9qdsqG5jeKE6+xroMS0h8FYP0hIfOOXek48lRi9oC7hycGbunTqfXOtG7kw7fQBLyXasf+bteGAQpMvKPUycopVSbjFYi/GtLn9PSTcICNrwcqS4bhI0oLsMwfCz2w6rLHhoed69xY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706736442; c=relaxed/simple; bh=4UZvqj+jhQZfdAZz5p5AwA7e6ez97Ilgo+T1DbybycE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r3cXVPjhcNb53oa1Uv0G+mVl6w1OwTal9ECv/az+zIL9An4OQlmpGLFs/QCzlrXeZi1neiDCWEvBSPR+MxrY99oUqRa8/MH/L5FpbTSdQtoxWenSrv5NId5VfSYpRzU942X2uGi0myUiQbRC0btQVL3Mhguc/K+Fe+eoNsgely8= 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=B1tOnkNg; arc=none smtp.client-ip=198.47.19.141 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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VLQx8P119705; Wed, 31 Jan 2024 15:26:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706736419; bh=wdG//Xd6xd9OLxbOdH6iKiAlTR9/FDqTxdm2k9x4EvE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=B1tOnkNg0oZzW2nZkUUoXW8fn2uqwi2vum5KqGt7oRXCfG3mZCs6xKCCl+Pk78OtP JFpXYTMiQJgbNhJkU1sm2tgI8AZfzAcv2QAsbkUVPEK2IXoFdIKveYiQH6rD/Xt7dj 7W8hy9uVAnZ/QMivd0XNo4/9P58zj7UoKY84kiIA= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VLQxUV023324 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 15:26:59 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE100.ent.ti.com (157.170.170.30) 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:26:58 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE107.ent.ti.com (157.170.170.37) 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:26:58 -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 40VLQfKQ028966; Wed, 31 Jan 2024 15:26:58 -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=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , Marek Szyprowski , , , , Darren Etheridge CC: Brandon Brnich Subject: [PATCH v3 1/6] arm64: dts: ti: k3-j784s4: Add Wave5 Video Encoder/Decoder Node Date: Wed, 31 Jan 2024 15:26:20 -0600 Message-ID: <20240131212625.1862775-2-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This patch adds support for the Wave521cl on the J784S4-evm. Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 20 ++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 2 ++ 3 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index f34b92acc56d..7d37c11b4df4 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -784,6 +784,14 @@ &main_gpio0 { status = "okay"; }; +&vpu0 { + status = "okay"; +}; + +&vpu1 { + status = "okay"; +}; + &mcu_cpsw { status = "okay"; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index f2b720ed1e4f..8b2623ac8160 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -662,6 +662,26 @@ 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>; + status = "disabled"; + }; + + 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>; + status = "disabled"; + }; + 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..93bb0cba1b48 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi @@ -247,6 +247,8 @@ cbass_main: bus@100000 { <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */ <0x41 0x00000000 0x41 0x00000000 0x01 0x00000000>, /* PCIe1 DAT1 */ <0x4e 0x20000000 0x4e 0x20000000 0x00 0x00080000>, /* GPU */ + <0x00 0x04210000 0x00 0x04210000 0x00 0x00010000>, /* VPU0 */ + <0x00 0x04220000 0x00 0x04220000 0x00 0x00010000>, /* VPU1 */ /* MCUSS_WKUP Range */ <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, -- 2.34.1