Message ID | 20241120135859.3133984-3-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 048041ADFE6 for <imx@lists.linux.dev>; Wed, 20 Nov 2024 13:58:04 +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=1732111085; cv=fail; b=VNzdaN90Ar46VdS9sOtF+kVJiO4DCoJJY7mhOG5IV+SSWgoWP/rISAU2GYd7v6dcztRHRtaJZeSGdah86s5FxvHQg007UngflDFXJiN7GczR4eOkM6anRXFJUzYLYtZ+B7K2h0UW8uU7SdgByBXeYSkj8Jn4T2QErMWiI/9KT3s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111085; c=relaxed/simple; bh=Byg3ayBJfBbHhVvrRZyzx3pIAPLDT5vY8syGen6rz5s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=ScrqUGOZ+nAbTseHf6BK3UKOs9pqtjBbttn2t0v9OQmZHvOerWSsrkfhkUBNXUiixk+P7VthtWMdmP4KtkfEr7KmGuoUhynwWJwnf2RyExLulDqRHCZ+3H9HBCvidRGK6/OQLj/oEiYRFruavANNCogZgaP0hXARCf3eLFEQtGk= 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=V5oa/dML; 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="V5oa/dML" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xG0zeTmTwygle6dZkxpaWXRb/LVKdgSVNBxxQfN72QzAxIkvX2K9y2K6g8JZc0u39kZiDSUXHKizd3tojM5V+Xs+jjZXweJ3LI2aR+0P9ArkM2SZXcYZN5d3YG4XWTx+2mngzWWNDyG6L2zV65V4UspjcVigmxAxG4/s0Y4Dq5Ol8274xdtadzUFJu/3sQg0cYDb77z1kOiJeeX3Qn6GlMtDd+R97/cn1Py5vW8n5mupEZacIf0GQfcNNsaEJ0h7LyJJ4RDxt+Z6OsP7jPUfEjWQHIXKaWQc0cH5yQP2McKte+kI119xzBRmHn65NjB7Pl4Ko91/rpSpuCOfTYHZcg== 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=EGFAMBWNqhL9qJSilVnp951AcmNrZzeMd8YgTI5nhqI=; b=dEhaMBrmPuDnLbRrvtCBIiXRVko3Xc7X7eZlpmpI55j+nv8m5j+pzrZl0HSeSwGQbqcArXuF4BSXOdmoS6q5Nj9YCPSzuMMNgiN4b8m03O2DioUxa9DXmQiYD5KXgQNmVOEZo1+r+zhY1D26QNhSYc3fb3W+ShVJH2ESE7KkvS8pF/cIcukmftPa2Y1b+WWmnWsmx5RJ5N1eu7YuXcobaISCsbgCKMkoOpJ7h1jZ7BWaKHPHVeORU90sgmVB410J+gHl77rYJIP+IcrEvJzhL/rePQhe8GXZTbnzsC7HQrRTmFmD7UbGkuZtrnhuCT4jyj5ToVmRmZLHF8oPfimvsw== 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=EGFAMBWNqhL9qJSilVnp951AcmNrZzeMd8YgTI5nhqI=; b=V5oa/dML4mps7qT7+n0M0OK0qja4itSuVjPpkkfLLX+ANrCD3sFbQjEiHWaYnIvd9XpqYffloEF49hT6PAO2mfSMlZlAgR+HMORZCd5SUgAXT1EKY0iiu4qBevYPt4UFReB8TfMUMRJXgievyfnqF5fsYv8LWQDXnZAOurzPetQZEeqJt8Cv58/8RtMMOqCC/JwCxYlmiDJ00iBLsnCGtv1YIC2QjUvc93cX+HcYewAX6FtUYUZ0+ofGLmMRp6gb24ht7G+Gh4TrgiuJ+QfmShT+AUMpR60nDA6orIkI2k0a5TJvuL8Kp2dl8h8Pra1DJmPJYOOdXI3LgmOhzd2Mvw== 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:00 +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:59 +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 2/5] arm64: dts: imx8mp: Configure dsp node for rproc usage Date: Wed, 20 Nov 2024 15:58:55 +0200 Message-ID: <20241120135859.3133984-3-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: 5200dfe2-6ea1-4e6d-98b8-08dd096b57cd 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: W9HP/ZUvp6W97dH8sFBSPNoF0I+Aoe5ItPUCJ2GPXe8WcAE7+TLYfv5VWPphAAogPQFmII8TR4VccPwvoBH+vNwDrFTDHsjZiIxM75dfhfSLE2XOlJ3jhyFEijPBjUIiwlu8RbQqSJ+xQ8Fd+O+fYc310HA9zFR+Mw1YGPc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zRz6vtZUSemAr5Yqbz9XYzDHoXPw+RC9iMkVegHdg90SODw1cuNoIdmXzszGvL98t4ddHptzPsGzp2sIOafbR1DYs/HfnqFgV3TwO4tOUFSNz0CyMZLlh5cSOeUD3cL0mHzoUyfwcSTJ8= 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: BWy0b5qWS6DKMZnA0ywK6DPSq0YmdrpqNduWo6LaO8ccz6l/QQSv01Eb/jcrALeZDsvB70hp58ffyy9dF9+LQtM1n6gqLd9VMi3ozJFcIfyBIMqclK3zzaX1aYGguwRutrkpx2CKzZ7Y2tRTnuO/B2bjwOl1eu/ZO5dYIhVV4KoSWBwo3JV3OwtL69Be8iEsPJSkIIEA+KGAqodAzmS7UAPe3jsV15lY7SLH8WssnflAKUpWIxGS8dyIe66NGP79Z63v5BrgvjZskMWjBWJ/Vz02Q9y6pxuGmLx4C2S5gyQxbLKuBnURORTyQhr/r20tQJFCifQEeraVBZGiY1n+uf7/O+xmvpcIROgqDzCslfKOmZTw4iclN50OJQ21hvQ3aIkdLIer1cGYFCoy9bUOR/2zE3ZT7GoTxzQNGgx1bFz4jpicikazg05n3xJk/6XsgNx2gyUpijqXnra9TpGVx21FSHfBPnOZDEGy9jH2kd56eqOWNw4IkIeLUofDpPCVmYZ4gRO0GdQ7OfyhaKbHr6QhgH+VZmHDZpXB+R0CI3la7TDpMfrMTVByMC9SA4kl1EeDmAosYWhV/qk2a/mxqR22OPFq/AFqaq2pomN+MWN2XCXXJ8q7P3STHAnJxG40YYl82CfQ7hrSO067jBj6iL1R6Ml7xrAwIlgi8ojFRi7Bpa7JlqR/FiLBPd6KjkWzAh4woh3UvnYugosYwRKC+zxR65v9P+rQpjS5gBro8fcpPOzHVBFWYGZv4OoiUmsZ0PTMG6uzOugMJYlZfVG7v20buHSZZ2EDBc/YgYyAPF0dbMjd5QghkRkm8CEl14wnfr225whDEt0/Pw//nDGoJZEa20E23EHRIHKv9egAFzAopf681YzVB9EENbYY6yKRcI8VSFxOoZYVH7736z+TkAeAXwrYCyrPMqXRhqXgE32tJCeuwwRZyr0Wd/sNAoZpGUQctG/cEkO14m/MdxDYc6+FEtsP6QvCtMgLEpSiZNEXFkyCUOU4ZjD4V0VTYbGuLTVdgYIfvo7xH42FfIXW+q1lz5H/zqealjVbJADbU/qeUE5rzuQjx/BzbT/nViYFyBtMO1MsrE8ksBaVjQ8He/YnaE+OYtIhS1678fifaYu6+PxSdPptNZtjBt5OaPuoG+3GUl0bCDAjOYT7QgOyy7j9ObNdCwP62+DftiNEZhCig8O3NHqjb5zqXpUnZU0G+nM7aGLfSuMg/C7HFLTcpyzlv2ZX5H1FQ9tdTU0FnlqQJuWYEWzWLr1U2yeM+JgXcGCAO0mY9W/ZhqFNY7pvzPbASzjoJi5VvnNmtWt6n8bG3qKmvkGJrU9RCvT6h2Iis7VbfQXqmwy8LJxi6ppqgmu+z19mPEhVpHTnvEb1SmgwKVlOFDO8z+FGVyC99wz0EbfU0O3mbOIUZmkplBlqqtpyIT81ykgHho9uMTG/z7XVasPoj7UnPZ8sqkArQeCbuZSSrs+pAQkh2kRLMCW7PSOYLEuXm+oelvBPoKihxjt2vxuyC7nJMOBerrpf0JgwwMCbSJ+1+3OV4b27iHeOzr3A8prh7/XRAh5ALKM2WNk5+iMJswiH2qRzSXSD7zT0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5200dfe2-6ea1-4e6d-98b8-08dd096b57cd 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:59.8626 (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: 5qUN2wXLubc/V6TrbZMJP0G8eX/UX0xqgRL0YN0xVcteWEY8EvZVT5diit7c8Amyt/wwLk+9G8gz1WFk3Mj9Ug== 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 9173deafdd74..abc8f0d4eea0 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"; }; @@ -2421,12 +2421,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(-)