From patchwork Mon Nov 25 15:24:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13885100 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2070.outbound.protection.outlook.com [40.107.21.70]) (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 D30F81B4F15 for ; Mon, 25 Nov 2024 15:23:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732548212; cv=fail; b=kCV+nUeI/kyJ/XmHwfhLEUc4S/oAxecHDOFUug22XtaxhsHzMnM5Usy9j8zQpF8F62PcjQfEtFQFzmU3Ev7CS8Ysa4dfmwHlc57W3dSBYwEEBFxr7NYjdCqUiDRQ/Gq6FNQ4wJJQ3iaA5wgu+TK/1i2KSVYliiYU3tR19YU3BOY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732548212; c=relaxed/simple; bh=R7kz/6p+moReVmTY8g4OtmT6B7yq5cyS4eAfyHHMmb0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=ViAysthZhB7G33aPh2iW9FI15GMYslvlpuryFIgXQHpxHrie5kqzCB23OwOrNntFgswwXNBphHoYBr8B/QCYauJPJTAajZcQnEdkKW26puO40hXbZUNz2OSlVUv41d80I6kHLyL+I3MEtoQwaBzrGJnosxGxE7ifXn9cQbnWozo= 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=aNQySO7M; arc=fail smtp.client-ip=40.107.21.70 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="aNQySO7M" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OUKXp+6LhCUGAE6vEh1tv9bVzC0Rn6LT4k4zZEaJMQwF4pO7XwHC+4OLWJ8YexefbH5tcyw3B55JhzAFxte7HAL1PDB2Cl+D5YXzj2Ia7F15Gvzgii0++6HTKVxBM7Znb7h4mU+886QniBGinKBUCc17BFFvMwlf9WhVpeZvuoET7JtIZKpi/cSO5JR/PvJ91M884RluLF9OtvZs/JYE4bmyEpZAmbcwB9DRoN6YGaa/+P+tv4hY3G1VSEdxe5wGHDsFEYsxrUMxHkJFU3uj4loOc//tgEmoHGLBII93sqsy4xLP+WkvUzhNqOj2+XsQ+K9fI0R8hrXhGI0dHSaXPg== 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=+w21H82L7WkxRq2DRUydcOoKmctov0j0fDc50FI+Sds=; b=LX15uF4KbdCFH89z0R0i2RirnokPjauZL0yqZGj8yStn7JfSTZ0ML7hN3oDH76HVjOTaXIws5E3jFq5QzR+oe7O9W/+qpmxnd9OzMlFgd1b+H6B25Z9SxP/tvB/S8HVmiEQKbIZAdfqok/sZ9JqD5Ra6Gq8y6g82SJ99lKZJdklJ2r/kBno9U3ZV1CavEIEX2TfMAECX+BCTqkOG2+RG1dH+kg0BRborAHI5ze7MiMGeRc+dKrUlWKsWSUDmKI226Ws4xNaGmb0AGyGBhmmtCeAapJk1oQk5cOU03WEQzKKzw0EJwIAAuv4BiutNWm24YbGqnb7OieudlceYpWACVw== 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=+w21H82L7WkxRq2DRUydcOoKmctov0j0fDc50FI+Sds=; b=aNQySO7Mu/sesqBvqf2eFFGOD1hBb7i78SgX6ViadoSvDUrU3sulXiLJo7RsJQftZBTUbeKlsCx8Lo1yfYk62X9w7JmTED90YXtVW6EzO7O6xhUOh6/6Mo4lmQ78R/zKHMkP9cSrH85r4zkhoBfI3EnfEu+z0lci2hovZrpQ8jGG9rdtJj3Cu6Wpx/B6QyfldRKRmrrcBDLnD2YT+IwtUeH0EbUL8wf2kpTWyn1kyK6tSiBPvuUSrv5edaopgjiUE+em1Qu/YUa22I6ubkYZwa+nBCJE00u9rugvHa4nZqus/cXUSDecmcBXAeHFwYGcw8X4Ec2IaI13z59QuEAPrQ== 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 DU4PR04MB10886.eurprd04.prod.outlook.com (2603:10a6:10:580::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.18; Mon, 25 Nov 2024 15:23:26 +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:26 +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, a.fatoum@pengutronix.de, Daniel Baluta Subject: [PATCH v2 5/6] arm64: dts: imx8mp: Add fsl,dsp-ctrl property for dsp Date: Mon, 25 Nov 2024 17:24:25 +0200 Message-ID: <20241125152427.136883-6-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> 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8247:EE_|DU4PR04MB10886:EE_ X-MS-Office365-Filtering-Correlation-Id: 75b2cfaf-42da-4b58-426f-08dd0d651bb9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: 0+WQRq1QC+d0M6LNep9vQhEVgZbzj4MZnGCqX18KsZo5hUaSi2e22HIJiuxe1vWjIBkPJX5j26lGY5Rc937DkXLdpusS6KpG3UuZxxKovf2Bgx1JeNmHkdq+/eCI56z9pVwkGQ3PR1CqtEZjpkrkVSlqS3D7ca3Dx55rJYEFDWMXIBXXt4InN7tW/BM14plHzuqL8NyeM2ca01qgdhlAdRxvICZ4aSQQUnG51FAJXlntMHSIYkNt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Uwt5hyszO2G/hseEOa/SS8Se0hzJ04aOe+lZlS/xLcTANtsQIeByEWhsaaJnSQo9NoGywLugwfz4KqDgfaENdiaDTYE6EBFhBlZO3xQ== 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)(366016)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q6vmarzF8kcXTCZH6XUCyx7BTC9MYyU7qotaZdEp2dVvLhQsf7mqK3iR9nKARninCg8HHs6v7tqLLF2aWEq0QvWrwVNJzFOAv56SOukrA97rwn0BBqRDyWWFSGQ4pItE5P1U++saBT4JqvIj4D0UC+9zsQmhR/khyKBnNg0mdjpoqk9IQ/pYcCMyi4lDx3VmoZlOI8tJGn1uxSWPlBp1JHy9xThPj1H/rGbNrVH5Z1SM0aneC7MfX6XwPyTpewJeo/yxmv0s9mxDRrHcQMjSzNe041e3gjPzs6Blx1MmZElpTLLRtaHsPyTaBBrf+FwGhhnCCkooeAc1zo8Ejub9/A/fE/esg7BXS5aj5XQWttegoYNsmzAKyHjpEUEHjOz4vOnsc9d1Tg1kgIpGY03lpbP9BTPOJW20zygu/RnuhuHEhRhAIBBFO1qB1wzQSsnzhrCT7XrtVRWrciE5Ja7/RDKBmJxPHZWoOPcocQHbg7e8FBj64A4QtZqNViErAEmQ6VQv32g0tHBQIfNeub6Zuc6AF+TUBVElhFZ39p98Jp/nUlPpuEPNyY/+O3Xck/MRgz2UMy4mSYtnqdwi7YssAJWJgjtzpV+ctaxUb9duwvZniZgGJevSfcPvSx2bUluN88HYO10nOohsETyy0QuNONSaL4fnXfjj5w4P5UyjWPzZJkNuWF3DUejZb42ITxvBkZPVPzh6hlBbEcqomTEQT2QaTNiemJkT7zssl2QX/3nmBp811OOCW/+dtgBzowfc8s7wYcRdssBz7IZXywFlFwbt4PFeVc4cKqHu009f4rDbFfekx7onQhmb6SAuPwXGzr+KSXlni4bNws3dua06Wyi1H1hknD4FfzVAVKf5fj4XhL+mDavVB5IsQeeGiibqg53zMZ7Bg1wPPuxOpz2Ki16td1cIzqPMYsEuX+UmdQnY6gKr85YUB+6as/iHe3n6rre0E0WvCO0PBBfLLmmBVgYzgFhXPdd6VHRaGYFn3bzdDKfIGGUIedlsmYvK7wKVLkoTf6luKuQFEq/0GgbH7iyMWQhl7A74+EgR3KSoMFjNzHFQAkZ23v3FXMWDJDO2fnxvjSqMuDYbU6OH75oJHBnqHcmW73rDkTJT3EJt42BNFXSGxzgcYjRxLUayaVTQYVA9c1/rtTcGCoD5KS3id2p+9RdA4fI50uch6TNvsDK2VYmw6WDzyVAZKc6e/4mDzrvRQOfkyvsqiwbXmPVJydV3f/mrO3vMoakjQmgCKadkeJH+epJhpfsg95ffQ30D0TJia8JRHHHTTwZoitH507hC4C5zEE/6rr5pcvwdJS1ooGM2ulTsIWd0GCVoGzEZKWM+mZZul4Xvo3OqBo+hgxLmYWClnXEaJBfxITGOKnMU+Qxw0V7D2DiUwvQbPSdTfjBFCRe8/qkT7tcI6cSB/H9dpT0Ut3BFwu0x97Xzu8cRrZYAhbtN+aXBspsXHnCWzePruCs1pr/RHsQ5wkMGBV0pH1R+uBOZdLpHuvHC5ggNmFGbhTkZXZBRlFatHi+I9cbG3TXCbdd7/BIb6CWVOVAK2ceVdYUzmDj4CosPU7WSVjW+K5afV4rjhLJKfb/3 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75b2cfaf-42da-4b58-426f-08dd0d651bb9 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:26.8001 (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: b8Wu9BmhdCtnFwhjHquktW6EI1+YnjVP9+sIJpLT3AMV1X/rVTlKq8LU29+DZIKO/oGnHSl0CyfX5Yo/WrbWtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10886 Audio block control contains a set of registers some of them used for DSP configuration. Drivers (rproc, SOF) are using fsl,dsp-ctrl property to access those registers in order to control the operations of the DSP (e.g for start, reset, etc). Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index b42e6430123f..c8f9347d602c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1609,7 +1609,7 @@ sdma2: dma-controller@30e10000 { }; audio_blk_ctrl: clock-controller@30e20000 { - compatible = "fsl,imx8mp-audio-blk-ctrl"; + compatible = "fsl,imx8mp-audio-blk-ctrl", "syscon"; reg = <0x30e20000 0x10000>; #clock-cells = <1>; #reset-cells = <1>; @@ -2426,6 +2426,7 @@ dsp: dsp@3b6e8000 { mboxes = <&mu2 0 0>, <&mu2 1 0>, <&mu2 3 0>; firmware-name = "imx/dsp/hifi4.bin"; memory-region = <&dsp_reserved>; + fsl,dsp-ctrl = <&audio_blk_ctrl>; status = "disabled"; }; };