Message ID | 20241210125338.104959-3-daniel.baluta@nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2088.outbound.protection.outlook.com [40.107.103.88]) (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 D94621A3AB8 for <imx@lists.linux.dev>; Tue, 10 Dec 2024 12:54:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733835260; cv=fail; b=napRBKp2OtH0jMlpZzYYPogDS8sSd23mG6LG2CXqOD8PlL1U/GhYCVX5GO9TXCcEyYXaIHc7ZJumacmg0nbYriZ8WpMhcf+u4n29TQTW93Tb5+qjRH8ZNwDhi4mi2kAuqmUPL5MlV3RMCeqBUbM0Jh1CU9NMaWQ5APEUkPu6TUc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733835260; c=relaxed/simple; bh=CjdnPZqjZNBQOYv8naOB8WLAV5ZkBRcNSCWZW15/Phg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=It1T9iRqBLwbi2FMFLWbMdgWt2TAQVNgXkdrP2yNc5AGdyY/lMg91OeHaJe0ADKVc470fWR3IepHHAUIymB7n1s4tHLn3A2XjyHCC0fSeEtZBvcS1rccnfaJ+zKbbYPW1hOkw6wSnQ8s7mnqjwsAxhA08KM5LGusTOMgXLPPLhY= 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=mcReIG3N; arc=fail smtp.client-ip=40.107.103.88 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="mcReIG3N" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CGKsEDysUW5nVK8UY0zKiTej8ZRoHEu8F/sZgx3e5BSmGV/Y+lCignUEBEgMkGwL6nsmi4jmcnp9A5yionJPQNpK0UuLj2y/sYPZIUvNeSZ6L/tHR1o2DpTEP31hwZhq9LkeMjy0kbdqU5NFqy4AkoYw2qjrTkhQNE8W3uxkWOY1KVbNi5sY1uJd9cVPE/USkmUwcjl6hWOiKcol6fgtDLsrfuqRnkBqGfbvvfDGMQ/HpOOoi1fezHrnbQhRuQKBQeARRh4UYqks+RzSCIPTQ7cdjGKakJYJo8AwoznW9Ia5qnLPAOnNApm5/4SZZGzQYndh2D3PhGEtFWQJH9xZ7Q== 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=wb9a6mJjiz5RjSyVKbvzwDYVi8GP7rysyEqwmrE10Ik=; b=nkwymmJV7iTWEpPLB3JD63dmcXGZ5tjZ6abprFUgJ/thOsKrUruqCvc8FON6hTP6R7bfZjakxx7ytDtxgkL1lH0hct0q8UqnTRG7EnW/uZnuHPixrIBiJzcVXoO2xH0XjyGCuXVZM6avztVoc/HnGi4sGofJbime/1nO01p81Xo7fCXjlhporDplSymDXrWVxclPZaHz38VdKVSZnEJuhAd5gBLdx2Gc8s68zp0OJcCv0U7nhDp6wS5iVpmq1+B26XsiiIBO2xVbaQXvmjvfFk1q8OLUfWYLsByW/+DSSOm82DQb6CZlq5g9Jg4Gf0GyMUk9R2OSYX+fyvcKcA9RZA== 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=wb9a6mJjiz5RjSyVKbvzwDYVi8GP7rysyEqwmrE10Ik=; b=mcReIG3NUmRJ2lXL0+8BnSplFUa7icyw90GRVAMinzYq3oPJ7TKtK+sXeOq2aacYj7mCmEAuMrXOgdgRKmNLrCVLY4zTVFB7yLPJDhZMPE87O6NwhPgkNWG9INuXVHDrvOvAuqGED2P/SueIaZGXtWlrTIkCMYMWGo0wvQhFNxR5EUnp7GqS40mB1svi/bF9h1EW04gPL7LFQswvpMWVZqHVvaSYbWw1rD+DOb5TG0ko1BOplqVhKU6Epq7qsVFBRWQlCKVyooHSFyLjmdF6FdkHZk7yBkbNcQIWfdM2f7YmQ3wB8isinbzKbk0Qh4YfGQftToxYXfuy4gXrUKRTNw== 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 PA1PR04MB10793.eurprd04.prod.outlook.com (2603:10a6:102:485::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Tue, 10 Dec 2024 12:54:13 +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.8230.016; Tue, 10 Dec 2024 12:54:13 +0000 From: Daniel Baluta <daniel.baluta@nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, robh@kernel.org Cc: 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 v3 2/6] arm64: dts: imx8mp: Configure dsp node for rproc usage Date: Tue, 10 Dec 2024 14:53:34 +0200 Message-Id: <20241210125338.104959-3-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241210125338.104959-1-daniel.baluta@nxp.com> References: <20241210125338.104959-1-daniel.baluta@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AS4P190CA0040.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::20) 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_|PA1PR04MB10793:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a03593c-be46-4c95-b7d0-08dd1919bf4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|366016|1800799024|10070799003; X-Microsoft-Antispam-Message-Info: 1ZIqsA+CIhmEOClDu2uw8vVlOWefCe67C5NORdNiG8RLPboNb31JHGA5E60BaWVeQ5YR/eEeiMN6INbp4mY2ElMzS2BPAq+ImWOOGHqfP7B8RklMul1zXyW0wC7bnwn/8x0vTZfE6XyNHTS5L9R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zIyoWVQHF7VrQuq68WfbfzVW4yLMnoYmAAZ5F9n5EUK1gOzqV0G+WRo3ea/wpmlHXzFjFI6W9ma+7fdPjpFig4oTF2Ib77wZHqoJ6AcbSIF03vBGOU7FcGpA== 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)(376014)(7416014)(52116014)(366016)(1800799024)(10070799003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OrqAADMZTkFGlZv00/F6qg6/jhSWOF+N8qvlNQBC0uyS38KNDCv37iTH6S2byCQCUXu9xToWJdK0lBDu2YCRHN4I3o7tndBYA5xKVFm+J0rN/DI1YuG/bQRCvFFFvFqkaaTzmBsLJCbDq+Ns5Hn8cjbMTXh34skTy5bcQeDFv5XBX7/6zM6y5NstJHw8SkBY2epvj2aap+BHUwVamkiadm4n9Bi3/Gk5hhJDkCGIWE5EZwkQqdivrgnzwa6G7PgvhnQoGEnV/BS8P4FDLHNjUMke0JZUYNIFibNOw5MIyp8Mb9VmXKWZM6Jua9MWzyS4ZG3cCAqUs4Hkov0zQOdakHoTGTV0/ODeCAL8l32rrXLmdNSjNwQX+iPpbAo2KzISYKHrJ/IBhNlAv0c2YS1L0sVHtVLe8fQKzHDYU9gXqd0fWCXsjlgGrzma62HiL9CTd3J3Fxz0bx060YBDVgNYYz2sO9dJiIbVZZh44Iaf+Q4zgVarJtZ5SjjUN758+KvkhWjeeTE1QYB/PytPo/1SGWox6Nl83nDOujtjRDnBwjwNoLEXFvxvbEACN6lL8dimyPG1RVyYGyHIB59FRDiqtx2v15bxi5e1Jze8x5IndGKdX90vdunrz2EyNo5FrSggbp6C+E07oatMlpCkxy2v/QoeYhIhBhyWYkJo0cq1LR49vx4fmgtz5r4hUZD7llTKI9vsGFihYd/7Rbt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PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2024 12:54:13.3681 (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: CYeqaQWAHZ0sYjcWAVum7WvanTP0MUUe0VtPg+6qlOT7q8UMNRP40WiKNHjgrG9EFf2P0EVbagv1LBrDPtiG0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10793 |
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(-)