From patchwork Thu Nov 30 22:39:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 13475126 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 153D6C4167B 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=KG263XwRTvDv2tF/oXt5vAR9S0CaEdEe9iLzcS6r8vE=; b=X1tyMwdQO7E7SI Kypm7UbWEO4NkBtIQvLcY7U/OFzREksDLDSyWbMrzyPWs+PdtK180nPjfucM+kwjN1Jy0A7NwSg8X /0fDiB1qJejCBjSsX3SJ6eeCROM+7LdutBopYPtYE3T5Z3foUzhcI66a71CWzcnSHzbUCO1+29Hej uQVA2HXmGmL8zkXVMUce9yQliDp3fJjDKUUjN4BdTPdZdlMf448qYPFEd0GnAHmnFvViv/C8SJvGR q7DQNFUCHBzN0tz5xO/heKJb8NNUIhG5vINAsAyLHzhuk00h/lreVLHLpFy8uNv1oy2tWGpzBki9z ALpfw6ulzEim0V+B1lcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8pi4-00C4jg-02; Thu, 30 Nov 2023 22:40:40 +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 1r8phu-00C4gx-2U for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 22:40:32 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AUMeNsJ084913; Thu, 30 Nov 2023 16:40:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701384023; bh=YkgTDEwMT/Q3OA6X3ciJsAeo5UeZqxqohypRJ6GK2Wo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UKczHGUSdDcYLSF02RQekyfLjB5qmdr3kPcQTs6wNEPFzAeeoPZJ95HdQbk1OLCWv zxJxAWSaS18n0vP2ZPvWw4hdAgYqUtJxAMsQabo0q+unlgRCJpYX2s3o2ioXiAEMd/ PJfUrSvZ6orFj6OywWxaA1qi2lHP50Z/y401Sh6s= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AUMeN0N009785 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 16:40:23 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE104.ent.ti.com (10.64.6.25) 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:22 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) 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:22 -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 3AUMeGgb067256; Thu, 30 Nov 2023 16:40:22 -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 3/7] arm64: dts: ti: k3-j721s2-main: Add Wave5 Video Encoder/Decoder Node Date: Thu, 30 Nov 2023 16:39:55 -0600 Message-ID: <20231130223959.3837222-4-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_144030_890556_5ECC334F X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. 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 From: Darren Etheridge Add the Chips and Media wave521cl video decoder/encoder node on J721S2. Signed-off-by: Darren Etheridge Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 4 ++++ arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts index c6b85bbf9a17..0b1bcb4b5b57 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts @@ -502,3 +502,7 @@ &main_mcan5 { pinctrl-0 = <&main_mcan5_pins_default>; phys = <&transceiver4>; }; + +&vpu { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index b03731b53a26..17de34fb0e7b 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -716,6 +716,16 @@ main_i2c6: i2c@2060000 { status = "disabled"; }; + vpu: video-codec@4210000 { + compatible = "ti,k3-j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x4210000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 179 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + main_sdhci0: mmc@4f80000 { compatible = "ti,j721e-sdhci-8bit"; reg = <0x00 0x04f80000 0x00 0x1000>,