From patchwork Mon Oct 21 15:52:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13844378 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 C95E8D15DB4 for ; Mon, 21 Oct 2024 16:06:17 +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=2chh1gFajejKZHrarLEBUexr/8trAcrKkIwoVI3Z4qg=; b=lTPhbBmd91GfWh5bzadxboFUJs xMNLiD8iRtsC23vSsKbl/HXLBt3OY+QCAvrBMwOXZRwyEQrn4FLNxw4a1/b5UecPHFlnO/5zMa955 iDtw89IKm8lW6MBThZzHmL+YiHNDxWvocj2eoKKG63ZtqruCOyupRpmvDI5vNbRGwSogtwnr+awjt co09N/0KlvAat0eI7nwHDY6DqGarxOc6EgmClcgkJfN6r6hw4L2GJG154UB4H2a1CvqVFT/5pYYMr ZuHE3Jq4bHoEWxG3kMFMbAGM5LE87RWHH+S39XT3f8Njox73M3ACKRB/qXrFWzw7h1t6x9s1Zfj1K t1cuKubQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2uv0-00000007uM8-06G3; Mon, 21 Oct 2024 16:06:06 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2uiV-00000007s2V-2mb0 for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 15:53:13 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a99f3a5a44cso540278066b.3 for ; Mon, 21 Oct 2024 08:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729525989; x=1730130789; 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=2chh1gFajejKZHrarLEBUexr/8trAcrKkIwoVI3Z4qg=; b=Vhk4IjI75hmWRzGgaQG0ua7ya53mupLZ/VyTUYL52cm3LrKJgufLKH9uT3kEL0VGCc lt0za9W1SfhecaouBg+pwvFTxAMmvRoXRZaWFtscmSKvD0yH2FK2N5VcfDaAGxRbNvun Gv2CF/FH9y+drbiW4u95d2VJh8mofq8fgEkT6ITG91K6luL7r2lFtDbSOUmj6rzLkkaB swt7v6AYKv/PPogxOxEBupTeWVYRgLW0M+SB9ZgWtQ0JQR+faZ/WWgJLXMckYgkmx79t a3tCZ4laoo+zCL4jFQxD/15ZzTNxW2A5sizdH8hll93kjGjvU7x/RDHqU3iLoCZQ03Kj FQeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729525989; x=1730130789; 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=2chh1gFajejKZHrarLEBUexr/8trAcrKkIwoVI3Z4qg=; b=UBJVr8NaO8Qn3dcM5ZeVRqonRLfiLMuMZNof9/NUPJV7MVhF76mC7zE8Jwp3++HSOW zufN7HeWQvzp/q+59uHKoAqu2v2cw9Lc/O06c+ggwG6mMguj3zsxeDl+xqEW61evXoqq 2etDn7KM9nWMulIWYiPAuHdq3XehtiH+k+NwofnTiqg5lpLcIPxOkYVzV88ahEjdSAM+ WRR88HO0GHa7IttcMharafsUC06T7uLHXAN96/yFFKP6scySYb8iDfZS3atfIXJqfAQy nx7kaBXLtrg2C/Qb3ZDBN36h51yu4+JHEHzQIdzCL//MTWCf8uQGc+gYLZv2kwLVhOy9 AXJg== X-Forwarded-Encrypted: i=1; AJvYcCUAybW6pmu+XmwgEVkmBnCvt86cLKGfz8xNKLflZv2mGu9yb5SiPHG0esOv3EodxLt1tDYGGORFTbjC9oEmhAqO@lists.infradead.org X-Gm-Message-State: AOJu0Ywb4QyOQYtnFT04KlhY4t5yt76U86fksyw2POJ+DrOElYe8hpeG aCDQBdrM5ASva/4hv+Vp0Ike9zJDP6dD2whgkDAMTr2dhW4bx1d8 X-Google-Smtp-Source: AGHT+IGakfEy8rOuT2uN5Y5ML3kJAkTNrahvSRBkdLnfVpcFg+EpcKzRgNgLvMofjovBFMrKtZNDzA== X-Received: by 2002:a17:907:9628:b0:a9a:e9c:1d8d with SMTP id a640c23a62f3a-a9a69a75087mr1048668566b.17.1729525989094; Mon, 21 Oct 2024 08:53:09 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a912edfd0sm218614366b.67.2024.10.21.08.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 08:53:08 -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 v4 5/6] arm64: dts: imx8qm: add node for VPU dsp Date: Mon, 21 Oct 2024 11:52:20 -0400 Message-Id: <20241021155221.112073-6-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021155221.112073-1-laurentiumihalcea111@gmail.com> References: <20241021155221.112073-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_085311_724090_37868664 X-CRM114-Status: GOOD ( 11.40 ) 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..abd7cfd9a6c2 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>; + mboxes = <&lsio_mu13 0 0>, + <&lsio_mu13 1 0>, + <&lsio_mu13 3 0>; + mbox-names = "tx", "rx", "rxdb"; + firmware-name = "imx/dsp/hifi4.bin"; + status = "disabled"; + }; + }; + /* sorted in register address */ #include "imx8-ss-cm41.dtsi" #include "imx8-ss-audio.dtsi"