Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1272659pxv; Fri, 16 Jul 2021 05:50:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZYCRxJ/jPan1SjAroxy1LSqWuGIvmif+FdUX5lDuo7PfkBN4XmneGLrpaLzAhwbsaNGG/ X-Received: by 2002:a6b:7114:: with SMTP id q20mr7306942iog.71.1626439814834; Fri, 16 Jul 2021 05:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626439814; cv=none; d=google.com; s=arc-20160816; b=iHjd9/PfU2rQ9CwJHxcWYcOqsgOuAGtqV4MEsF6ceJAuNfCEFrbPb4bf6dsXiPPutX t6dxEpGYc7P/yg9RugAYV6lTNzJOww5UPkwIhEXbDUyflTRKajz5h8qV+CZVxLv3JBoC YLQxaEegO7cS1EsZc5ie2Ss0cfDqRudP3P0WW2NpYjgczSOET/cZFDpkzyE8wCtvU2Lo i45/U9bKypTExI8TI7LeM6ONb03t5yoSE/GHSyiAZFqz2nPDis5+oDoLlrUsKFIbPs0k CxLcdVsn4hWxMzO7jwF5bE0zd+HSZKq1gId0lTsOxgLBF9KLIa2KBd95CQGcbL15+FWJ BdFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Xp6ybbuSHz6rB1wMPugmVWZSiMCkXBe4SRuGr4tycjs=; b=0H7/RHzLaREBRHVFZ6ma28YD92HX/w30iv13U4nLvHHjwFYDmBA3/nn6h/VxodJUfi Z4t1nN1EPqi+I94ynWHrO7LqPH0Rurx2ljylnzaASJFRa3niTGYZMjcYUTkI9GJnFgup uXu5dcHsEQVWRWtV68gRc1ySq3YQiQmZL59l50mbZNchgPdQ4o6pnX+3MIkTKB87Ehsc FOgT3/Wp8Yw6cY8bL5TaBxqEC9GxuUdsg9RXsEBH1p4K73zW8XaDBSVcPIs7yUbsO7RM qEW0kM1qWz1YzoTRsGFA3RYYxLUhveiTPwS+rDMDx51SK08KoPZzqd7yaCdCQ4u/S/aR mfrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NVfcFSDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si10322804ioo.61.2021.07.16.05.50.02; Fri, 16 Jul 2021 05:50:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NVfcFSDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234100AbhGPMvH (ORCPT + 99 others); Fri, 16 Jul 2021 08:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234357AbhGPMvH (ORCPT ); Fri, 16 Jul 2021 08:51:07 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B762C06175F; Fri, 16 Jul 2021 05:48:11 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id f9so11941764wrq.11; Fri, 16 Jul 2021 05:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xp6ybbuSHz6rB1wMPugmVWZSiMCkXBe4SRuGr4tycjs=; b=NVfcFSDxbEkQpFfxz0InCCXFkLc89/+kOH8YKIPIe1WyjGm6/pOJkrbHb6akM/1pt1 JnTd+l4XoGRlMlipVN221E6pdeGL3JS7aso7ysSd5nvG3bYt0zGQWgFaHVtQOeiku8w5 YhKQqR0hmb5fXpTbb/FF7vdoR2MKUSUYilGLmwWDK4Qmf7Iev4qwP8ECmrBlm7Auitlu QwVuO1YmPWiS4GYmkRjWn8sDASwmBK7p7gOmslp1WzLj2s7DN4gLG3rO9yEEYMZy8NhD TbCxbX/gW2Gxrau1Mza/2ZKpQnSw3m/2wjxMGtoyC3iCC10pMJrkeQQqScaSQTLG82O3 i//g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xp6ybbuSHz6rB1wMPugmVWZSiMCkXBe4SRuGr4tycjs=; b=cjgqduAhJ1M1y82UzfBS17WbGKXwj9QCEny9fxrjlcqyNV8mR3vPM4u6mNbpxBQiOm LTpQISZokBa8RQgEHaektrrR6HYdwmrVz81YM5AB7+vi+6VgnC+5QB5a2deGEF5E6KW+ fDjfwNPpFQ6+y9+yZNuIAQ6Kp3gchj0X0JHZ1Vk2aCZ9IKVSQ6H55CjF8KXnbIjsHIEK dRSbjA2bDa4CMRDq3FaibaQA75W0L69UAGzB1sg2dmrlj9TRuCYC9Q8YqP7HLr8/8dUl n2ZhO6hmcdue7dqImsntv3IT2UPz4SV4RBpL/KiuDpsfHvLg4GvPf/4oCUX9QLPwIKb8 D0NQ== X-Gm-Message-State: AOAM530jLuDgX7nbah270C7jnZf2UlguxL8EDG2XtWbnDDFD4zGKi15P wlUKY0LSj3nsVkz4rf0uysyJ7vZluLP3n4tPs1Q= X-Received: by 2002:a5d:4a0f:: with SMTP id m15mr12126769wrq.350.1626439689741; Fri, 16 Jul 2021 05:48:09 -0700 (PDT) MIME-Version: 1.0 References: <20210715115853.749025-1-daniel.baluta@oss.nxp.com> In-Reply-To: From: Daniel Baluta Date: Fri, 16 Jul 2021 15:47:57 +0300 Message-ID: Subject: Re: [PATCH] arm64: dts: imx8mp: Add dsp node To: Peng Fan Cc: "Daniel Baluta (OSS)" , "shawnguo@kernel.org" , "robh+dt@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Jacky Bai , Joakim Zhang , Alice Guo , Robin Gong , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Daniel Baluta Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 16, 2021 at 5:05 AM Peng Fan wrote: > > Hi Daniel > > > Subject: [PATCH] arm64: dts: imx8mp: Add dsp node > > > > From: Daniel Baluta > > > > i.MX8 MPlus SoC integrates Cadence HIFI4 DSP. This core runs either a custom > > firmware or the open source SOF firmware [1] > > > > DSP device is handled by SOF OF driver found in sound/soc/sof/sof-of-dev.c > > > > Notice that the DSP node makes use of: > > - dsp_reserved, a reserved memory region for various Audio > > resources (e.g firmware loading, audio buffers, etc). > > - Messaging Unit (mu2) for passing notifications betweem ARM > > core and DSP. > > > > [1] https://thesofproject.github.io/latest/platforms/index.html > > Signed-off-by: Daniel Baluta > > --- > > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 28 > > +++++++++++++++++++++++ > > 1 file changed, 28 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > index 9f7c7f587d38..264ba540f363 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > @@ -135,6 +135,17 @@ clk_ext4: clock-ext4 { > > clock-output-names = "clk_ext4"; > > }; > > > > + reserved-memory { > > + #address-cells = <2>; > > + #size-cells = <2>; > > + ranges; > > + > > + dsp_reserved: dsp@92400000 { > > + reg = <0 0x92400000 0 0x2000000>; > > + no-map; > > + }; > > + }; > > + > > pmu { > > compatible = "arm,cortex-a53-pmu"; > > interrupts = > @@ -698,6 +709,13 @@ mu: mailbox@30aa0000 { > > #mbox-cells = <2>; > > }; > > > > + mu2: mailbox@30e60000 { > > + compatible = "fsl,imx8mp-mu", "fsl,imx6sx-mu"; > > + reg = <0x30e60000 0x10000>; > > + interrupts = ; > > + #mbox-cells = <2>; > > I think better mark this node as disabled. If its clock not enabled, > kernel may hang. Good point. Fixed in v2.