From patchwork Thu Dec 14 13:42:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 754565 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="lLk8zjQm" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43AB126 for ; Thu, 14 Dec 2023 05:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702561382; x=1734097382; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iXSwRG/rx0OyRIYjDnfQMbcylm/rWyCaSZ8s8e+AQ8U=; b=lLk8zjQmiZe0k/Z6Bt0rlAb/aV30gu60LipuIuo4OKF24jm9QMfMUZ9M +d3dGMgf0lpDKRKfm/Hgvkybo6KSQZH7Fm3md56SqTR2iDkzWOYnxwohi r+7Ka3IagqibEV+SlOpHaUMYVVVRTGuXEWOiGSJmZvjvfWLkSLecOAfTz E/us6GJYtpde5sTwnTrV954ubXbGQ8uwPoZYPq5W4ZVXPNfRmVdexgmf+ zvv/y5Ak8aog77ZVKNkPjZjc2skBfAZZ95oaOFsk5jegVJ8Nhiuy4R4El aWMLt9TIBGmJsQA1sxXGBga6ZMJSDEfnQyn/Hgg/my+5BJprY8qIyA1jP g==; X-IronPort-AV: E=Sophos;i="6.04,275,1695679200"; d="scan'208";a="34510776" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 14 Dec 2023 14:43:00 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id F1376280075; Thu, 14 Dec 2023 14:42:59 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: freescale: imx8qxp: Disable dsp reserved memory by default Date: Thu, 14 Dec 2023 14:42:59 +0100 Message-Id: <20231214134259.1933541-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Even if the 'dsp' node is disabled the memory intended to be used by the DSP is reserved. This limits the memory range suitable for CMA allocation. Thus disable the dsp_reserved node. DSP users need to enable it in parallel to the 'dsp' node. Signed-off-by: Alexander Stein --- Apparently imx8qxp-mek is the only in-kernel user, so it is enabled again to preserve current state. arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 ++++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 6c3d8715bc11e..7888570c15e19 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -50,6 +50,10 @@ &dsp { status = "okay"; }; +&dsp_reserved { + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index c80c85a4b4059..f014d0a764ea4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -184,6 +184,7 @@ decoder_rpc: decoder-rpc@92000000 { dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x2000000>; no-map; + status = "disabled"; }; encoder_rpc: encoder-rpc@94400000 {