Message ID | 20241125152427.136883-3-daniel.baluta@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011046.outbound.protection.outlook.com [52.101.70.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AF031B394E for <imx@lists.linux.dev>; Mon, 25 Nov 2024 15:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732548207; cv=fail; b=S9yEPGh7d26qkRMWAWX43UmQQjLS5Uk3AsiimxHqo7TWQaXZMAqcdejDK1TLDpPXUpchxVvbvdsBh69QCES9VaCbaCKWQd1r1ce5j1Lz948FR0SG1CIQrTfQR4OzZgvJDun+59osaZC/JMr/FuYIHKgp5JFVID668QrqM0tGvZM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732548207; c=relaxed/simple; bh=IVgjR2Mzl/YvOZfsHBdaSKujhmcl+NncCaS6S4YT8Hg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=eiKA7rglsOjb0fxxzKYb6aW3PfOkXbanMnlyieB7QI4RUZAzuwi/4FykmL4Qzb9E21rBOM1I9CZARJPrijcgfQyHhN7ClqFhvwe0ENtyszIJnkBC8l5983ju83Oo3+ogn/rnqu7t65yHSThy/muCdV+aI56N80OWhlZsLDW0xCk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=FbYSwUrJ; arc=fail smtp.client-ip=52.101.70.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="FbYSwUrJ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I6FMV7hRsSGO+v1WCOFTnXXuzL37LbD91pIVM+DVIgNsdUgdiy7/dc43ZpXpfiKsyqMyWo+pHcr/G5aARHEtnzmR3hOsGKGUJJbAvXZkdrO2HKkugKjkwuU557nJAoSattjG6R0L+SD/SV55KBYMxt1sMFon8foPXr8/HjdiRMDbGdobuYy5c6XWEAaY/1DJNUerY60DBF0oKPUTITc+UiK0rvVas+qSmyFPVR7aT6fZFsoaXEky0UZiFbiLRLhMQuwAXanlsyJ0GSZbvhkjqy/LGjlQqr8+2xjNPyBy5GH3toS6uhFVNl91OneLF2gdoA4MQ/rOVPljxB942GR/WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=f+p9OJMNzuQ79BrGl3B38Q3B472y4pynXAfVAMB2HMU=; b=IPUUEhCzcLEWwjfuZeiRqqCxQa3tB04uJcQ3Xad1Ul01kqRNHjfYimhFrig9f+3k7JC77s7W1Wlr4qz6zsJCzB3tZrIa1g2V3zQ8L0Hwk03o5MnIH+v/bBRuQ3x0ORMZvNqoEAjHNtyaptREY93hp0Gyd8QxZ63rx8QqLAwcv8XMhlz1pyIKorAhL0C62GpaQM1rX4wWkXeZ2aIq+dlzqw+nwnjJD7qHMx/IntZ7YAi1uvLgadDhC4daSRr6UBkNKxwIssEIv1MSGfMaMdtxrGVs4gfJ6mFWLIlQ93gxcbKO9uLu7fzqiOz+3QfjKsJiGUZbn5JrDxGx2AvPo0USKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f+p9OJMNzuQ79BrGl3B38Q3B472y4pynXAfVAMB2HMU=; b=FbYSwUrJyiUC0+o/nh3q+k1mVuMvPzRS2fwrFEZ/LtfH9hB035704pWoci9OI57xJH6AI7gSnfC/WCTOGVVokx78JJvpB5MZGTmedJ7Jwh89llpb62yNXwZ8XaPYLZuxT6KyMcn5S2sw2hBVzTPw7o9zENnSGUubP8l1LlnenL9Okrh/YRlAbqmgji8s39qljwzrxmBDjE5EXhrnP3Lk9gC/pIE2FQ/n/ujAgJCwtoFNb+FvyG7O+E43L4KBypbJ6zrxqXXfhqq5fY08CxYiy3Vi2jBOtb4KNEjy32hqNt3oLQJ3ayzD+NRQb1WtQnE5HHhHCQNUgMgQcvnzaHSPTw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) by DB9PR04MB8075.eurprd04.prod.outlook.com (2603:10a6:10:25d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.20; Mon, 25 Nov 2024 15:23:22 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%4]) with mapi id 15.20.8182.019; Mon, 25 Nov 2024 15:23:21 +0000 From: Daniel Baluta <daniel.baluta@nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, frank.li@nxp.com, aisheng.dong@nxp.com, daniel.baluta@gmail.com, laurentiu.mihalcea@nxp.com, shengjiu.wang@nxp.com, iuliana.prodan@nxp.com, a.fatoum@pengutronix.de, Daniel Baluta <daniel.baluta@nxp.com> Subject: [PATCH v2 2/6] arm64: dts: imx8mp: Configure dsp node for rproc usage Date: Mon, 25 Nov 2024 17:24:22 +0200 Message-ID: <20241125152427.136883-3-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241125152427.136883-1-daniel.baluta@nxp.com> References: <20241125152427.136883-1-daniel.baluta@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BE0P281CA0003.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:a::13) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|DB9PR04MB8075:EE_ X-MS-Office365-Filtering-Correlation-Id: a3e33db3-59a6-4ec4-95c4-08dd0d6518bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: VpgHJxndmdevOLg6w75zZxjmQ1Y9PhawBlBkHH1g32DjB+w3KMAhAoyRKsKCpahHbQAXixcLyVUwfdq1waD44SR2GKJU2tut92drfOXrfFpNbt/rYqvZ1okTHm46sIncQ8afFPyVizoxNa0G9gK+TgFfwUvcinj7p5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KsYfK51aqVJZtGSCvl/xwnTJSAl/vyPzHnLtbYv9NfzH/daT6RTPndvA+ZgKeeCf/lFzhX2BCKnieDcYtfW5G8gkA2cHJAMWb71x7hXgFXNJqx3q5kw3ln0hWAX7gWO1o7wk4VPIy/d428x6UULvJTuXM7QKWsoxWNCOFKzigxirIRMkiweA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8247.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QbNYGDJy4FJPFgmLmpNNfjgFx+nxJrjIb1DDpTUDtB0Ik8cM/PJxyz4vyuDQ1/wWBFjoQbTwvTIfbHi/RuWja7zgkuwZONZDl3Yxj2WTMXoqWmQyPFWFJj0KC3Kfp1aHNyXvNElIFLnYgDjiJ0+gy0cpcoXHBP7hLtec+nlgzEOvTHbQexpiXvoHwHFzzTdp5Tvlam4OyLudJ5qpEEtAVxh3t/CKG51wUhDp6fp6aLjCkObsEs06veuODsxSegLsXJYigxttnCbXoHAjS6P3Om29LHReU7Hn1t+tP5B7DzHOPp2t9NYBnAQiXZBFoTjkvYddd+Zx5IXjTh0Z/+MFBcQEXeGD3IvYEO/M4pnjb0xgZ/7arASNN2/gCCJsyLeLu1DTcMCPn63VTlX4kzUWSpY6TgiUjV9UIT3rfOw2ChNQqBnkmlMb2aavC/BdSwi+fuioVxwUyyXU/CrfExYifBtAmzXTqSzQVQ9ot7Obe7UXEkMW3hrjz8AXSgY4H5USNU7yye9yxLs80a3eK+yvZubCig/fs3/FVug5LpnU3rV3hHC89aNbrbU2WzLwEW9lRlLG9fEgmernUrjtBIC73yei9k6nuDyOHL+4wdGKp/1RQY4BOllq4tFrOxIqnj4dvg3E6kgNm6FObga0AI7YtclHzsZvfLCt7RvTfmG5mb3D40oGl6tdDH0dc8hJ/M1m5jttPgL9wRUe0u/6Et2dntjagY1DoqKr8DVutzTgC6kBy/D0pJ56/AgdOYlbVs3SxIVYGhcYuGW8Lm1C2o0AL+y1DIPye8B2k6EQPZpkI6wAQWDdBTkT7TLhrNhGf2GgCVBkIK3K/yteljrWU39SPF0ZGjQomR7IMEWl0WLoldmACw55j4pgMbk7Vae1aqMmmaHy/Gf8VqjOvBiv55/d6QQh0mKU53htR+NQO5q/eU4B4Xziu+ZsaRvmnZd/itPPy88xCEv3JzguaTV5OBpyN1rsAJN+lre03VMFxwCw9jpzUjg2xioh3aFubpmpt6xXp9y63QDh6BP7bVegYQJE9YOV4PW4+B5qkBBUnUA2jbtWOR8KUx+oSwAPvMhaJ5gWqhoMQKSsc1el9JMoMCjUkGNMmV5Gw9iEAS0i5i47ZbBhlPVwp8sx9vv7zleQf9bfSgknJ2ymDw+HQ87+bQeatHj7lQoHYpcKpwVlbih8P/ZoWH5f/7OYjNOClGLzv8g//1XpqAE9G/2Ic1A4redWOIJ+taea4XHXj31mMHBVygEKFsF9h0TXbQDe3l39mBWLPLEgc0EsdW1AlVpxYI4rbXXuK6SvmoW3Jn9i8FZnp0VgHIAgZzDHvqz5Asn20nsSnxSR9TwSYVrdPRggwF7xw3WXQKuwqdhk/MPLY+1/wcUbI4UvHlct3gWBsgaUN+7yhmjWJXBktT+dAZXCqWAwHKRWTshfaOooHkQrJ1+q2VEzIiNHUEuNarReNEu+hdKx/OPOrgaZllYmBs0If7Po+rlSD1/3ADH/XFLhvorS/MOQ0eVSIxXKIk9LlYau2zWtkJY9Z/FxLTIOivJQanP5ebe1w3lqDOm75ROg4FUYaGtQRKQKjpO8oPg9TTg7+XX9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3e33db3-59a6-4ec4-95c4-08dd0d6518bd X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2024 15:23:21.5933 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HQlOpTqc69wGUGNgVFb3uvytdjlnX85Ru8og0m4KqsY+CV3rs80x4gKv4l/Iw5Avkw98/lMD3Q0U8zOTzi+R6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8075 |
Series |
Configure imx8mp dsp node for rproc usage
|
expand
|
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 00924e0836db..2f94c55e4999 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -280,7 +280,7 @@ reserved-memory { ranges; dsp_reserved: dsp@92400000 { - reg = <0 0x92400000 0 0x2000000>; + reg = <0 0x92400000 0 0x1000000>; no-map; status = "disabled"; }; @@ -2414,12 +2414,12 @@ usb_dwc3_1: usb@38200000 { }; dsp: dsp@3b6e8000 { - compatible = "fsl,imx8mp-dsp"; + compatible = "fsl,imx8mp-hifi4"; reg = <0x3b6e8000 0x88000>; - mbox-names = "txdb0", "txdb1", - "rxdb0", "rxdb1"; - mboxes = <&mu2 2 0>, <&mu2 2 1>, - <&mu2 3 0>, <&mu2 3 1>; + power-domains = <&pgc_audio>; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&mu2 0 0>, <&mu2 1 0>, <&mu2 3 0>; + firmware-name = "imx/dsp/hifi4.bin"; memory-region = <&dsp_reserved>; status = "disabled"; };
DSP can be used with various frameworks (e.g audio firmware, rproc). Currently 'dsp' configuration is intended for audio firmware but it doesn't work well with board level DTs (e.g imx8mp-evk) because board level DT enables audio related IPs (e.g SAI) while audio firmware needs this IPs disabled (because firmware will configure them). So, configure 'dsp' node to be used with rproc. This way users will be able to use board DT to use the DSP as long as they don't clash with Audio IP configurations. More comples usage of 'dsp' node (e.g by audio firmware) will need to create a separate dts file (or an overlay). This change follows the approach taken for other i.MX8 boards in commit 391a319c81f6d7 ("arm64: dts: imx8-ss-audio: configure dsp node for rproc usage") Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)