From patchwork Fri Oct 11 15:04:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13832647 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 044A6D0D7BA for ; Fri, 11 Oct 2024 15:14:15 +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=uqRNfnCg/qPRyymj7N8Ka+MkmJ8hZ2bKmM3stNf1O/A=; b=N1Vfkox8ViaS3Oa4HdwrsjhXiy O9aAoF5ROUmg/g0IlFOoX5CL3DZvHHifgBw5xwxtce7k+fVPtnI5Y3zA3BFUz/bM87s+tDE7UVrC6 6S/Q20Ya5+8aqp95SI8eKEIUKHDeSsxycQtCvEb3hyJf875fo2h38Snu2+4AVItPfYBk4x3jEkoY/ MxevTWGNof+gbu+hLL5m0Op/UmMOT6uoCf+5DfpmFPTwOD/+HO20cMq7cTCBVb99u4qe5OaveW5k+ 6o3tW7v1EkPT2LAiQFQ6v9kuarsvNIJ5KvM+jJqjk/Xp9FroWyc8OfxXnjBYH4N4ZixY/zHyWasJM IloUwpDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szHLA-0000000GkJM-2bfd; Fri, 11 Oct 2024 15:14:04 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szHDO-0000000Gj5N-3vhn for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 15:06:04 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5399041167cso3440593e87.0 for ; Fri, 11 Oct 2024 08:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728659161; x=1729263961; 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=uqRNfnCg/qPRyymj7N8Ka+MkmJ8hZ2bKmM3stNf1O/A=; b=ULuyN1+PqWugv6aSydviNeMwZvpOKSOlBKOF+JQc79ds021GBGUoLtf4RXdRyrGDxB IzIsG23R4rwpc/06EKQmajRAcYmLMV9lC1cgOz/rVVjtQw0V0ONKS1qUov428iWjERI2 RdVEopYxZbB9aPKc9JfcxHLxPwCKuNIjOPDL5X4N7yPH81oGgrWc83L0guA0exJGEXjs V0MHk8wXBcz9PdctWH5zXfbcQCs4QhGTRTlM2qqwT6Rjz7otIHntpBZNX2zpJGIWic0/ eGTRLYf6CwiSV/I3r02T4gdiRg4t7CW0+fqYQhueBtp7WGnRytBEy8msu5yeC+HulJi1 ISUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728659161; x=1729263961; 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=uqRNfnCg/qPRyymj7N8Ka+MkmJ8hZ2bKmM3stNf1O/A=; b=EJJhv0uROD2+Ks+q91oYVqw/AQBIq1X6+k10/C1dvX1vev2I40zwE94iZ74cLSUWVH TrejjVVCWGN4UpPxziVbHdGPgsLty/SU0XAM8O2iTefjVxdUo4LlsZIdvfPOqClzBqwx r1WPTLCUm/JMk4qVfwLY4eDYHJGc8gen8w9S3W3E0cCF7AuX1WtA2xLTmfOvgxCUuV4o xVbwjni/T1B6i6+Zh2NXQ6aZJ3jwLdSgVuOuuAHjhKNIY6AbC52UGicfyTtXQSI7+Aq3 P1S+BhkUqiFwWbzbVgc+WDUV1Cmpj1sUBCbR8nJH0+949G47hTHzyVEFgpXD7WbAWJja lgKA== X-Forwarded-Encrypted: i=1; AJvYcCUJwFWkPzyiaCGRcEDGuOtLuZ2+0H7+CruQ/tGhGKKwOf2WPrl9dpEEMIm6dQGItMkZZs/hJFMEPaWZoOm76QzH@lists.infradead.org X-Gm-Message-State: AOJu0YxvcJeLeTMLeuPkhTGBxpOZR3fuxwUhxloNponOeYP/CTGLbnLz GQapNOVjdBWhlbtl3oclWh070azZIaT/jhSo2b3KVcUrGF5KmCBn X-Google-Smtp-Source: AGHT+IEKT0YkXSTJh2zrXW7Gn7aBjsFlDsfYaG04GDGzDuTHMb+ZgvkgKBp+eaHUzrpn0jmr8e3R7w== X-Received: by 2002:a05:6512:1113:b0:536:55cc:963e with SMTP id 2adb3069b0e04-539da564a1dmr2617584e87.44.1728659160589; Fri, 11 Oct 2024 08:06:00 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a7f5b0b5sm220879366b.94.2024.10.11.08.05.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 08:05:59 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Daniel Baluta , Shengjiu Wang , Iuliana Prodan , Tushar Khandelwal , Viresh Kumar , Frank Li Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 5/6] arm64: dts: imx8qm: add node for VPU dsp Date: Fri, 11 Oct 2024 11:04:38 -0400 Message-Id: <20241011150439.4027-6-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011150439.4027-1-laurentiumihalcea111@gmail.com> References: <20241011150439.4027-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241011_080603_002297_CC08214C X-CRM114-Status: GOOD ( 11.16 ) 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 Reviewed-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index f8b577ebdbef..74857a94bcd3 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -581,6 +581,32 @@ 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_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"