From patchwork Thu Mar 20 12:09:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 14023878 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2075.outbound.protection.outlook.com [40.107.249.75]) (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 8AAC32206B7; Thu, 20 Mar 2025 12:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472530; cv=fail; b=BVovekron/ZoUv2tkDNovYotbgaCT0HthVRETGrPSDlEm27F/tKxu6VfqK+OUcJ1ZHdurlkHQZrDo+WDoXqvUnKu2bYpyz2FScxLenrfiud9NoDcOlAZpvIwKTryGxJDYaF/kgmdZJNDYVjfVcdqb9pQdb6EPUnyif3tBHFNJiY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472530; c=relaxed/simple; bh=qZ+s6vDz0K6OcStSwsIXOaQgzBYX6J9DzZ+wo3Rnngs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=Nk+kfQCfGkxb+BrsWHPc3tMyjKijL4Z5t84jR7rjuUrPgAgo7At0MtIGbirPksoiHwY2yZaEjk0cRbawZhvn5Pbue31GpYbd2JJnA+WZXIBEbU8aM+wCjzl2/YAA6t3ovqRBr4SwnmozPdlFW7Zf5HMmTpAnhdR6K9RheCIXimI= 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=EbqYa9mS; arc=fail smtp.client-ip=40.107.249.75 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="EbqYa9mS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NToidgKnWmD1V8+oMLDomlv6FkVvFyxzTFiJejZ1B8ja4aMSUJxQhLVtgUbsA2O8HFq/7DjUWgtjQ8GewmJTViXDtdoTlPEfUKTixonr3zk5wtrpa+nX+69i0jQGfZokcDh/SXBzx0+j6VihCkFITKltxZig3ms0ujdKqZOGoo1B1XNRC+RiZa4FQgYt9SO2hfLOtheYYxcYsqs65a82vJ9Npp+1MrnTh5yNSsC5TCl4o+pB9+clceyg4NzqcGPIa7lBNO/jpCszGxdp0wLRyYYHf9lN67FMdekZtlze4QvsrOQf84ALHTz+DXDR55HKn0m0Se46bTEvSxUtv0Wqxw== 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=D3+fH83iPv9PCT8MQLfOAvDNnnca+vfKU4j4YeGLRt8=; b=PpyLJ4RfoMwpjfH/TuQyx9lS4hbvnKnBNBS3vlCgZn40z1mIQO9haP3PSJy/rP/w9D91GRDG1PTvbwLiH5FuTNL/0JchCive32SmGLJPT/WS29UwzOxFyrSZ5lkTNWBVmBOrCKOazh/n0WkwHtarnH+yyGCj70LtilpcwHp2IdVMa4hXwE1tVfVtYp/6XiwrTzTevdQK3wStE+d5c/KVdqHGJarq/6RYyD192eliqg6vPQJRp8a4nCRQf2cb5xbmK8VMzLmkR8QFLr6zvSiZBrkYhT5JzHpw44jPWR/puiV1ekI8dLtuWMZZ6UqN2VtxWosEctTHPHMStlAgBtdMQA== 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=D3+fH83iPv9PCT8MQLfOAvDNnnca+vfKU4j4YeGLRt8=; b=EbqYa9mS9gzzff46mlwP04jOnBDZ/6+HZQsVKRhxCUWfaYFkGxC37IhJBFwtwXWgLhdQc/DNhwmzli21/EAwBmlm9z5luGr47f8F18M5BS7+q3HxLvt+ajJQspMqlSxKzxSBZDFq52g0YQUqmZu6fvHb2M9EOrAzBJ5Bll3bkeMZZC56d/tGfmnJPTRU4TD83Ag/reHZROY7AR8+6ftMRz0oYxiBJCfWyS3o5QqfOW5Q1UgKbjAfWTJUHpmPLsr4Ric5AgAnM/RAP8CdF/5zrllZM9qIS/zKK5q+55BYDhqXUvxiagkc0K7XNVcTsnnU2xKLqqkhMMUkGc2NWFnuNQ== 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 VE1PR04MB7247.eurprd04.prod.outlook.com (2603:10a6:800:1a2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Thu, 20 Mar 2025 12:08:43 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%5]) with mapi id 15.20.8534.034; Thu, 20 Mar 2025 12:08:43 +0000 From: Daniel Baluta To: shawnguo@kernel.org, robh@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, 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, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, Daniel Baluta , Peng Fan , Frank Li Subject: [PATCH v7 1/5] arm64: dts: imx8mp: Use resets property Date: Thu, 20 Mar 2025 14:09:51 +0200 Message-ID: <20250320121004.2542314-2-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250320121004.2542314-1-daniel.baluta@nxp.com> References: <20250320121004.2542314-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AM0PR06CA0139.eurprd06.prod.outlook.com (2603:10a6:208:ab::44) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|VE1PR04MB7247:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f611b80-5ee2-4ddd-0fa9-08dd67a7f593 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: rwWzOWAwcW7OVngo91vXrfmf60YNaGgNQPbS1bh3rDAVxB8rzH3/XuCz/OCNJlSH6KjDKzPmAeF6ZNyst+m4JSAKurs3VVxifxIykRK59y9DyCavYVLCoOJjW7OpgisBVGmjVjkTlQpJwZTckBkOaT5kzGvMnjNMvbhDi675s7uEytXDGkWwdHXD72mytInDqXDo1XnOrDpJRZ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f1xuLXf8zjzzP/o6ByIOeAybTwmNHz5duXIBW5S7cvoXyh7uVY2TixcZtNdTsMiJm7mXf/BgSGWzqW1inngyYGap5kriVifwu4O+z9khtiqHdhaoU0IZYRzJf62tGzRLqRMdH8f0mhWgTKvjkZp5Zu5SKR4Zwcs0Atu15gJQWHIQLHKTPJRGzhly 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)(1800799024)(52116014)(376014)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fxv9K7u6wOUQHmY+EFEeQD/0A5xRSJ+b22R7VgH2eXpjsCZyd2awu8SwqGyOSZc0KRExTNx4yW452tLXf4bvyp3WPGfsMyafXYdydOzwEoHN7pkodV010tTWz5g1pSBlJEvW4zIm49eWAbnvpxZNoKkd2RUor6ANSO+WhqHYzCHFT08ICYWP8uff4uLx/RhQ3SemJxYy+qq5Wr2KHqlgrNwjhz3ls2etVKVy68Ft+nKEv2nyQ++OZUCTCy8Tdnhmou9+pQGo67SN8kskw9UDxeUbVzW0d+ip8tLzBPSB1XSuhP6UjuYZhbRCiCHIdtc2UVIyoaJOIKwq9zpYjoN15fqAg+VcZOzVG/51c9MM+9OmKfnszVrhxuXtOfs2QrBmDdn3ha3VnzuoK3emim3hAvp+zg1tF7/pXw1uwPOjWZhw0hQo0NDeoAlKqwffLZA38gue6ES6dUiTpuX8JfQ77ngMmI0TzdV6TPXLLjAApf+xuGloDSRmtl98cnj/qn8DnVrENB6NboAQ9X+xY8XccDINM23FharzG1CMNEzzVv2+wnH68yvzEjml1FrV2lYjdt9JGFTpz/DmysYL6OQXS+1Xd+SlIILe4ecoAxW9RHQDi6PcHXb4mG/C+j/t4mtJtPVkVoBk8R0eKAcpyq42KuDqD9plIzV7L8mfy9IgplY4TkpqD2eGUrNDsP9nbSLi5Jq8pH+hSGCEzTQxWQqZl+N8sm1ieHN3PQyk4VmZUZPh7vNjeiBs6ACmiUMN+yf7oUeJbFEHdrvX3qMYP7JQFwOf+kLI3byjHbkmduuNt1gVwGkqTCdveXzVxRVTXU8pCDodA1TjhuqD7wnJo0ViSnpe0XIiShuamnE++/YO8BWVEkXPymGdU654akeAMTAsjIEGJjzSwUfOw3eJjinV8Nb4Afg+R8i5V+EKYWjlPBI1aE7FgYufZZwAnofFfmHKhufztQo3Qml0qxXH5hhVqVVOfgvSQMF2cUF+qBXjrCddtDVpQ7WotFKPuG0CXuxRj+5QgeD6YOg9yaZPkIl6gPOHbDjaLTzULRQEiypTSzmwjA6WPyoludjxbtqoSOYr6zHBURWYOevHY+IyizkM3HxuGq8+Lwk+I1OaBM5keX8hVuMtopdJ6b56ITo9apnwij9yCh8wAqhCIUhA2EYB4qph7KtvtnIgXSazi9AiJI9Phrscl+Q/yUuxoL5o1g/Pgi6uZ8rQoOHsWSHxT8Sks2vYQePMnEhmsfhkdCCWzA59Ild3bfcO45rGXapC1jBKExlS+10si+At3CYI88Lxn6WYacyggAdBV+Xv46qk0bZFVdaoGNoFZGiluJZdzOCuBJpjKA0AVmFKsQH9EkcZ5ONc9ciLp1S1MABiJydMlN7IcmviirL4rAYJ5Lo+PvlTkmIy2ws0mAAVYseJEw/XSLASrYLKiztpmzR8GTsYhJCkwOep4z9uakXisEgGF/vj0cxovvytdEM6uKGA5lfCWQ/p6o5UTHv5fn85jyPW6mZr8mGwFE7YpKsoXxA6AFyChDGldKQv74PiIxzqGmrTZRseHgre9J15qRC7FdvOVwEhXMh/lRxFyQmQxT8qWcbH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f611b80-5ee2-4ddd-0fa9-08dd67a7f593 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2025 12:08:43.5379 (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: eMgZIBj078qbOTbgsaR7LszV0GVOXj3vcuqssEE2V+FVaP3+BNx1UzGkVR6SyAydH+bP2Falh6zfSIwaYE+W8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7247 Add resets property to dsp node in order to be able to control the dsp run/stall bit from audio block control. Reviewed-by: Peng Fan Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index ce6793b2d57e..3b725fe442d0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -2422,6 +2423,8 @@ dsp: dsp@3b6e8000 { mboxes = <&mu2 2 0>, <&mu2 2 1>, <&mu2 3 0>, <&mu2 3 1>; memory-region = <&dsp_reserved>; + resets = <&audio_blk_ctrl IMX8MP_AUDIOMIX_DSP_RUNSTALL>; + reset-names = "runstall"; status = "disabled"; }; }; From patchwork Thu Mar 20 12:09:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 14023879 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2075.outbound.protection.outlook.com [40.107.249.75]) (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 1DF63221735; Thu, 20 Mar 2025 12:08:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472533; cv=fail; b=FGbcoilEuZcEswnEF0JTddcnbXxRLn2lPIYKfZNbxXM8MMrREc9hdWwRH9wid0gfAshybIuBpYv32TYCVTk4HUDu+xVFIuz7JZl1x5Cy1o04nMY0heHw0z1PwN8AHF1kdAlAceA9w5AshwwRiV92F68gDEZQAYYdQDD0cdEz8Tw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472533; c=relaxed/simple; bh=VLPBhiKAco0m5g8/cj6KQqA92O9JySPsAwhbBqRcsf4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=M/y7o/hmLg2KDLsdQpzJY7kD+SHGWnikTKhB9ad3sCCYvEjF8OYLl6c7I4VcOXPqaNlrAV3YAgNt4vDodvEUfBnNgoXKOcoaLgsODhJqX1fclT2mWFIjgWUK5NdR4QwpW6t0Vvo/AXeQJVCvhfHSXkh1oPHJNt0OBGl6emz1uDw= 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=oJVEqSlw; arc=fail smtp.client-ip=40.107.249.75 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="oJVEqSlw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=C7Nr0+8ep/QvnR5uvYSMpSiY5K6+/lKfgVUpqjq+54Zi3bzmS00plTpZ2NpsiTu8vFZR/krN43dR4GP0jpsNQ7K2L8451jvCOZbIV0kGgdMTtysW6V7wBQSRCje5cFtL5zYg4bJtxNmvUac2d7mtPr4y8iXRmRtFYY4/+sIk2lLfrJiwvjiizn2eaNWic7yFcTFWjKImQFn3r4J1RyHUm/J9HX5geuPOKTwSaeDbbefKX0S7IldcG29j58GAKyr37Z/H32UFGQ9fjMKcQFIeFnRr3gFdRkadSSVSOsgYbGwJPIxRmx7Afk1m8fY9+qcr/kX7Qd7wcWweKUF8Timw8g== 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=ciWZXa6/A99U2tQtYOylB8RPWOqzvPnaaxMvHSntRq4=; b=KZ0vfrOWq5PrfU6hEuz1edPUHYnNJAdvKs+XfjVqr7NzXHGdYfAh82vQITTHldOEEPGnfyz8xcIsDLdMHyAlzfvL8/Dl9QeAR/SWCviLsj6wqKnzeauzy9zini4JUh6kI//8FL2TxMIaWyqjK79KYZSGOH7w1vcrGBGUjLIAhnsurLFFhjrOM/+JhdcmxhNskjjDzIu14huExlP3Iw+3WtNPe/IoEInWXFoidrtVtOk5hAJthd4p87iyqFHlztK7aLYL8lBYCqp2lfTk+Qms/0o/Sqm5e3PscwOwS00FXG9fUjz48m1oMYes78ufdG94p4h8X2RE4tStS3U6w8/r9w== 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=ciWZXa6/A99U2tQtYOylB8RPWOqzvPnaaxMvHSntRq4=; b=oJVEqSlwZk87iAyJ4enLGFWrxgje1/kFI5PmCEExb5Dej11VwOwYv7XF+GI1EEYAyAXz1ahCxTe7NMu7pxGyfxkDaoIDSiZnoaNMO01GQNtixBw1Y9Q8qoBOiFqFUT+/G2vg5Zn/1xNGOZ5y3gou4882yHUHnzApt4QGyI2qbcDAhEornMJGNmwsL4ETsllit5rq1+9ir7hqslGGFUcfxx10BVmR0clFj4vZraa4iyGebrS7GzV711AStTl5Uezohj/Uy/l1BVdm1Asc2N2C7MlHE4GFbRUk9nTC6i+2712+9J6FGEsT/LfPpYudRX8HQYZajkYSozDX8qAoczalcQ== 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 VE1PR04MB7247.eurprd04.prod.outlook.com (2603:10a6:800:1a2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Thu, 20 Mar 2025 12:08:45 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%5]) with mapi id 15.20.8534.034; Thu, 20 Mar 2025 12:08:45 +0000 From: Daniel Baluta To: shawnguo@kernel.org, robh@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, 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, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, Daniel Baluta , Peng Fan Subject: [PATCH v7 2/5] arm64: dts: imx8mp: Add mu2 root clock Date: Thu, 20 Mar 2025 14:09:52 +0200 Message-ID: <20250320121004.2542314-3-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250320121004.2542314-1-daniel.baluta@nxp.com> References: <20250320121004.2542314-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AM0PR06CA0139.eurprd06.prod.outlook.com (2603:10a6:208:ab::44) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|VE1PR04MB7247:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a29a7ce-0fc3-4915-e090-08dd67a7f673 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: rsp0WgL7Q7WuCxczQtQLha8F1go/kmUQEoQda+s55LZ7XTVevuV9+dd9piFHdI5Xe8QquYGaefrPpqND0RhZV01WgNeJoLkVE6Tlb3EuSlqrH16lIvX2H1bEaV8FP0/XvyM5wKVjSdNnO1IUgRqdM1wrFXmJnQTGmFk7VojNjWjtwkEmZZyLq7VvAAbOGPlI9dJTLsgJlFoVwVl3Smt1nxtZUuXOLPj7z6JDoJVmJ01i+ULudRED2XMeqEBCUf4YastpiEMYellrZniwW/u8j5k1BfxLbielFlAqVdacW1RanIyG3KyDCc1xKox4C39SAD5CBLUDhA31vg7x2A3C5zDz8ZAT9XaqxosmFsV2eU2sYMwUta5yXPihwkB/Tuppsmz4mlShC9Sdof2rtgVYTp7ewtcaXbvSzivZPb81jIQCBhQ2Kcm3KtnFOShsuV8Xwq380LX3ufJCtxdcooMXcfw0nbPIH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.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K5VIpl6ezmX9UCEs77VF0pFT5Cx1EPbIxGi1lD+oNCUZAX6Rd+jWebgcqYTu2FEaz1aXv6dbnwPjOHlaLm7OiT66mP+l5d3rsnWGw0kbGDz2zp/7vqw6luQRD62BmrthwsgMwVKk0/5JTMW8nXsz2WmVG2kg00JZ760+Ey3HADhBi8k9MlV4OjwBHk3wrKRQUxf4f+ZJH8WtzkjE9qk3pLekMlSR+YKnsNYbhmWxcWGtWK9pgEg2VWx03pBDarfJOnfuPh475L9PFWyYOOP8LGHv2dNtCsa0EmTwOaVe6MptMWosM06rwJGXU+dLEdfHOcIjDEJ0kLXiKtWOveKaesRl8SY5y8+miD/lh65FSadBCaCRxq0Z6gw0wpcloM5qV5qRRlmcz2DA+OMXizziR5TVNLgzLE82XDJqMxHYIe84OD/uMW5Qm7lMSAe6hWOVMgmangDclrF2wu6KWFXd9kGx8usoip0AOT/cUwT+w64Lls/M/rGCyGEn/J05JRtt+UhL85182V+UpajyZ8NDVPEoWclffCqIuyNGstBZeJHoDalUjtnoclOf6sRHzbRMdZvpi0qoJo2h4SBCXKKBLkukq15sxMpCNif8lhgKyZFMyhiUzaPG9DxIMcLPjYoypFeNKB6vc/YQcNJjzrmVKxwl20kyVCQiaNs9bqYBBs83nhw4tTVqzMYqjxYOUTffuERypQ+nLigoW5Ss2zW2udmefTCDaUdsjYhL6GMXOQ9jgPunxTx3DyaCYLajkuix1x9Zq03yQsUrekSW+sOyuLMj1KcCzQMwZ8J62+7ZT9+qCU0clIgjTg/SEGURbkHpOjvQcqgTvLxYPzXjTHGVXFmr+ZagcenCjwwse0TKCn4gJguVpJ5KMBPg8BDGZm4IosqbKLPoE2raqEp1KDKQdaeCMdDu/iceYQtRyKXy/iQfLQE7uudgGldmCN8v1PhbePjbpt5YqLDBqvMQQuGd1/Rpd9mb1ujkmqaGFON+Ro66qwOQdwm9OwXOKnTqyLm96FJrRMADMdcKJXbmmflkQdLmktZKQNyWs+KkvAwUFEODJP9RdB/JeRXDauLIY+NvEHZ3fQW1uoCAexSgugUJA2nhJZnTz4RnWKezpBPyFtKoJyhUOV+3wjmcUyM37cy2AISl3k0duibFGqqLUQ5QylB/t1JFylt2LjnvkMDeoAcdhtI0/6u3SXh4c7BuhTjP/JRV9++E/iP07LRIURA3Hwte5IHQAkcw7/DEkNladfQADXl46UAjEhYMiEH9t19zARkZRI8vlIA+ir+FpRPXeHAOTjQnhaI3Zaev5MLF/yCHR8ehwGLc9z2aCzsYBIQkeQSih7dEpwCjJ9D05f56wv2sv9bhopzQmbXYcSIIh+qrOMegnNUgrF+aV4Bwme7MSytefWqmoqihSy7KVVLbsmv0E9GzrBhe2bHczbGZl5UYOGeT0ppE1uM55eOKHAauTdP96sFESZWuf2A0d/UJ3Qngsm8FHEIb5tD4UF6QNAm5PUXhZOtFfrV5DGjyZRq8t4L1GHkiFOJZte6Xa7QToKuB73FNNDwee9lBraZ+oQ5igOkJ5u+qUOv9wSlKuDN8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a29a7ce-0fc3-4915-e090-08dd67a7f673 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2025 12:08:45.0785 (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: 3Dx9Ze2MJ0xd9fUTdLEiqx+3OoXRQsf9akyE872k59UUxsGQ+fiQY/i7SIJmy1PKLtCgjVmYQvsWodygGMxmGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7247 Enable MU2 node and add mu2 root clock. MU2 is used to communicate with DSP core. Reviewed-by: Iuliana Prodan Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 3b725fe442d0..fc0d244cfd1e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1253,6 +1253,7 @@ mu2: mailbox@30e60000 { reg = <0x30e60000 0x10000>; interrupts = ; #mbox-cells = <2>; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_MU2_ROOT>; status = "disabled"; }; From patchwork Thu Mar 20 12:09:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 14023880 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2075.outbound.protection.outlook.com [40.107.249.75]) (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 542B5221DAC; Thu, 20 Mar 2025 12:08:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472535; cv=fail; b=sO0G4nFCyTXwe0Rk8HLpSPyule5ocU3j9LVoEztuYbgr93kB7k/xg9dUc7g4Sb2gIYWxdPFItWBIEJKqvzpLYLKmnKE70ftYqhwP14CXAP/iE3AJbZO7AB087nUHd8jq8NPbrUVEGwbD6n4Kto/MwnNMf1Qr/DrpN6JlYAI2t00= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472535; c=relaxed/simple; bh=iC84Gy1NU8Zdy7dSkCIg4kB0hcJerlVCqT6HrzuFQCc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=rX5p6YbIMMLyemKkJ5c7xV6D1DcGmTkZ+QudP5uAplwoXoGTNvQvxcO4czdRppN9NFIinpyWZ1nD1VRV7rC/RnRpaGNPfm+0p0yTYeHrU4MdL+nYQkmblD0FoOtTSp2SM0eq0zGZOx83QwbyRR9TAOnmecSCFkVrS1UBKNkDz68= 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=D5cL/A4m; arc=fail smtp.client-ip=40.107.249.75 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="D5cL/A4m" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RNd3sO2SRe2chUV54FAiIbVFePVdft9cL9yQw0XYRCrFc7Fk1X4BmxpQQvqIj8bvHpB60KHLHa9GbBD4snUMYaTL2RsuSba4TaFmxw7TD5fkVFcB5ij8XY11OobLW4B+XzDctL0Lpd57Po5r0PbOPlcr7qV+MfIpysXyBKO/547gcP2n13SKJ9etS+BysbeuinjakMnz+HTT4hteiEMJjRGd5YPQT8gwG2wFhT19buE4j74s3gASI9+L7JE06lqtOPoq6rYnYmn7ktQZDHyrRWEsucz9SWx7hF/5Fl00npsRvWW3vtSzTpsr/krCWrDN1Ako+QhiNsgF6IP584Rdug== 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=sfx44Y80xnC+mttMTqtvcCuZhbHk+NQrrc1zsffvauw=; b=AAF+Z8kIIlwuu0bkuwPap5+m+WZhkVT4NCGx+YfsVB/3vIhu/Ic15yCxvlF5gOry2gfTd8k88BuMoZlTNKZLFwqAZu8TQIWM7hAGATGr9Nw4YJtc71Dl6WdY74yoJWwI/8cUBGyJ53C4KQ9LH0MHIt64AGJ3JBj8a6jGh4poKjwZPgmmKJysijODuXabfocEV5GbKu/Dg+7tqcOfXbaW4AlC2CwN6KA+7fz6t0OXGnKu8g/6jPv5w8ivKqC0m7xJ5CZ+oQdvG2bp8YEoPqX++ghny8Jrt8vHZ0k0ldOitiYNychTMJN2VE8q3hCK9y2CtKFTnnoHB7vNz8TLdf+IqA== 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=sfx44Y80xnC+mttMTqtvcCuZhbHk+NQrrc1zsffvauw=; b=D5cL/A4mDvEUAJuzgYXAW9bocN2kLmL8Whxh08e/2Tm3qJMTKB2imRFO4nK+p6kfGf4PlapDO6miC4EdkssWWVFfTe6MAeJD/KQzBZ+3h6+8MLgLu7nyAfwfOoSYeri5erQ+/cQ+jX3w3v/6ojBzRznK8Cf+Vl5f/BjTFaa45XN/fi2+JlEqxk408+GyKeBLlAg2+/7n8b99RsECYpMegMkHb6mE7Di1mJtBZXnzGKCwe7nWthDh9N1aULmoEFHlbRvEox/ACyOwaooykZdIUqiYbeFgTmmmVj2+TG4GfQs/I2wnw6+9AF7Rnl+2TycEv3T3QHiVO+Cya0eDPW9P3Q== 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 VE1PR04MB7247.eurprd04.prod.outlook.com (2603:10a6:800:1a2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Thu, 20 Mar 2025 12:08:47 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%5]) with mapi id 15.20.8534.034; Thu, 20 Mar 2025 12:08:46 +0000 From: Daniel Baluta To: shawnguo@kernel.org, robh@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, 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, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, Daniel Baluta , Peng Fan Subject: [PATCH v7 3/5] arm64: dts: imx8mp: Configure dsp node for rproc usage Date: Thu, 20 Mar 2025 14:09:53 +0200 Message-ID: <20250320121004.2542314-4-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250320121004.2542314-1-daniel.baluta@nxp.com> References: <20250320121004.2542314-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AM0PR06CA0139.eurprd06.prod.outlook.com (2603:10a6:208:ab::44) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|VE1PR04MB7247:EE_ X-MS-Office365-Filtering-Correlation-Id: 6331c44a-ec0e-4245-8ee5-08dd67a7f755 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: iAJZVHSUPhxD94CgL/mci6he43QQ6obn53RkcELQGqq0SP+m41WXDH5ZdFUQYqo+2nZoA1LvbNdb/v90UbPYwgFaVCCXUfleCw/FtPLaw9m5bBOoh0BvcAkhGoypZbwW5Q+vdH9VdgJP7/SU6H2f+blBIQO+CBJQhxvn7X7F99n/CWCoBTY8UvLhPQRmfEe5pcFRkM0Ip/v99rx/HUKeWQBIG+x98q0nkocvJ+Hglw8q6jWGHf1hvO3Vp9GSzny0Ca8d1k03IKR7Y5mQfTnJnA4/KZeadtvcFn5weygdgYKwxcIROD4ilLse8Zm3JM9TCnGha6LieHuyBCP1Xvr74w0qx7Ip25N8vLUFWY39H5NdDFrxO1M4Hs8GH3R2Sw7m+LK3zHl6vXLB0qZL6qfSwVPNQbiWWElmPmyRhCsUlZCMFNHe3Q045ZSXXa15K+3IRhjWscZPgzb24x0AB9/Ez/hVffEN6oJRds4HMa2FiuT218iOFACpRNei35Fysg5lp3yXiajdBvUQifenrxtWm0fXcT3RwadhYzkh8KMO+2QqEmcFHhr+uUYYkf3H9QNhb/hMMGyc0joQhELZJ1uk02BhhyiVJzJvgPL8FRRNzCFqdYwHLdy0od6vbkJVXnvXpgWlP7ylS7e7NpuZaONnN3hRkPKKt2pCTOpYg2edU3svkvrRKe/RsN3jSM/bS5/9G5n379EmA+FpuMJuJc/BO1eU2ps3Lr7b0tGXqGZ3rhoQm+bOkDoCob92QNeM2pA4hlmWymfVW7S3QxERo4VeeQ0l2Q9UFrxxDOTQZUN4zIF5KLpFURJoLbluqpnnV5Mx2PY4D8krfUr+NdzTq92RLwmGS3IGoJ/MXQE4NNFrtUwEL9flxM2kqI1Jb22jWFE0Ekxm5KYqCgdm9ijEvNPnMNVOoO62OWcaalrlCTVFCTCqQRXUteC8zPa/BajTyE2CvBX+O9PQB4H/rzucY9moe7Kp5XN96wiP66CY2Q0E4EjyLG0c9TKHhqZLd4aNuv+ODFZrTFtM9EtLb8OC5cQ8PxlMcqBTcA/l0iBsQ6HMbbe901kapTWKeAHrxVjwkeETGsar6qHjrqKj3xmUDVTZ1ZINbi7Qdoao5TqnpTB6yIMu+ufPz+h4apUfKX9JU7gC8W1FL56Bbbxqr61COQDwhDZlHWYoETL7V0epoCCPwX5oVOlcNuLZwi1Bu5w8yQI8FoZVGYyEhrqdMQZ2zICmj2L6NYF34HOBWgdJXGNqAlQYliYDLPhynN/epCfnduTFI6t+BIqT8Zv9HRixM5XY5tcvGwD5bBEhcQVIfsu0rYfw3t00kwJFgA1EzxAap2S+LUONw0yPqeXjfbOXa1ekiJGhjc3SdUNwpj0sgLV0cqXogu3gmn4Ch5DrHRqb4TRA/iV7McWWhQT9Ddc02DxC5gdyJY2y8+kCWf/Tt1AUTAzctP1ovAwHTuaWLTHJDXP2 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)(1800799024)(52116014)(376014)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rvJGkZ7HqTL/T5atBmEc3IIDG+r3hkRlRhzOS5jE4KC8FoqmQNOFcT0PJQHBbxDuYpx1SQ+8Q3u4S5RLVFjUWzOmQ1NDrBt7LoA/UI6cQiEZjBWkAWD7Jq7gAxRI6G8FQaeIp4BLzvlE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PaLCisjPu3T7qAwEV/FRw/z1VRPyifpPWgDr8rpK/74KumvMC+tdQbj6HiWj7EF6PdPkEr00CDmjVOhghe3sI/DVy0YKclUEn5nWSVTSk61JZ+LbVJjhhD8PEgvTw8J58gUp3mUqcC514l5IlkPHwvyU7IjGKf8GYy44Y+w7iq6rAaR6SJjkbHFMpZG/XNKr9YrD0AUWV3QKY0ZqfHKSzNXlFwqzRP+P5AqTSy7SEQbKS38vILgRTn+TaqSyj9lRsZNdUj+/q9sMX0mMLJhxr4/X+j4JD5IZOKH8AQs3ni+/p14GQ8DKN93Cr2uXzTJJLtRLSj+xbseEMyo46v9Pg3P8eHHErz/mRhPLvRHM6E/JHokD+Kpm5rk X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6331c44a-ec0e-4245-8ee5-08dd67a7f755 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2025 12:08:46.4828 (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: 8/nQxMHAzCKNFZHtfGMFKTKggHVN6fl1IqJs367XW3v/lcxO5nsens6IU5VCZO5ptblMbzyrqKGMXrQAdejmFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7247 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") Reviewed-by: Iuliana Prodan Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index fc0d244cfd1e..708d3f61b4e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -281,7 +281,7 @@ reserved-memory { ranges; dsp_reserved: dsp@92400000 { - reg = <0 0x92400000 0 0x2000000>; + reg = <0 0x92400000 0 0x1000000>; no-map; status = "disabled"; }; @@ -2417,13 +2417,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>; - memory-region = <&dsp_reserved>; + 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"; resets = <&audio_blk_ctrl IMX8MP_AUDIOMIX_DSP_RUNSTALL>; reset-names = "runstall"; status = "disabled"; From patchwork Thu Mar 20 12:09:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 14023881 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2075.outbound.protection.outlook.com [40.107.249.75]) (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 7DC34221F35; Thu, 20 Mar 2025 12:08:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472537; cv=fail; b=sz1lYypdnjgX39LXNd7E/DzyOTqGi4Cq1WxmWUWKD9FCILLS6pXq0tm9uCn3EkzMSalJfdwq/jWvyL7tkJZg5r8qFl/D3xKN3WnWOdDqEi7ttWQ6KPZFGfHKmBwtmgReEFYboxq9yjwcozWh4f6aJSzTWFOSiRTRZYjFt8+7Qhg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472537; c=relaxed/simple; bh=IHPk80OCMBo0vIlc3P1IcFtUtdM1Vt84XhVe+6+rpOU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=LZyaX27pYbczd8v6qdipGZs70RxBlcI23pUInxb84PCEuvbBlzcCb5E7iRdqSeozTbpj7PiQVNM3S8asIHku1MRxSxnVf4AbXGEV3ElUj8wOuEyM6UKziePTtRQuHKUsm/V2q+Og4NhFIzElc8F8Mvv9n6UBg9dhUdEWc1Pf9SE= 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=C+PH9Y7y; arc=fail smtp.client-ip=40.107.249.75 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="C+PH9Y7y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=esmXgqOI8DI22eDOSQzOAcG6LJOp6dJKO/fXNTVXC4DU8ZGpllV1PGS9ypSz3dNKEsGtR/jF25Slq+pEGcItgHmdJyZcgkOYFC/EDpjdRxCbFd1d+tBxq0msOE3WMx1xXqdTsPQf2x8eNwMoAlY3BdopvQNgoq+jMzxoI2D9LnYpQ7E9agCpgpmPZi1tVWFv1Y363As7bsrwB9zB5N8FlMbOj1e4M+iFZNS8e2OjAwRVDJfOjATVv07OlsAPKtn5dhNzxxWyRf2zNFbeu0Wno0mlNtClGYg5neJI7yiRpHT6A9dCuLQzyQYET3HoMYnlA5JdFX0fY4QOY2fCML6V2w== 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=SW6KQSi8NIdTPpCYSnQEGd8qlDHw8/8q8j/D5RL9piM=; b=tHfCCX7NDtwlmB8pnZCG1zh8lXmOPEFj52WvKNEsetBE5Iks+sS1NUDHUX3BCdejy5ObyV8YQr41c7kZLT9Ema03lmFDlyQJ8gj7+/BKZsF5f2BEPqP8J9bJARSTxHrv1hkhy3ncAp3Ku/2cfm7aHHvy6Q9UJqlVw38j/QW+BSYF2oLzwu3wZSovZGfRMvLzFzd59VW26sCektW9AmYsXawwyVb3dNkJBMcd4MPZjOdGxnssycZGDDH9IXGT8d7D+gZmUCUBnywiNq81dKcrawrMFeIoH2CHjx9TgB3vku33SSCcWlJaGUCk11TkgANg8HWKzJ4gps+cIn2C026dHA== 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=SW6KQSi8NIdTPpCYSnQEGd8qlDHw8/8q8j/D5RL9piM=; b=C+PH9Y7y6x3SToFw/uP/5e/wTsDx3R7rr5p6al/lficWedLA5nKyb4p5/uEXiK9IDvRWWN9JiTpGATCzMpU44oPHYa1VVZJ5UUx80HiFa6yCj7AJc86dgXuqdNmb1G4lcLN+tUG0h1vJ0cfZVd46jmAQQYTiC7d4jrv9uX9Xnn7QakrddfD0m1sjwdbG4bJKbcn8v1vtXfFzUw1tX+hm71nqKZYKzeAHl3nlRx4nH4v++c3CDcT65t8yKPd8sgLol5ngMpX5cCoFGlYs/gHMBRK0cXgHmkhsLKKYOVjEC6roA0soc3Peme1FXImoVI2MRmi/jdTpDzkJ8+vPFK9CxQ== 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 VE1PR04MB7247.eurprd04.prod.outlook.com (2603:10a6:800:1a2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Thu, 20 Mar 2025 12:08:48 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%5]) with mapi id 15.20.8534.034; Thu, 20 Mar 2025 12:08:48 +0000 From: Daniel Baluta To: shawnguo@kernel.org, robh@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, 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, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, Daniel Baluta , Peng Fan Subject: [PATCH v7 4/5] arm64: dts: imx8mp: Add DSP clocks Date: Thu, 20 Mar 2025 14:09:54 +0200 Message-ID: <20250320121004.2542314-5-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250320121004.2542314-1-daniel.baluta@nxp.com> References: <20250320121004.2542314-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AM0PR06CA0139.eurprd06.prod.outlook.com (2603:10a6:208:ab::44) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|VE1PR04MB7247:EE_ X-MS-Office365-Filtering-Correlation-Id: 34d41832-ad46-4275-45aa-08dd67a7f82e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: zPliusm7xbUy3yG4msh63g3PoFsCI6dAjv7IMWuAkx0H4GJ3ezLdWjBS7C3ugxsGBu8u7w6vOPJ7CnnCL71KXCCuQT72FLI4pp+U+/TnKxPWv4TRe2cy17Uh3qxw6dwIwNWgOAQ3+qpqp+fdILDnKKCSxMUi83G/BBwFg/3jKsgbbgIwA01E95I5bpZvtdxZS4q8CFLqpCdrxoddP8Imx1I1oZV1TzWp26R5i4VbBy2+T6dq2QkEIPmGChfxXDARH37lJZg+6GhDE0Zudev3PFJ7JR5w4biPJSGXWvBO5QWhE5RISdggZUAvFsGFpRLs/sfiiMa7sqCm+Y0X7NZG05wA6zBN0gboDrBDI4PhrObc+LFt/Wnrdgy+1cRoS50cdkngVUz/6S+Bs6vVCVPbiLLJR/Yd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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)(1800799024)(52116014)(376014)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5domXxwCLLUimCc2Gh5vTGtPb8jzBBsLtc2eX4bF53d1J++4buN3Blk3wos2WmLdsCrbwLXqQB0bFq7isr/oYEDcRtVHXj+hGKrSyGVWI6WRuimk4/FSkoB1rGF/7WA+XNUPCbUjxr6pGgy5byCA3YJaiu/MJ6Tb0cGuszKoKpIKIhzBM4NW0MRXvR9Kg3EPgSLpya6bsnOVvyVsu6QwvBkhaO+Q4acB2ZAQT/5e4vNq8nTGtzrOnECZOfsooSMbq1LjjEjZUMqnRv0V4DEO+ISPwgVrHvSHAjovuUHtyL5jc0h1DZ2sMp4T6Oax56phhhSRV/F9GZmrHlc5sPYD2D+hX6Fo4aCWzzqdV/gXDhUQWSDNI97M+hUvanzf6gPyXxZR5WQkESqPZxhYHUjSet4dUpNgi/sOsh+zvsFZFWO+fPsumcF8cTs1lNVityvNosFqefyS1bZ51bzDLqXg+uuo7o/nFnO95G0L8WItwTjcXfht/N2T8RuYCWSTghEBJBfZzloF5g//gTprjvsz/NJiV/CoaKV7nKL6ro64CtqBfZF1fSgMEfGX5p4O9lbH9XkV0zuzQK+/uRMzY3YcFK1KoG6gJ0YJFcXltS/if5JCNhDNDODG6kZmFYOFwbRQ6f7HPrzCk32U1msEx20gVDNIuzFgzqSwAiTOfaIif9pIMiGehzG0f0c6r4t6uJ/ghL5E8t4/J62J7EI0TWwaLxMFwj22i6KEKbdo1gR4croU2RUcfoxun05qRusrypAvrJsk7t25q7ekUtwNWg/AUCcJ68VSpuI+EIY4+UGOeTuNVfMshNSadY4pz1oZE/1/0/jB//om4RB5k+5+D6chq4UxK4FB0KcZOd7sj4eX0mI31q1yEWdsmKpf/vDvCFoiYAeRh+27M7xPTp4n8Rm3DaFWEwuxErKG0L9FSLu5cWYVqefBOm5IO9oOGhSQG6z/gdMzGPhsD2uDN6msfwtP4OAyvTbLCJhpNZzXue8ir1WxCEjn7DQDB9PFztNIdmrtgR+EstCH0j/5m1STHhYkydR/B/aQCH4dnQLzTLcipHbT76zF+ivaNoySGSUHvZ9iAFvTJx/gUG8ZDYMlseaT9PNuHXYkdcNWhxYhHu/uTkJWfgFj1Mi9B2DuJ/pQgwqrcHhhcCoX+RyTP64mnNUwCIb6akRAElGVNDuU26qEIyi7rmy2/jQYaPh3aMNefLltbAIpOfkoxYvoK9KmfLCQTzS5LeVDS825cpv8Yue7nF1yY037n8nvHoLQh3LmcgSY/oW+ZDO8gkfPMLVHeB7e7yv5Bla3eYq9FqAYUhOR35NlEAUjM+AUnrZEI95N0J56sQBZMXasMzggL33Gz9HgtAfGQTckpHb+pgAt2yTZwnzdywDkd3CdLjq46lrHIqpD0E6JAJxr1BX1j3855muxvhuIy4YEONOn3A4PBLnQLAgz+wGibCMp7hrf6eu3ApLAZ0dMpqpLFXVd8QBG9uXc/MtoBwRtkvmpHn5J+QeyXQJU0Sbh4U/8Ylq9r0kgGKFJl+1hqeMu2XCEliVIhvUFKZOgsgaq7uoFBiw9Nllb0zpKPqskLBgaHbQnqg2nRTZW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34d41832-ad46-4275-45aa-08dd67a7f82e X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2025 12:08:47.9152 (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: eFGcO9ALCkDU+6ah5UhJFtUEvstbxTmV8+hdkjMLlo4RatWvrKUtbqYCpXh8JQr5RozA7nSJXDjia85GClKz2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7247 DSP core needs ocram, core and debug clocks. Reviewed-by: Iuliana Prodan Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 708d3f61b4e1..c017eb98c49d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -2419,6 +2419,11 @@ usb_dwc3_1: usb@38200000 { dsp: dsp@3b6e8000 { compatible = "fsl,imx8mp-hifi4"; reg = <0x3b6e8000 0x88000>; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_DSP_ROOT>, + <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_OCRAMA_IPG>, + <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_DSP_ROOT>, + <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_DSPDBG_ROOT>; + clock-names = "ipg", "ocram", "core", "debug"; power-domains = <&pgc_audio>; mbox-names = "tx", "rx", "rxdb"; mboxes = <&mu2 0 0>, <&mu2 1 0>, <&mu2 3 0>; From patchwork Thu Mar 20 12:09:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 14023882 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2075.outbound.protection.outlook.com [40.107.249.75]) (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 ACBD4222591; Thu, 20 Mar 2025 12:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472539; cv=fail; b=d7J0LL9XwUJhlOK9HxZsYt6Qofez9jpnrmtjH49scxW2uXeRfZqg/KVg7dnpC5kxYSZL/RJkZwQbqR3oKUlhWOI99ekPa0uih4LISr0e2g1hBdMxR0oOtvJx10c0l4M0IAoDjLAhflC93sPUBh5j0d1AAINaeH9gFPWrNkZOu6c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742472539; c=relaxed/simple; bh=saYC4r7EXyVBwT7/6uikwlfKw/xl2A/eka2IMS1by1g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=Cv/u6HGULI1YaWMzyE0aBHtOVpEywaFngSr6c2Ik85oILInZ3auQiGPgvWtLojpk1BJBbGDC5g83GpBCue0fu8aaPrFWK3TS2YxN9/pBW/VuDd4Ey/2Uv08er8C3OeAJ6S1x+YiZcHbZokyXS2Zor30Uf6TBRnEykxcMOOThoig= 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=ncPMB0r5; arc=fail smtp.client-ip=40.107.249.75 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="ncPMB0r5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CDXLsV1SUKvq0xGEy2KWLp933riAo6iIAp6niBuG5p3n8aosA7XvBaC2JepreDuSu3prDfECEjPKnsdVow8pA8MMrUU+u9/kD+6SK6BMQ73qdKvoDmBjuX/8yH6KUm1hf1aMaGdBlx5SVuydHogNauvfmg55Hv7goZtiNScNLxram3gMUF/wYe8a07VSEb8trAXQd8k/Dld78LwxCEgICkuAR2ZCQAaL1S4+yO3wUY3ZcGw+MbtP+P+3KJSjxCLP9ZiextMGUCCY5qHeYvRZ8S43s915nbfnPV39Z7eDhybWrEbC4/iolVQVRTJQ6px+MWOyhG7aljTAakScvpLB2Q== 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=Fws57N9Z0gD/z90fGfS6E/HYBDlwl3zjwCtZSYHoTQ4=; b=ERMj+w6D7/xAVVggEyOApREJcs/VKh7RXNNIEM4JBQm6EDb+l5Tj9/22zl51WFc1FJY5uEPUPgATJRO8J+PA7aWY2ag2xsNb3edh4MN/g/zmLlLzEEHnSMWRBxcKbCTDoGJwSS96fCgOhXhKYk5Vio/ozHGuM7jfGuL9xLjc4MrcBWpAr1B9ejWpGpQhG2FOSuLPmxeoHa2a+gChscQMfFeMihsf4WniNGf0kFJSqvUaDo2N5k51/JSGDed6BQkYdMUA8ul0X/V9KqreLB4V86Jp8mR68uK6Xb6WcMJpI3Sp39IZwz4LTQBZMcsb/mWmuyEniviE5AtzGARneKvC5Q== 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=Fws57N9Z0gD/z90fGfS6E/HYBDlwl3zjwCtZSYHoTQ4=; b=ncPMB0r58OuuP7a8GqNUC2VKbY6W9vCFAmusz/JYBBptnUWryM4ZL+AzsibpMh8tmPSi0Xu6vaYOxBnLvJshwck1v6TSPdj6sVNt3BXFHnTHwE0qvf7rSQuUFLvRnpuKVRcFyfRV2sBqI+AX7EexWTi0tkfaaaPgK4QeiI2O/MRaoqJ2ESwYDeGNJ7xozGfLHQbAqkbHH76+2D/EocnKr91R+Y2coFVcsZe8VPJ/DP4SrYJcxQAXuQr5qeMOl878IfZbAJiOz+QAf3fn4IcfH4sDVcTxiFCu4qrPpkLUfNkYC2LRE7sXvPx3z1ok3XXOfxkKTjR+Tl/nw0ftYvK+Hw== 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 VE1PR04MB7247.eurprd04.prod.outlook.com (2603:10a6:800:1a2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Thu, 20 Mar 2025 12:08:49 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%5]) with mapi id 15.20.8534.034; Thu, 20 Mar 2025 12:08:49 +0000 From: Daniel Baluta To: shawnguo@kernel.org, robh@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, 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, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, Daniel Baluta Subject: [PATCH v7 5/5] arm64: dts: Enable DSP node for remoteproc usage Date: Thu, 20 Mar 2025 14:09:55 +0200 Message-ID: <20250320121004.2542314-6-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250320121004.2542314-1-daniel.baluta@nxp.com> References: <20250320121004.2542314-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AM0PR06CA0139.eurprd06.prod.outlook.com (2603:10a6:208:ab::44) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|VE1PR04MB7247:EE_ X-MS-Office365-Filtering-Correlation-Id: f6655d36-addb-4b8b-644e-08dd67a7f8fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: tkSY13PQdhEXYxGOCrjP4ffd3qJMLAPo67S3milPKDqJP5y/+SX+c1sBDrgG0I7biaCXalIEIMQQ0wLB337NosYIWVEDfPGJBpE4l8VCotJIATrFmmdMLqrXq8GpIbNOD6saiaXegBsdkT6jvQmC144a9isSsfCMLuEq79jtkkL08vDlemmSDx4Oz2nEPPAVTCbnRwxnNsfa5p9LVo0kfOhhs/EYWGg9pR9o94CvAb9q0jrwUO106QPLykXUeqfB7Bq8U2fLp4RQfEFFImF3SgjD8tQBIAtOBhf2IFcGpB3bxPZXQYn5+QpQiByEGhVJ59+xrmfdI5BDp4bSzJPVURoS2PO5DpA/SqP7QmmdwFESVIUPQuA5/vLrkEB84YDOEFkFJkKQQn9baCHHOqo1GaEHVmg03oaC14pTiuB8WkTuuVCG2iOzUH33aIkBbSCsQ404yHju4Nq0UcNP1C5cUTKggmay2ayxeLKKYPdLP1iRck83kuWMZ2od7O9MKFRlLwavLaOJ4h9Dfztu75oS8RJ2MprYuhenJ5dflM7CMw0r7X7ixWme6NVjerbqO1KDJOdDiSm0Qpq4ZPLKSKIWJ/yznt6vuXlxpe+309wnp1CmVBzkxXPLxUIxLwrv3e5WWw2QKe89Hc4U4tTM4QRSuXcVucLvNDAI/l2SGFit8N30lvjTc7pcbDxxg2tAGDi+0QQaXC1MiTweFogn58ESPXmnvDjVXZukm230IMHVDpomHuNBVlPS0MKyaf0d5maXqPGYLXeNWeR1wj2oOp3ibzzGo/+lITVvPe5y6rbow7j7wLf4dD3olNOqRCP/LXYxHE+6wrYWvUJo592s4KVCTLiK45C5ckBKb7iZjU2I/VI0ukKdlyYoj31IVxMjy+zCKU0Gy5kClOOgBk2VHqZ3nUXdgMn/hbm//YITARHXerf3eU5h4/VLkQktHyu9FRnC++kC8U+9hB6i4qDMtS/Te20iqkt91IIoPz4IvmLdaetrhj59c23S2OSOsy0nyivTKfE1yDCsbf5cc1jnih/pJA7a5gb1XL19kYeyykftJgPfxuqpuOTCgIsMVznjAfY6aULLZ5YUq/Ww0+jQWVUpgWXaA6GSeG8pI+7VlRXUHX0sJUm2fjpb6Ap2xSO9yB9PPCSv7wzPEMfJSgQjrKxIHrIFL9H/vENidANxu0fu1y0/Sw6xbRnezs+VHzph47ZKwa8FH2PiogLAEbbijiEkqyyJO2gcrCAbE18incUv8+y8zREtYjDx/bxe8xSuIrngW9x0TikmL/ftkLUlY/48IHlE0nXjoBG8pWhLskbbUVg0HFetCC20vAsfefkROagRGE91DX4q1gr+md/2B2dM1rLbixBc0rTs0X352v8dEKk6ffrccUDygSMEmRp9rQK5ug4zwe5dKi3oNZfhKo+K0G/B21WkYwGN0EmeMswS/1N5Q9qoHQ9112i85NtDKEpT 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)(1800799024)(52116014)(376014)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AB3+CCUsJ/qt4dcECp4AUhNLXkIrqYrHJyS1aCzsf7acvBy7hBOnBuAYYQe1OKUsJM0M7Ev27tlnwezBrePyTHv35/9GbeY5r2wzMnaxSQ1FxQT3pD4A22hWMYJjNJnj6Aq7tp7ZNDY1oPXfKlriLV+J0jzjfTcPHdhRDiTgOeUo3QhkSETeL3Vm3AphbzROg6OLJG8mDWBTSZm25u+j7NTNQNtKJEFQ3pmnE16L1cmLThfPZb7V7NIgJrXGbdGmwRBasLpOq3n17BZOpghds+X3U9xcTdTfnbmKrsdFeQJW908bbE5mWvtJr4cm5Ztw1GpCXpKnuDVVjpC7QZHWhbkUEDinp6Q2+0GpgXzpht9znlEbI3H5KlMjQDZSAaifVihjFZHAbP9ZK/oiaKyZA+WXmeXwEaF0ANoeZycNeXvoZGlgSyf/215ngwcmr4qbB3HnVMoHUTTmuM1ZOMUszplrclN0SNSMYaJiZIdFM9hAwmX2Lk425V98JU0r4sjOtVEZGdREwi7AE71Fjxy//L79PrKyprfb6GWlcRR7uZqgGXhzOaylKeRfASkKBau0IosgnYqynS++O5y2Ogv784RKRBkuw/QHg9zsBfFxhMFgY0Klp16GrPW3CXoT5lwB5gjI0tfwhmGhlW6EMhPJJACaocleyRKw13cM9USmDnoHjLzTHOw0XJxZzwZ0c7QDJXZ9mveU02e0oKsW60xqI5s3duTXOCZwAFuJBnowxS5T5JujWKdEloa3C0bN2nvLB0TfJMa3fy52qvq9ZxBZlpxuZQN9S4wZEELlESUMYiucHc52lhI8zufbq/IhkxPNgZcoNW50BDmKy6LoiXa+RAjBlRto7ICxE6GP52oGqfvUPCOs2ua0Cu99e7dF8ffJndhWGCx08c7aMBofLwob4hkOG8imSCBxNn/FZdY6MQZTtHzZAjq9zFqNKdStVxrJz+oSUsG9GDfeU2Yv/SeuP4ir5NjO5sKmPf12qNu4nnhnNPfTFDIMIg6c1/oVzP0DagJy9BaFilG9/nqp+AhDWUvCEf4/otclD00shYCAn3uRQD6d+CgcgWFPjSM8sRv5Oh/K30g57tCGeEMlpYSZyHhNRGPcv2/Zgmt5Sfeh86P7JsL4H4ASEYeqezGzyMlmSNFN/Ak0mg1KlsbFUdbx4AgtxkJQzBAifurxavHPoHn3YfDjG9GY04zPvfHl1KsxHfJOpsrmxsy0cqsquieW0RkoQh+T5+y/Qrc87UO9gJQWEfVOOvpjvTAPXpHEXbo3CAfnjoBaRx+N143yPREU7KNupV2Ikfdlf317Pv1YqtCCDAHd6qVa/ZIQKewXeDzF88gWHEMsBx386ZJaTwMc2MIDiLT5O9oELdgpmqxfr2ejdzix3K7i+Y+tdP2lPhyK2xMbq3jq1F3kMjZ3w4Wqr0I0E7J+ctY+ggTAxzdjlXaJ+E0Wcqqgv6iLnQX2yU6LI/LjbKu7DRyw0es1QH0Ni6rcdJTLF1VLS9wgtt5g+J+KbKBP0FDOHZg4FoTOhHrWq6lRU97Gi0GRA1rqY+or+nozEk1Y9dJpcCjgQzQ5e80sQUtZUUk/guyA/mo8Ay57 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6655d36-addb-4b8b-644e-08dd67a7f8fe X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2025 12:08:49.2930 (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: 6B2Q5t/ftqgNo0oyfRdHIvZK3Y+ElOsZqR2slazM0HBu/hib/2oE8oBiZSp39NC1OEBpJQjdgq62htvYfNxgag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7247 Enable all relevant nodes to support remoteproc with imx8mp-evk board. - add rproc specific memory regions - enable dsp_reserved node - enable mu2 node - enable dsp node Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index c26954e5a605..9ab3ee93a35b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -309,6 +309,16 @@ &aud2htx { status = "okay"; }; +&dsp_reserved { + status = "okay"; +}; + +&dsp { + memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -690,6 +700,10 @@ dsi_out: endpoint { }; }; +&mu2 { + status = "okay"; +}; + &pcie_phy { fsl,refclk-pad-mode = ; clocks = <&pcie0_refclk>;