From patchwork Wed Sep 25 23:20:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13812534 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 2756ECCFA06 for ; Wed, 25 Sep 2024 23:28:14 +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:References:In-Reply-To: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:List-Owner; bh=/BZ5x1JardeLzM/m5KAAa5mcr11Ogt+U3TCpeepywJI=; b=xNE4JCFUxB5JC2IFUQchhEWyma ySyYmniM4NhkGn01NEsA2onKndN1exJY/lY1Tc8EBhV09+SRoISleYmMwHYfa+mqbyQ48mNhjLQcy 2uBUzCg/YFDeNbB2KqM9b7ZH07EHu0+nckf0ldobfhBw6j6iAxTZo0iANxcQkZ7reAGKQojxC+mN0 Pc87g3PEJU2uq0v5hOZCA0VZIhitYcL8i5p8xZXImGkQd1Vpzknv5kHPbp2eO5Y9+ItJbz0/EBXnM EuONRgeideoLK7oXkS5ObRswGaWmv7uAJ/KQrZUM996H09dsZOPvMF3ltVJ59KtGFLTOLpDDHfgLp qERJnSvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stbQS-00000006l2H-3Hmv; Wed, 25 Sep 2024 23:28:04 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stbJs-00000006jXz-2EyP for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 23:21:17 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5c42e7adbddso360956a12.2 for ; Wed, 25 Sep 2024 16:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727306474; x=1727911274; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/BZ5x1JardeLzM/m5KAAa5mcr11Ogt+U3TCpeepywJI=; b=lCLDF21CK5XY1Vf9+jJfeuZTuwoB5PRAJWbNvuiuw5R1eBU6+PM8dRV+DbnIPkvM6y 8nGjDML4qmbFJNmTO55qZZppc7XUMn7YBW4AqJGV1U+H+9CucRQRNKKGH9poOmNcPbsO fXhiLzkcsUpiGympSiNkMKpHttkymnh28C3sXoNiwN+na2rI1rGE7L3GNmMnkKEF0kBk h4MP6Aw+WNUfYfwmZBwdiaBxXkERmJrVA9U0L/og5IApcd5rbD1WdbuiCOoeS3CbzU4h ZHCDwYeCkJ3ELTfGsdqJWTn9CbSbc8K4AtiUJJu9uhROn8jH/RaljqH/PrQvD1G9KqSf j5kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727306474; x=1727911274; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/BZ5x1JardeLzM/m5KAAa5mcr11Ogt+U3TCpeepywJI=; b=sdR/fhPB9AAZYbUmg7k+ZL9/5JIbCNlf9FzxJkOImc5ddFXBdOpo8jt5AqDRszc20V iSHO1ExNhVFhC8T5uDJjTXdLR7oFSwPKHp+getjOj7CpkplU/Qnju+jtQ7qSIUvcyrmT CRGnp5YoJ6owACcbF2X7rYE/TJTySxhcffYYNYw8JPrFtDIEscKzZSHPj9NbrTSw3E6R RGysGNpGa/2xbVf6duqi3qTmZV8HQaBF8LxBMn5X77NJapDT024Ankw/h3y6/ycdCDOD 3+LqCnKyh7DLKZEN+2FDfKtOh8NbvPVFSYjI+OHof3BhAXbC8AGbfuyFnQDg7i4v+sS9 8XoQ== X-Forwarded-Encrypted: i=1; AJvYcCVCstLqzCOTlPQ8uaAX5wNNcffd8BM8Lrr5RZhvGwGFBwx+cJDqOfmSRuRyYV9fTjFjtjcqXiYigeBLX1hO5njh@lists.infradead.org X-Gm-Message-State: AOJu0YwXUwOtNyvNGUFSRTogJpxzTk4rzjGseftbgZvKVKa0rdwr0hSr mtz+PtKWtJKjngFQua5dK8czCyU1hc0V7zDjgC1kpgJecXh7RYiIo/uH5sCq X-Google-Smtp-Source: AGHT+IFSfrNX5+ZdgLCD+cmSwZmmpfoMEsHjHpd/2Frq+M22Gl1QZHtrdQuR+01rVBpVHguU2B3qQw== X-Received: by 2002:a05:6402:51cd:b0:5c5:c2f4:c4e2 with SMTP id 4fb4d7f45d1cf-5c720764447mr2105166a12.36.1727306473734; Wed, 25 Sep 2024 16:21:13 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c5cf48c315sm2481026a12.15.2024.09.25.16.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 16:21:12 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Daniel Baluta , Shengjiu Wang , Iuliana Prodan Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 5/6] arm64: dts: imx8qm: add node for VPU dsp Date: Wed, 25 Sep 2024 19:20:07 -0400 Message-Id: <20240925232008.205802-6-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240925232008.205802-1-laurentiumihalcea111@gmail.com> References: <20240925232008.205802-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_162116_603397_6B777223 X-CRM114-Status: GOOD ( 12.10 ) 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: Laurentiu Mihalcea Add DT node for i.MX8QM's DSP, which is found in the VPU subsystem. Signed-off-by: Laurentiu Mihalcea --- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index f8b577ebdbef..ae0165a44dcd 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -581,6 +581,33 @@ mipi_pll_div2_clk: clock-controller-mipi-div2-pll { clock-output-names = "mipi_pll_div2_clk"; }; + vpu_subsys_dsp: bus@55000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x55000000 0x0 0x55000000 0x1000000>; + + vpu_dsp: dsp@556e8000 { + compatible = "fsl,imx8qm-hifi4"; + reg = <0x556e8000 0x88000>; + clocks = <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "ipg", "ocram", "core"; + power-domains = <&pd IMX_SC_R_MU_13B>, + <&pd IMX_SC_R_DSP>, + <&pd IMX_SC_R_DSP_RAM>, + <&pd IMX_SC_R_IRQSTR_DSP>, + <&pd IMX_SC_R_MU_2A>; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu13 0 0>, + <&lsio_mu13 1 0>, + <&lsio_mu13 3 0>; + firmware-name = "imx/dsp/hifi4.bin"; + status = "disabled"; + }; + }; + /* sorted in register address */ #include "imx8-ss-cm41.dtsi" #include "imx8-ss-audio.dtsi"