From patchwork Mon Sep 9 21:53:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 13797620 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 C2A7AECE57E for ; Mon, 9 Sep 2024 21:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=p8S4KMALIPhHssUTGXO476kBlOkaDw0F440PkUltODk=; b=c+TuAh9TcaAe40h+nxioa0O2FF QFawzMKdbsu0qblI8K2zG4NDKtOu64x0rhPd5EcT2E0gcqMHrg0vWaEV9qM/J2XKl+IwCQ/CnU9Np v71nEFKRDejU07tIt+ulvmdDF3rKTHr0OLAjjt0V6CR82hrzTKkXNnbnoQkv5aUbTIojSZHVpWInr Dqe38u/18tMu3/I7+Wxo14nyqFp1uKOaAbFdiuGhK8LpaPxde6JYkECCPqufAlJLxdXE0z9QuVuql VNbnUUcG+AYv0ffSiwOEh3BIGyoN1fuRV4U1iI6tjAWQxwhAB9QNofmdZR4vG/KUN6D6tnfhO9pRj shAZ5e1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snmLm-00000003Pu1-1yjx; Mon, 09 Sep 2024 21:55:10 +0000 Received: from finn.gateworks.com ([108.161.129.64] helo=finn.localdomain) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snmKk-00000003PpK-1BnS for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 21:54:08 +0000 Received: from syn-068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.95) (envelope-from ) id 1snmKe-00EUmv-Ta; Mon, 09 Sep 2024 21:54:01 +0000 From: Tim Harvey To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Tim Harvey Subject: [PATCH] arm64: dts: imx8mp-venice*: enable NPU support Date: Mon, 9 Sep 2024 14:53:59 -0700 Message-Id: <20240909215359.780561-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_145406_971455_13E50AFB X-CRM114-Status: UNSURE ( 8.59 ) 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 The IMX8MP has a VeriSilicon (Vivante VIP8000) NPU which is supported by the etnaviv driver. Enable it. Signed-off-by: Tim Harvey --- arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi index 6c75a5ecf56b..f0211a96855b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi @@ -393,6 +393,10 @@ &i2c3 { status = "okay"; }; +&npu { + status = "okay"; +}; + /* off-board header */ &uart1 { pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts index 9885948952b4..8a04b66a4afc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts @@ -666,6 +666,10 @@ &i2c4 { status = "okay"; }; +&npu { + status = "okay"; +}; + &pcie_phy { fsl,refclk-pad-mode = ; fsl,clkreq-unsupported;