From patchwork Wed Sep 18 18:21:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13807087 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 42307CDD54D for ; Wed, 18 Sep 2024 18:27:51 +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=0vwtyPA2l11CJb7SVjnOfGfynXGLzK7+CceW4ZxmWwQ=; b=Dpn8X6mRxRMnGE98vLZYB5wL5c 4l0Der/4e+urSSyJuwvU8bZzGn8xEwmkLJKhdJ1i/JQHePvNSLlvhAYeXTuOwBXblF6Ksw9xNZ2Qg 1oLcAdjgEC4mH2sZ9W3NF2FXkf/j0104KbGXdf/masS2Wf7iEZ9SjnohYx2mXn7smmUFy/POIEk8Z WfXUUQoyiMDPP2y10W20GYD46bsYv/22vJWW8J3nQYt4fM+v9hzcX3/Z5TzQB7VwMaqmgKWAE2Hck Xs9uiR8EhKpHtB63ukhAObQuWBlKD97yRYJk9zIU919PiifdE7PikDisq2GG+dKlVvmau7Al+OsJd W8mvVrHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqzOt-00000008oLC-3aTL; Wed, 18 Sep 2024 18:27:39 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqzJp-00000008nhU-467B for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2024 18:22:27 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-37a33e55d01so32658f8f.3 for ; Wed, 18 Sep 2024 11:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726683744; x=1727288544; 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=0vwtyPA2l11CJb7SVjnOfGfynXGLzK7+CceW4ZxmWwQ=; b=PSFH3Oj0lpyhxAd910s1rFbjR073grXJF2i2pUNz8wXhdSvouTxArAkyRqR+SNnEaR TmYqzVKo0726kI9QUCBg0UxS3kxRrx228drwSXXrCwO5GT2usi82MRbJM+Kr5vMFdXuY Fj89W6WiVJoQXqCx6GhQ6XYA3jkO4w2aKvuYIxCrju4zBqv38WNDXXCXnGbkWdjx+NLM hJV1TQisVvoIOsBZjug+rG9j28MeVgfUgxymjvP53sBti6/ilZvtBkM62xq+mJHWLRsS ZF//AL15gx5u93eVh9HuYGI45c7o4+EmCtoXuMVX976dQ6/oXhaSnP89Ab6Hf3hlU5Pk jQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726683744; x=1727288544; 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=0vwtyPA2l11CJb7SVjnOfGfynXGLzK7+CceW4ZxmWwQ=; b=k90XKnINdyge7zLONHLZ4hxErkp2Vh74KNkgJkug3NmNAo2AFoL3jAC1VIU8iVa6yz q0SgQhzgtPjbj8r58u7FTYY9RMeSrFeYJ+U32rq+G4dZhd4PEdssXXk43Vbo8KUxc8F/ y9yEsDyyH9uVJ5leGffL0s8BBx5LxQzh0kssmxcSKJouQpA+gfkuAh88Yqe9SeCjBNVg WO32xcIMAOd7dvGXGedWKJHLUGH8SJGogEiquXbIEWlKstZnheAUu7GCRWI6Q2eIGtrN coOqHnXkZUPnmBArncU4hxmEXrOrOImgtggwg3HK7IbPZadLapHsnbvGhqeY4qJuQaLP +N5A== X-Forwarded-Encrypted: i=1; AJvYcCUxRbbLtwmrZ4mRAzBtbIaJxvF9PYvzFGLCW83dafZ0DIqbJGR0yFTxGDZ/PmxnVcHN3k65tdPVPPsPmzPzva5y@lists.infradead.org X-Gm-Message-State: AOJu0YxYDxySxj05VQrBS4bX+cFzpCUjxRTGjpuQXwhw07BipH9FbaX8 m/S+kAfbWMkhZyAqL867J7nWd+vdnz4LS+gizKOOuHOzs/u3mapK X-Google-Smtp-Source: AGHT+IFrPlkg7pCSWwwa+h63rcteR1uLcfkEtFxNrvhuLVGMph3cB8EcAFzN/c5f2X/C6FPmS+VNbg== X-Received: by 2002:a5d:5c88:0:b0:378:fe6e:50ef with SMTP id ffacd0b85a97d-378fe6e51c7mr3605756f8f.5.1726683744042; Wed, 18 Sep 2024 11:22:24 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c42bb5312dsm5200146a12.23.2024.09.18.11.22.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 11:22:22 -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, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: imx8qm: add node for VPU dsp Date: Wed, 18 Sep 2024 14:21:16 -0400 Message-Id: <20240918182117.86221-5-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240918182117.86221-1-laurentiumihalcea111@gmail.com> References: <20240918182117.86221-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240918_112226_139637_CBB5E84F X-CRM114-Status: GOOD ( 12.57 ) 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"