Message ID | 20241120135859.3133984-5-daniel.baluta@nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show
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 647081B4F30 for <imx@lists.linux.dev>; Wed, 20 Nov 2024 13:58:08 +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=1732111090; cv=fail; b=aquWlbDUaIEpV7AYxKSy+cO8nYXWuPjmHZNY9i7K6pY1avGpISzfJ2BBAOU9pA7lSo0pxAuyLBK28vK+3mwSBB1jHhPzdm1NDj/6GltoNKjxWhhd7wawWhQRlFK6hWDTHhMcxLfnwdOPs5b6lKz1KTVSsAJBB6Q9WXFB9N1a+pA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111090; c=relaxed/simple; bh=sA6eH/36vaEkuNx/RrCG/1sp0yXURkux3LcG556dB54=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=Adxp+ZQLgWFlzlgyEdjZED11rHyvhl9CK+OAGu20gxTAOWCwsq0rXPxRxGJH1BZ0x7Z+MkQ1TojhLQz2hPkbgsj7vLXr/rkM53UKgQ7G2lhZJcbgnu9qotkBbkferqnpnshnw6I4GAAceEHslsVwV7pcJJlhRojhfeUd/zLueN4= 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=Fe2fbxIN; 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="Fe2fbxIN" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G0xy968KV9qBWZ/O/H+gJri8HdXN9N+6CKW4I0x4Z3cvd4R2YwFEAtckbdwua/h6X5pZQtOoVE0o3AoekfGTDzZXB8FYU5Tjoing8onYXJs4Sg530LyFKTu/n8M+Mpjib3U8Ji4zQBYHOBxEAqYOrvNYnl6bctrLBL+fQErQC0R7r3vwiCAXOj/OYFVr48M98wVQ/WUQq4QHYjx4XY1+LP7ly2bHI+DViHn8vYhOqUTvr96FFq/OMBrabUnSeKbhE/Ie8El/fOgHwo5prMmqYizSavNTOjjyMGUAHxmfGSb0JYzHHNOia/bu2XYNUXN1W3DsWYEQ9zyyRWVzboZv+w== 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=zL/VZRLZoCjyIlIGQnIKiUV4QmzWrnAJjgHq7d0XmlE=; b=b+d2MoWnCbGj5AS48rocSWIU3RAuIT1SS0rOr3wZw/JxOijOlbvbQp5YTN+3Lat3YP0NGouYicZR/UxWcejUlpjcHlpuvGdSX9GqIvZJA7bJdCaojnQ1+T+/G2UxFobtP2badsiGfZkOM58aUXqGmhj9DMu7S8jgnKIuW2/ACyANQsnXy0EskJQWZZzjS1oKn0WWJZbDAsJpLzpGMLeFTt5mG9bbQ0qD6OJ5+wIiyyYFUrGAGDMakD6k/kEpOXnB2++JdVjeo8lmppSw8HelYYT7vxVmUBq/is1a/WsLlZovN0l4Ry6pANju5mhW4bcp+b6r0g+dLTrJYm7YvFMlUw== 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=zL/VZRLZoCjyIlIGQnIKiUV4QmzWrnAJjgHq7d0XmlE=; b=Fe2fbxINu7OrAcl/zF7exAUuzc/VGvvsYGV4NnVS/hO1cwO+/HnipJmfW0O8T+nKJtqbFfNJnRWOHg545CSG3+orD948ETVZX0tj+p8XCIlSjABPB7M8zvH5AxybKBaC5qi9zeZ1ieiNr2+x0duHy+g4YArAFeqh4HW9+JSodaOiJOwgTT0PLd2Wd9F2bQdeyQ/XEKWjimrtLxzQ1jCjFE4xLi0YP3drPC38AKeDEEoGZ5dT1NxQzYpMlTpr7CLM8tVou3M351hMIXhDqjudj7vi2iOJDFGBACP8bjBgKMO4OELRvO2uGzBmpuxZ+tvzNFhoRqbC8sJFxfgEknKZUw== 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:58:03 +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:58:03 +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, Daniel Baluta <daniel.baluta@nxp.com> Subject: [PATCH 4/5] arm64: dts: imx8mp: Add fsl,dsp-ctrl property for dsp Date: Wed, 20 Nov 2024 15:58:57 +0200 Message-ID: <20241120135859.3133984-5-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241120135859.3133984-1-daniel.baluta@nxp.com> References: <20241120135859.3133984-1-daniel.baluta@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: <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_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: c7cf808e-e859-4ad6-d197-08dd096b59ad 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: l8iWEXKNm0UatdBvqA7scL5QDzdCEc2jDUoIKrJp+o1+OPf5kXMwc1gDf3aKmhEaeMDluFcHhkiGDf/vWSmyeX0l8kdE0qXfEJzGhjTmltUC7Xwm07Tz/YE3S7wfbIwPyd7Ai8AFlPd98l7Rzny5lvw5YK1lIHg4Q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8wNG+wxITeldaSxFwMvqBQimlgKxNXNsxRGjHvrCfFyx+Aad7/P0/SXptGuL0dZm+w/oNo6WddqiEC3JfByhEr8uNh8nYmAss8yn20Z+aLVl1g9rsGwlySJlwSsGCAb29g+OqbG0sN2WLjjxIJVZQ2YYQ= 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)(376014)(366016)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TfyzRAaeqU4+xS2C2QWh9H1l5lJkFu3d/KZHiZjL/A7sque9t/AI7CAeO9u6Xk7OI+HyPyLgtftF/GBauedS+/lXxo42XjLL4+KXr3ZTeMSFaF/4EitTgEM557LT8TBdJSlTCYwUP/L53ai3fUgv8h/J0AOZ4rTaQo2PCh/ED/s33RheR7J3e+OnSV56V1cjKi9JCeApOIhG5XXB2BI1VwRuHldjGnkG/YfpMiFoAgXz+Ou7H9wEDo+98BfVfyVT/RyUTjARMu4ZJQrVhy7+gfRzEbgtofAxzdnf84+HIDc+QR5+wS5V3fj8ur1Dzxa/ubAwoMJ6dZvfaIwlM56t/oR2ZakSwjrgkgU1Urcx/8JpYPh8qHb253TCvhiP993Vac1CS5c6MZhz1rlsCQlUuciRIjQ2xGGqJnb7DucV3/OpN4qnkF9Lj9wL9rkP7kF7zm90m7d/WrTM8JxSl9PnXne89PMAwu+otCXAb60vGiPMzI+nX+TLGhgyZgFV0QB9jMqH+DTpriyHYVi5/grtqiYva6ivLCgosQGnQrHdcQ+YL6CEzjOqC9VJZm2Fl/wZcKsmF+EwdfKZoxt86NU45JLBdaO4tw9klBcNnFkkGvIiUdDQeboTGiOQAUCBCmJdkR7iD2opI/aedkKa5Yf90/53kFthHK4hwCChuK4c6w1q/igOToZD7n+FEVI9hEFzI50UDBeCN3DOLAiiEYgSuJCVqRYijOCjNnkczJ/5XrJByQJbdiUNo7geq2m5bQX2q5VHhWrM4B1RtDw1LYgDpgU1k58i6syVgkOajt52jMCwOuJAq+vx1KHjuiuBwdVtpQqsi4EVQ+UuP0hxE0CfhJbjYlsrYw2JiDWKVjf685IPSIdDzL95s5Nxoe+B8dLFTOJ1plmp/quPRjolHJ5ASBTyg6khoJ/l/bz4W+lU25K6PBzjv/pA14KqzhiC5XST1OhR9NqPM+wV+tVlVdiz9f550vFRuTUA5ijFq4nCUiUZmgkXhlCrUagjil/xw0mEjcGbhoPCdmys5eDxapeHy2nulhipXP7TGf+Gw74NkqIhpA21wpkL3HbFvxh50kDyBlY4Fil6hzauwx4bfx4YJ3atbCZRoU2l2vd7xVh1FReBvqIj9UEk/gXpXV2ztjijQnsGMsL2P1DLglhFL8VUJYqPtTePP7uNc3fO/kx31qy+Yjjr1htTtqG2XIcjnaPqVDnvgm4olzKzlUNBbIkeXmZhooVQKZmIG4UUPrt8mELmn6jFziLo7/SqxK1JlyUdPR+Q4+yugsyjWRvJr83kjCANvHD+lmIfqibcyn5764/z8PjOMM+ahRX9K7FSYvLLgtEHPuC8Jkaqe8XyJmsdfwuKIUX8GxgsDZLPuXySAUg/8RJ0LWQFKVIAJNuymI6pWYZagvTtIeSQvhdw2tveUHMyTdQ0zPPK6uxanA9uFqIuyxWfzkv8Q5m3tTay1/W+CJH5wlfSm0IpJSXTuQAdpRwUY5qH7p8Gn7RDUd6xeV3ifXRdKluelbsrzOMWIGafxvvoezIHU6C15ELCegQ1pwpsWVCfvGLNgZZ3cj6Dkh7HmM22d6AZU1edFwXRXYRZ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7cf808e-e859-4ad6-d197-08dd096b59ad 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:58:02.9679 (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: wXwKZ3X7j6fLv4OZOBIPkiH54NqmNOCxjcPgq0qVvuxC3qnwVVHSZGsUaBTI7v5RfsKAbZsa6aYiD4E+5xV8Yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 |
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 41ff40ab5da2..fa4ff75af12d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1616,7 +1616,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>; @@ -2433,6 +2433,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"; }; };
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 <daniel.baluta@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)