From patchwork Wed Nov 20 13:58:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881222 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2055.outbound.protection.outlook.com [40.107.20.55]) (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 B62F21AB512 for ; Wed, 20 Nov 2024 13:57:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111081; cv=fail; b=aaKu0MHUJ21n8nSSweEi5yKN0XrL7XRYPR6RrsL0QGxvniEo+7nQnTh7lDpiJHaQnBsPAljJ2nZUf4F6giRLWBESuGhWUENFZGv0LC1mNN0MLZ1cUvJ88Jm/CZmB708FPwxIkz/bhbUNB4nJcqpC52+UcPnVg3n8ds0t0BltZPI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111081; c=relaxed/simple; bh=Oh54RUOPQFPLE0IYARmvHEctrdQuX9DB+beE3iCKArE=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=Mb2avpBzcUFYf+j0JVCyNnoLQQl5TetJXwLbeivmXbaJwSJ9oZzZ+4cCnRI66g1sYf4jmawgZdarmNMlI5qXqXoK2jOhHLjailxfuqNV9OnYx/g7Gg028gDMxHWAK/qwJkLttTCx6cBrv4Bj2ILirTTx7TowlIEMk7EFSGNTOyw= 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=DVrCyIKm; arc=fail smtp.client-ip=40.107.20.55 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="DVrCyIKm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LdxJhLSCL5eiEpsBNct1sfmPdp5QOLsfroG8gr8HSmI4azDmb3Yi72QPNJ9pJSZZOwTfOQN7iLM9f2jLZ/a51a3uF+bSJqOPSNKyZ0MLcxhdyQAGae9vb/tlG2ZEYdzIjcoqmm0da/YOoduKZoQOJqfD3aNeNwqELBXYjhgVTUIYONd5ecDHhn0A8Np2ewbZQIF0kgnSDgf/yI9fnCCvWKoX9bUMJaIdDrxvvDQAhiYtKfKvW02C5RPwEFli9m9TO+Psp3nwotq9QaO6Jgf2+RF51xkkzdXXlq/EwYfGqLaONZGMY+94ea/cqcfaJwtG3qL+ByMvfn2ojWDfds4TsA== 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=6dXZUIP/423XuxeOFQB90YScfnXBOfZSQWHFaXvoVGA=; b=T5MttDWRdmSZAVkmn7WeAxxt3833V3bCtE5AGfZUfMekTRM/2LTDBMCHlLz+awBDbcE1q2Yh7sQt7g/djSIsSqODDGrgVqEcsmhYS/gdcDmDq4HSR+OxKaXB/RyIw0Y37kcK0jOB2s6t051rHiwaJr9DT9nBVOvXHufPrnJiC1iyXntR/1ZvZ6foT2F4YwEsM+0g6KmmaUvHhoFZp7jD7yHRrO46HLvY64Z/WEVRP9zfyeR9i7/Q5zaP3O2ykSO6ZUCld/Z0Xw9T7/qGuSBJWp5kzXnNpfQNlNqqPhkuLrgO4FZmuuaZtEnha9VWYXQjEvRujYYfeYdXCNqnSHavLw== 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=6dXZUIP/423XuxeOFQB90YScfnXBOfZSQWHFaXvoVGA=; b=DVrCyIKmj7ajVJWUh3G+M9uBF723fuZn2pU8z1P3Pa+4ZpUr8QkbVnMdjLiZ8hl6ai0svVOh8z98CbLBVPPH+eCbTVH77nOeB8rnhA3kF1cs2VMmLUf59GwXkgUKwHTQRaBUj0er8iSYP9qXUaYctfz322y0ofAQOtZ6by9xd89aZz5kRU0ZdEshYtsAmQDTSmZhHFTK+6hxsRpB3Bbdd2++niWVtsIrOFNmUsAvLmEJ2NLitL37IdHIhePb4KnRtiqAPHZH7zBEqh1ykQ9le90vtsWHZ20kFtVaT8Vo1CcVEv+GDZsR+SeLUml22mQRQe2pJG0RadBx70gd65sZNg== 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 DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Wed, 20 Nov 2024 13:57:56 +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.8158.023; Wed, 20 Nov 2024 13:57:56 +0000 From: Daniel Baluta 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, Daniel Baluta Subject: [PATCH 0/5] Configure imx8mp dsp node for rproc usage Date: Wed, 20 Nov 2024 15:58:53 +0200 Message-ID: <20241120135859.3133984-1-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: AM8P190CA0002.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:219::7) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: 52c5a9f4-63dd-4636-22ba-08dd096b55e3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: LKbIMv2WhNjifBWMmdg1NLYH28v9rtV0mn09+Z5TmI32W6OsJW6mnuOqFI6OXGU0yBcqE5wYL3SPsKty2Fx3ml0Np1K9/Hvl8cPaQcqVH6oSbuYr2eaOjVZczNh17pfdUIREuVvUh1GQ5qy5FQSrhgmDRYT/CIXQma8gbOdHCkjAfCAqSZRH3iLrj/XUsq8ZW8DZVL1kBbuy/U/kgZVYa4zv5P4aCc2elUJb3+l+kZTuG48f4sPxTAM3m3lL9dt4xWdtjsvZW3mbi1m2IjbYMH1AJ2MFSySk7qJF9jOhxsG8VRfMSbq9C6j0o+n5J2Z+d06e5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am-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)(376014)(366016)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dlFTD+W24d2Wh/YkXHBxvRUIQSDayWc7YLpedi0u5rDp+JaN2MhESkwy1OZ+iyI7cAg9zJYPvE+htl7SUQilJwgrmnrziChXfrJf0ipLTnQQRr6NkqWLOnoIRkonF/eKSbtrJGtBtBsSSaHds0y09IPe/W4mPHF2HJfW9TEltwViRQU+itJ6PVM7tKur+FWOcgfyX5cKa1EHA31T8UY+pr9127nI5Eo86S9bwVAWVHD5N96wvPpJZvLHBYOjK9kwqSL+83k0AY/KMvqIWAw8+yKuFf/dcT3w+6XqdxvVg7AF9FqzuxzYZoOMuZd+7ddf75gs+9qddu8LAoFdB+l4CASPkBe6KhC+3QBuwR4YLObFN3StUDlquda18Ca6SsQAZcDkZHuetODs6PAHFtdC+2epbLciSI4F63iGmUXx0VrOnN0C4dMlg6zwJVsC3TCy+i/90xkUV3vOpPOYEPQpiKS4SV59mXoDJ4PntbFQJbL7hW5Kt97Wh5qxneqH/TFn40CVImx6UQ94+TKJrJomSgCA5l6wH1OLjriUTBc2HQxK0htpJSOnjD+fBIHwWmQJQG1F4XAzMlO6TmM82aBYvpjOtVIdpdnuOB+sSePKcGoPLDDCX5U7xFMOYFPJy/i8tObL+Mv4B4Gqda8GqFlh5IKx/l9KQ1vyrlrhWIW2LOHCNgvhHfTD5iK9xtqKp7q2suyhmxDCQ9zw4JIYkcw76SSYp3jVj1aAS2qR0KwAoHS8hUKl2ds9V3MVBYSXruWy7aZH2IuItaMgIFHn/+TXRUPl25C4UPYEgcsR1TrVtac5utBuchF0+Z+SHBpUmMWjiHyiJu0SFwdH+2RBlgV5Q2F+AwM/XdeJH/ooQc6HJTDmRRj5AQCZvZrQ35P+SMZNw5QeS0C22NYo/evdybBm+8ZFERDVM8Sqcm0LrFdOyMZUCx5F8yrhpxtZh/luNreEkUzClIgkyuFdMKm16LskeKi+dwNfiqCo0EA3il8HhyFKWG6aXjQXlQcZmrTOeFqQVxWPfj5X5cJLTEVtIzyKNTUOBaq9QpTR6GhkOfRH7Mp4INZgTT64DhmeYQ8ZIKg6ygyMUFRztWEtwIzgJn0Tln2WV7WdO3XEpoHzByCgMU0Y9/L3DpcPV4zcQ3hbspNiusIpS2blJo3GGMu26R3YSXE+q+wSBu7gYLRkMYU4KiO3NA3UXNBEVy2yT57hWRMjdSHiROSwBK1Doryk+/1VoPbZxdxctdf6nv0rxiVQytv+oqSStW/zNVWTYEBgSFZa4q2zvXhGHTIgxhxnSYS0y10BJ7GX9aCJfP3y/ghwpsJcqk4KFnFgCnUTMGkdUWDnWdTqJOg6IGXd0eoN2xvPU3FOpX6X1BbzZCqteK9hCCP78iOYv/ZncHPLcjsAxD8tv3xP8dXWxh8mPl2DYw3oVPz6ocInOmZ4ZaqGyCfuSPdYBh72vREeH1RbMDAoikJKoL+2KObX+IOoLCTjwXte1O8e1j/RwtQdFL7LczpXVEz+Cij1T9AL8i4RpaFHcCz37KCjS3BDhS7uF+p/tSBcr3Rq9uzJw0AyQNpAd4RgcDiXcpLFxP0fqVygCE1qlQvF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52c5a9f4-63dd-4636-22ba-08dd096b55e3 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2024 13:57:56.6491 (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: Dc0V7fCUBwXlAJIIvYd687G0x53od+lQY9WHFdI8y8UUpTAGGl+pI6Cv7jYsvRUbNf9RhG0mc6C3NPttuC0hsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 DSP found in i.MX8MP SOC can be used by multiple frameworks in order to enable various applications: - rproc/rpmsg framework, used to load for example Zephyr samples - Sound Open Firmware, used to enable various audio processing pipelines. Current dsp node was configured with SOF in mind but it doesn't work well with imx8mp-evk dts. SOF controls audio IPs from firmware side while imx8mp-evk preffers to control audio IPs from Linux side. So, configure 'dsp' node to be used with rproc scenario and later will add a separate dts or an overlay to configure the node for SOF. This patch series configures and enables dsp node to be used with rproc. Daniel Baluta (5): arm64: dts: imx8mp: Add mu2 root clock arm64: dts: imx8mp: Configure dsp node for rproc usage arm64: dts: imx8mp: Add DSP clocks arm64: dts: imx8mp: Add fsl,dsp-ctrl property for dsp arm64: dts: Add dsp rproc related mem regions arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 6 +++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 23 ++++++++++++-------- 2 files changed, 20 insertions(+), 9 deletions(-)