From patchwork Wed Nov 20 13:58:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881223 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 EBDF51AB512 for ; Wed, 20 Nov 2024 13:58:01 +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=1732111083; cv=fail; b=L8yFjPk2gTPDVOy9axd/hK4+kt78MtPR9jBitc78crgBfe7kCfziBtSMqieQvMZpX33H4+8UcPmu0SAYBHvuZ0CW0I+FciDY8WYX/p3yY1R6H0rbVsyP+SV3/Z8iCnesfHTyoEe8JCoi9JRMZadYpSc01U0ySibK/SlD3dkGDQQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111083; c=relaxed/simple; bh=NgU0BvaYzH2uQRDGcpunqnoFgcgMri8iSnQqDpvip6M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=LBPMedQcEmHI4l4xUwhzMo+L/kVduE1SGQGHPyA2P+JM6i1Q+gaH5frE90DX0PikyFjf3FX6GaEKPFqkXFLZZtjYQmEtR89n+AUOgbhoZvE6KNli537GaO5fvQJ4vHXAYtT1knYboi3xzS742ErQ8ogyxdmifToUa2h57qmJLKY= 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=FWu7P8dH; 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="FWu7P8dH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ksOjBPzsxjvjXry6WCvrGo7ScjXpdKVkKEhbz5QWKM5lkREiYRT2A36xh4wIGg1pD9L0EA3aC5jNIgXXtrv5qvNaRQeyQPpn8nGSbWW8e86dRJzJnqCxHpjcf0jV5WCGSknQuu9dq8wzLngECqTD20AyEwxnt8ZwqGnUzjkoI9fJl0LOLM/iuxvCg1fEG+nPCt1/yxCmZCxYVd1LTRNweRN/FgJGPQK5rpbVF8hWLxV60rskheKYiNeKCu4tluQn1lrGV9lj3xJS7nIrCuSdSxSri+/Y8yMESY2JxeE7lRTr6FQ71C8DGV+9aV0eZfZsps01C0yqkVmVpUA68upNTw== 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=s3WUI05p9TvqDlu3Cn9xiJPAQuOoCL9gCqNmjnerwEI=; b=mmCTKsSEPPFcB18vSJEuHGmFoDjeBD4Sqwpt+93YahY1JKYQkzAeI2pv4ArhbrYopDWnrZ7f69zZJA6sn9IPq422MtkN3unsoGLTnhDMkx5P31H6HYeiQPHiCRXAkGBb2UkNk42erpJDku7MRL65UKTR4MZQK69sciFNMI066L+trVvXRzb3zT6PLwqYrmFfBKPZGcky4UxxJ5ZN68Vi4iB8iwdi6NR2gDkG4BlZMD5vcLQOjg9saQyhATKN0j3t/MND0zl7fAFbl+M+POgWiq2txpjLs2b1usmoeWcIjcpwTQRY/VSpAOPHpQWURSWNXfek8TvRsF9bRj+YbpimBQ== 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=s3WUI05p9TvqDlu3Cn9xiJPAQuOoCL9gCqNmjnerwEI=; b=FWu7P8dH3aB6rwcm+M7yFoDB7vkmy9TThMB3MiSvK+NlVMo3mnsBu+0a5AP5cKpCkUPMNaVgVpu3G8xlY6mWW6OXkgQ67NhSWRhYgjEzdDDXjd+9VjuwxguUikXdcSUizbqarEGHIhFRlbPf5n6xYfvxm6eY5P4M0pdSVe/3pJYKIrlZjGx+i6eN7rjvLeMa1HcOddIDAKi3iYXC2ahYaCopohwu7BhdP8H9BrHi7oXRhz94VXxLVJ7R2oaYoYynH34aWdF/0dTYhgmESU+wE28nTcVRGvIqBg/ke7txK7ZrYA1TAs/Oa1y8EE70WsIvGK/z1IAgbqjnxbtcrId9HA== 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:58 +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:58 +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 1/5] arm64: dts: imx8mp: Add mu2 root clock Date: Wed, 20 Nov 2024 15:58:54 +0200 Message-ID: <20241120135859.3133984-2-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> 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: e2a66bb7-53bc-41ed-d6ca-08dd096b56de 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: BYGxzVJJKv20jNEqs1iQip5gADbP7zUGrHCzvD5HxAQKl9KipdVfySF8Gm2zu0DzYkZ1qH0Bw+PkeKNq2/xt5azLonnozmnjIcMPRJnoKpVwlMUM7ytRCVc2Dk0eIEc0sDszjRDtyCxDNwEVPydUTTt6SRG9nHNnXeZyb0FJEs9uTJBjxGBlpKSKy3+RuGuSU8M+4Jx9M51jigv1h/XKyIeQ2YxV4qbbaf7jtIRN29zrtVOHOS2pbuJeA/crA+ARhZd6AixzQLN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uEtXeL4QoUpI2A7d20Y8HsooPnI= 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: O1aIc044XH09yqATC6d2Tn+/VW7knH1ORjVL1dyKXOwBLubk6xZdvFjv1JMP24br+EGdJM7yfqIAzJCDVeJjLA66zumiDFrbp7/3zXUrQcDfz5ihRxYikMOSlMFEbFjr5xdrw1EsJJVSsd5iODbV+T9P+FjtCF/kYxDeLmhgurdpM1vWqE4xG7pJtZ5ij4pFoGtco3O07T/CwpAyV/WyXJBe3b/zbC/lgvxHk07R0yNa+WPQXdjsx8DULs/8Er2MZeOnkrk+fs7pd+++RHtSLh5TMZXdAdKxrJi8b90F1QQFe/R8b5xUcuBRwbcm9V6mm1Bc4g8Q1my8JrhSwN5juR3a40OlPEufDZhz6TAwrFef/KXgL1Y9PdmFrCQpAzMIFchy10v/DTjzXan+uATpJiYv0rcwAlTGuXuAdvh0tNskkqgKP+BUdiYI+a/WQ4qzYGs3B+dOULTs8O6WINya5PIuEG86g84kN3lxW/Lfskb1++K3H0HhWrmpAdA7ZRZwvisYPB6FzTjYffHfuuwpHiQ//NzJ24WzOYqeMept5bCW7H0ZjUht1mnE9rguVNBssf0uXmLl9C97TLGuF00rTpx9H+7Jb6dUM6WZIWHlbv4mriHxr+wzX+sHGLnjGm27w5uNP1SW0FiViU8MIOI0pzeaoVqbkDqI0/W9pCbMUWOtxmndevVFIPiJXaOXR9acKfdgvPpz/4sg7ProQCbc3zZlnonDado80YG16nkLHc7NXqllyTRwtUnweFaMV8EuwNYNs7ocMbL4pejtMiqnWBT3ot9jr+YlfCVEt/qkhrnpEKA3ahS+68G92h5lGCHDCJhvqG8xKAR7SSebYlERForyzGQ2hH8n+MXV9RjnyLZ7XxJYdLun/AB88BBb66AffKz37tBLLYu9SHrRU6mdK8NB/kIQhWTJvLe15lfss+ADHI2kjslWXRM+ixdo73aItceDzQCM1XxDba2uy9FKJcTBaynJ8zRXFnIJdQcTt2g0iXUKeiwc9tuGb1J82ahD+4jEbVnKojmAs3ZrnOVQ1MM+qbBFP3vNC1ij4tM819ub22JhepZSh9tzO7p/fp/sXBjnK1YbHDWLKXqAJQC+lw7aPWxtSybuYvkXBaQDtlqNnSLlENUTjR85h7iBSyAo3rAnQZ4rH9tyiwp6sipsLYUpmyy7Q59WEIr/hr16wKK3dxIoLFWFAW+PXTJvSAyPpBByHkCpgJRj5LeWRauOaOH7kMsFAk0STME0guUr2zTNOddFZUM31dyx4jvQYOGN9+XK1Wig/pzs/IiS+RVRCs8YUceOnfrqGmETRJcBP0WsgDg54r5roPa4gXxEFxIpz55svSRBpMC39H/uB/6QL19INLcpSllxUKIwryYCQu0RBG2AaLP5CrDUO81w+aisl+aRNTXcXcOQkFRF/R7WZc2KRXVAkGs/uaov3oloo7wZGML8//WM+ZTV4gQTy4ktMCB1urGg237YH3HNiILTBRxpP+Tp5oOoBUaHnUgOvMUWQXJ8HaFE8c3b13Vc/ypOIbNRA0VBmQR5iqYgHeRndkCN9NBZ7MATDzJsd69UyjPB8Px0iitSnSVoZVKCsw/1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2a66bb7-53bc-41ed-d6ca-08dd096b56de 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:58.2356 (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: FTVm5BATGoI+7BKEi/PDeTYYplXz00eq9OXO4bprCsPBRRoPaABQXQvbXr2xCrl/3HEx9PPVDZi5qLbBSWkuOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 Enable MU2 node and add mu2 root clock. MU2 is used to communicate with DSP core. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 7775f5f58036..9173deafdd74 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1252,7 +1252,7 @@ mu2: mailbox@30e60000 { reg = <0x30e60000 0x10000>; interrupts = ; #mbox-cells = <2>; - status = "disabled"; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_MU2_ROOT>; }; i2c5: i2c@30ad0000 { From patchwork Wed Nov 20 13:58:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881224 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 ; 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 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 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> 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: 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+Mw1YGPcYiuKveO3IPw+oY8uK+sgwbaAtm0rh/A6eYHaJB/cOoYz3x4/mERoqpaGio2Y/0ThG2PILEqjwaPE9OZgTqXZtmleotvNMNoCe8F1LXf58Hxa7+RidqoG0nu2dtT97aGwovVMmyZm/EFvUdFVGfEEq1T2TTskhyNXa4lMNlCCHL7U33qbHQ6+rpuiJ3Obs3fyW/Q6QBuxaCPfe7oj05o7ckMkNoGU/0yOFb0dl8z3G2J3S2bO2Wrm5UaLROfdEEmrgs2+lpz4xWWFoN7BECzRPd48rBEqyg88oA9NKxrDQhSd9BdFa6nB/mTaRFZCyOKUSvGbOLDcjCg0oOAqb1kJxF4hTPYqNc+6QlHECs0FqUhkmiYYWccktBF6xZcx5OSQx7ty8LTXz4tTqC9kqSA5TgVSYxfvAqjxvG2hRHq2oz/MgFf4NJjgvi+HbXm3sVWvliaMHddbmd2LdA0WPseCPodgJZ8c0bcPBxZpFRjHsa/rKBqCTI9f+nNQNTizmg9wdBCtNe/eAPIG8s6jrJPUCXgvwsXG2Xpwxuo/1zv3AKQuKkD+b/AY5Usc23EOfDOk/1kWqPI4CROemEH03jQIy6fRhqhYkf7KXu5eIlZrDmG2EFb35FMr2PTGEtoCViZPf+Invat7+o1L4r4ROp5JVPayquUuw8bgyUOy1Qowtk0ehNrUBy4hgVHlMEFDhy7BeHH9ZvB+wI2tPR4B0x3GVoqv9YGHwgGn/HYDqlqBtDbBQrO1h71SOM6MgvAS97CSts6giEfzjD4S13cFazaeJ/Xuzsuez26XqVa5jEjmqVXXypOJMU6wBQj7MgARt/yUuqBbiQHwqYlDnHaAanzsI3jjrPmSQqqJA6A+1VpdwFkd5ePrER7b+3RjUqOl6Nbogcx9bPOroiPK3WswKjtp0CJsq3z7WOvWlvU6sA9knl7y6bobeorV9LDt9JC7Jxyss51N730upyN6XE1TynOTP5lc2QcaRuLcmXLOpWQp8QurMyVpF2dcyJpdcW50hJacqy6W5sAcPMBWftc5P3KuUUbxDl0th31akZOnGB6QSijLbCjJGnVamh8zRz6vtZUSemAr5Yqbz9XYzDHoXPw+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+KGAq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mY9W/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 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 --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"; }; From patchwork Wed Nov 20 13:58:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881225 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 26DB01B4F30 for ; Wed, 20 Nov 2024 13:58:06 +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=1732111088; cv=fail; b=TARPnlVEHzoqY+dIhDaSjGcs0a97R95c6pvdBOnCfTCLocyffscmxXbfdfTAE9cbL08jReavhkydm0uNqCR7VXF3qMoRMNg26jYZuJfYPC1zgILTsfBnJa7zZYf6BLVxVnypEqkAZpYn3cDbAafbGRJGOQL9n8NQThVYeI+e90Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111088; c=relaxed/simple; bh=yAFdWNv7ZErSLzcP2Zpyz7G9oUUoBL8CynD/xM0kd9I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=nZ8UUj5xuFxYCKlVcnkL6aDsElfFZIkK8oFQBof+G7EhdxyH3xQX4KsVt6OVZ6xW6WHyB5vovFQ3Fej55Lf1AnWWt5amy+nGU63x7Vg36JqJfyV326Q0GlFjQJz+zb3lQD+Tve3NvdCZv1T6YPStTHLAZh9EohniDWAfzZD0Cuo= 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=ePaBaL0i; 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="ePaBaL0i" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AnC4FaUfZVsqb0zO/FzzIgI1TKIf1wog/az0acldhWoE4d7mVHwSy+fQhaq+u3TMPW/+j8gHbIGcWmVMHuIEDNN7zKWu1oG7J/GfSAQWNGFJ9syUXhevZpS9FAxydxL+CAZAZ8hPKUEp1yyMPZeh+PnZ2WLoXs6AsPL/V0/PtXKTmRlCspeRNX6A/Wk+W4jSki1gV+SrZ80/drsjl5TQqlhL0q+3eym9Cc3FAdX+oLVaLljCQ+N/Hot9ULyHmTC3DDTCb36+GB7l32KESZZgv0azHCuT0anhTWegZu6YEQDDP2GuphScrqsb6MDGK4eClDGp+OxMck5hF0o6bPlLQg== 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=BcuY47uV8AHjXEa78L4D04tJ8yvbgCveBFU0fVCAapY=; b=oUFGC3sEAsaPp+OxAPtcX+qwY43maNpkhUpupV4srAaiRpaTuOpK7JaI9RQonnvUWNMWO+gSrlJgrzhAMNxckoXQjJ0MCPkYWJvwDen9anWv9157cblBWJWJqGd3oFv1GpUYfCWuSmesAxlzx8CLAiT3GT6QDJeNM0gxhD4xofjreM7UElqgUVMdL1Nse5IH2L/BEZ7YdIjgaSndeM4BviLHXxqQMqh+DBZipu3J/2s0+zgjzyg/qORIUFnjTAeC94VFohx4d23o5CsWXpFdhA+PM39apYznbXgEQBF3lwM18Jmxl1D02SzYcKI4pgwIA5fu9JxyAzil3vs8gZfapg== 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=BcuY47uV8AHjXEa78L4D04tJ8yvbgCveBFU0fVCAapY=; b=ePaBaL0io04pbS2Y3yzmHPHudYMQyIj2Uy/eb8x4EF8RtS+qy1THpKSGyOvHnmsMaaxM4CqneEt7SoxQQm5GtFX2yhuj3ahCRa9H1mGJN3XuSqM4dy8HP3H27WCsyer8toSGf74r8RVtL4OVyXL84JvjDDbwMTzXrgHwGiln3s3RlFfLQCEIuj3TfRMlno5cBFzAbKGUkrIUPlf//zJMlSVkPk+HEyFLmWaplNmRu/gQ+RxCJfziis5cdMtgIS6PDql1H2qTmrF0mJMXDwjJm5vEyLuZV/CHdO6fuuP32eoMryIDz1DNOo+xum0elQ39hcXo0q8FvxKDCFlUBwEotA== 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:01 +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:01 +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 3/5] arm64: dts: imx8mp: Add DSP clocks Date: Wed, 20 Nov 2024 15:58:56 +0200 Message-ID: <20241120135859.3133984-4-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> 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: db554c01-4534-4085-e525-08dd096b58c6 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: akaD3qbZmOhuFumWUxd/DZecfiZ9if14FJnDPqEDSEoXTSWO5fuDlYh7kPd8jDyUbmPmo2Fr8PfnN2UPBLgvx75Efql0tme3dFVzvtZQ5BTWx/ZocmB4zsI2uqvlnHj5rIC2fx1oEXb97/koSvBXghafqkgMDKwQc8hc88dvJylDPZyBHB+ecOIpT5HMCX8yapNf+XfMobBw7Abw7qCAAG/UtJiyMV3g8Sq6h4LunflM7N7lH9bsZ68sxGhZXCl+Wi5ilNdhyZie+a7cZF4JucSMJ/ydVg42HMV6cgU2QNQtWVeHV1VVSWvSwwh4S5e9olGsjZO92/8o6tEbawvVQZBIwTeBLdrtnNCS8qtO2icB9AKnQUPR1Ok552upaHz45bsd6pfk1PLqJAs0/9IxViijuTJa9nqOVJ2OKUn1K0F+syZPrcu1kqJEUxS186Tf9LHQpGD/VfkyabMonDYgF3/PK/IBbqM4WFMjBbjRZvQirPVCDJ+H203mqUxdqovrrlJUqP9A8qi8aHbzqQCLfZ45IJmJBo/EHbcOU10cL2WMLJKwQ8yW9elWl0kELJbXuqUW74YedbiobnZpZw/u4r4BNx48kf/u2kJkF4gq3uoW8eDBHqKaiTx/cjAMRgcXMmgWLLr3J0yOAfFzKHWUISUdrq58OesWaLs1XTr/40GKxxK0crDymLSCgArgcrMIcBieVUhS7Envaj99+L1AsoiQoY7c4YyUtPhQUldUDu0cLXszkHcER/to8UuekQy82j4N9ToOQowtp5Y+R/KGFp38xDQboWiAhCLzFJzF65W74AwG8byImTDx6GNGGyNXOrUkNl3HS5m7vK6on4wxNV+nWEu71qmZxxQz9vgoShGK37CO6pqnij1vEO2W5W/UlRk+9l7PDx8zXZG4kqaHgku3cyeTTBXFiBVrhx7bijcE5sZr2q3zfs/A3NSkH1mPwcsX+5tHtCqE0D+6souL1MajX/wgwAHZX4odp+4avnYtco8+UXWCGLkZLJrCdepNQm0IZlRMqj5UX2XeF46VIccfVMqdhUqBTiiRNtulbUS9AA6kK2DF8gIDPCwsDA3UWQIXY7ItjHE9JXDmYexdymK8zZSQUMPThKjURtGYgvDrgS0MnlDmY7LfFGahoSFr0P+WZXfu6OHyOvqF2EqmG5govIrU7xC2twCxpqa3CC2VmfjHB1MKuwcHMIYA3yOMrRrLG434oIUcXGHyVwlESuXd/za9RBMjPWuwwTdkxZpchI66UAsftDS0kTOWq1Ov+imiePh7VAiCvQurqbaPKUsimwsY8E17E48I29YOESXovdKYD5UIY0wcnaKlJdQi1NwfxhBKLFtJOLo5nvOTGcBhij0IvEkbMqstgX9IRSM= 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: ICEHq2gdx557IrD8Pc6nPTYtz4MEaSFK9it2Ms10Nw6AJ5sXPCAyVYkb0jn3M7xh+9Gs/rsKOvp9XN7NPh6L3tyaDXM0861lAQcicQroz8u427WCm486T4aojhTTLRBk8dj3kuxKaJ+ZOu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6XaBdhguq2xCpQgM0dClK8YU3ZB9uEUpgh5Sz5+CVTT3WrpB2CYYzCWGxMNQj0bzDTk709NiMxq+kO/WQyPcZXob79oDFYBPHb2sH0bzw3rX+Lpnvj6QYriHBoca6aTYhK3WYrcH/gbhwZFNAVYNBpk+oTb3uuxd6/kJxbrmCoAOjc4oBsG9tk8Srp4ja7WQMDT+5ZiVJxj24Imb2Ms9/Gq8Up+4YD+XmFzW4p1fx2Nhe4SNtxUHVTA1RhNBFGvrfPVxnq4JAQ68h8q1UA0ympCA/f7D/7QYDB64YzROOKTPoy6I5RMg3SViISfwJI0jGbBsAQUftt9rCtYMPiWneL9rbLB1DXjAf367OGE/N2kVZ0NBNdkUFvsGZJmJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db554c01-4534-4085-e525-08dd096b58c6 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:01.3800 (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: Tk5CQ1JWmz7WrOrwCm3MHbtkq/+zm5KCk5G0DYfCcTqKP7Z6l1Llwewfgynu7I1NNwyyBtkM2EAUbfIf1bK+yg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 DSP core needs ocram, core and debug clocks. 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 abc8f0d4eea0..41ff40ab5da2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -2423,6 +2423,11 @@ usb_dwc3_1: usb@38200000 { dsp: dsp@3b6e8000 { compatible = "fsl,imx8mp-hifi4"; reg = <0x3b6e8000 0x88000>; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_OCRAMA_IPG>, + <&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 Wed Nov 20 13:58:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881226 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 ; 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 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 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> 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: 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/YE3S7wfbIwPyd7Ai8AFlPd98l7Rzny5lvw5YK1lIHg4QkfogPxD03QJnK+xTCy5QZLsuzjlSoH5owoBdLg+r+beGZaqreRwNn18jf/f9U4pZXXzYNhJlqU8TGldeJMUsN+T8OPX31hE50TMrM94HpiztDFGIJj7E9I9DhtRyOx0VlpO+/BIZJTpPjVQZpOq2rtKeaJaGGginWd3FYeBu6X9poOxITcwtbbC0+xdcUFjhXSrKkV12L5tZhpiJTFVU3+zFFXvghVo+WZlj0baa9X3/qzS5TjZfmSwoC7f7k3+RvshmyqaVuJ6g3vzb1GoMDFxqC1MZXDgU+Ouu50t4z2x0QRNhc8ghjGxIwTpXMU7cu5jqqv2HHLaW9lNdIJ71WGZcmUObHCoFiUHad+9K7Z2eNMQLOY1O+nkp9SceGH1NgOkAGain/NXYm8NVy3pRWyxBSzjSsUMs6Aiaz1Qsnw847Ayr64CC+ODFb8JcdikbIIuTX9hKJay8t0a1XvKXJa2RUkAXq0cTWbBbLI5A8uFWLIe/1wi3XlU3s84TljPtd7XlloM6S5hD5/xdE4f7yr/9/gN+UYAl8Caq5Gx84yErFO8m4L+UJXgjVNf5napou+JaZZOCyQye8YQE0BtPx0rtqMhw7zEyudKFwZbGIXF3IZqRbGhFVqPydM4hsTDePuy8pypq/4mvLlKwGDl8kI2mzyDcxCnAxHEM4bv8wTf27oB34ijzMR24vO8+hqSGdwFSVr1WUgAhcyRoCgg12P9kYqm9uQm7q5NaJQ4Bmf1qNM4mo9HKYnDQin21pXieqEeL6HW9nCxKQU9sY1oc9HUpIIvseTMTanJZdRZMPe/IOEiQUEaq6G2b2in2v0sCsx+hUnaVfMNC78JZRsBDhICRVJG3IGdN5KPBRxWh1Bh8sOOoRGuyz/V+Kx2qOcc/ZxA8P/3KdTicSAofqYyrsO8uln5xSo2I1A/9pfxcrGWFiB7lBTYuu+KIEAyi9LNb6WHAnFrukshvLbsoX9gajdqEI1Dlcom/EP17CEYxiTf+IdafuJAXfDN2znDKY/Eh5O1V1uxsQ6SG+EtUkIe2Pt57rUVpn/Ti3o0YTpxQUKfkY/EIE8wNG+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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tveUHMyTdQ0zPPK6uxanA9uFqIuyxWfzkv8Q5m3tTay1/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 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 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"; }; }; From patchwork Wed Nov 20 13:58:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13881227 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 56FB91B4F30 for ; Wed, 20 Nov 2024 13:58:10 +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=1732111092; cv=fail; b=Fym5cM13YFJFkvI442LugSYsQS7MvR9j71gwC6x8/1h2lDuM+lZ6DqRBVKQ6pSGTCdWLP+aY6ovuJN3kWXVem2guDI4Kaj6gI7V3kwhI1lsFCKCsO/35U9grwrO7cgr373LrgZFVujp5TGtnmIDfYmqkppvOi7SezfvS089JhcE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732111092; c=relaxed/simple; bh=g4Ia2Kpwpg9fO2OGqDK/TuiJJYs5AjW2bQms6C71U5U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=Biejx56XcXxiOa7oPXvhTCjHKOTl7pepr1C0Vg0cSXQr18CV4ZGhB+kOyu7Vr9JYyuh8CGdgkCke51AioI+nv05XXODkwstW6+nhn4avVEuvfQA1JGUuNLaMHNtuDumoQR3oyfdL4+yYcJf4roNRVY4rryVZ2tm8j5zebDsLgv8= 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=PxtP17H+; 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="PxtP17H+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=axUrhsft84zqPnvUQ1ZtT7/aZiu9y1U8bDAJbo4jhuOjDr2Ts8GoULUXARWO+dfCwqe6PlUAWR5YsBg17FE+/v8Kok91dL+kmhmzdGlvUFzIoez8eJg3AUbXi8ezxfmsn56ba7+wGdV7QXwpw0qQxbyQVf9hhZKLk2J8QXadtsQvt1gO9L4yxMXH/jwNpL4SjHmS8SgfjdZbI4NRqMM/0ZVwP0/XJHEO0FupPuzjtmr20jWdHBGlyrlZy/N1khXl3w6hWpR6S+V09K8Ren+SeQTwSi2wdm6TPutDuJR7KUSFZoh80/l4u2USSF2LVkLgO4TMliafvFPO2ZBknlTlRg== 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=HAfx2zUwP+KPZ1xFwqtCpnRigR0wSLhqKDsmM3fdWh4=; b=SJpAlJjoI+H5jsdFpnyCNXmFMrKk9f35S9R1eRIdCapwrnASdZ9v+VWoqbx3YOdwa4o8USfyjXn7RQ3Q6sHL7Y0PkwKznZEuxuHPhhnicA1JZiyFhBDtd5OtoCxEQMjlUonQAgdEyOsbXzfQ1+P9HZxacd/hYopOdzdjM/VLjMDEQ8cLwPccU4Y8gG0FTP0zgaBkJBn0MJqPEx6kT4uxqh+HlQokqnazsbDW7yj2z9aO9Ilkyi7Go4Hi6Y4BoeAMjr95vBwGwD80yczINNg0cDW+KMUYHUwU/5GHwZYberaP46aRP6ybG2Kd6HWK2TSQC1fSQWKm8/snoeS2O6eUXA== 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=HAfx2zUwP+KPZ1xFwqtCpnRigR0wSLhqKDsmM3fdWh4=; b=PxtP17H+Len88Tq/vejk1p4bw6pb/nYbCr3mVhAkTqw9ruFTOza/QRo88uEOODOTX8bzreouUB4+Su9QW+Homwk6MDiTtI/7+29kANk/xkTgDWpudccS9taAETXE4zawJjaWFW7oLCK31hdaM/XWm5XDeSZfB2nCpPr018GvmJWA9Ecej83u41gih/pgn17jSGauGsjksh9dQC3y9moDVJp+ZQqYZo1EMFYUeELjxfO9zjSIXbc8b3ICh4ObVirbxz7tYPbfNvmyvHYQuwfEilEsyRr0EOrHyD9klNbZ9Q0QbXZGUPK4xi2BCzrSoyE8Gcd1SAOqh6FUh4qMbLCDZg== 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:04 +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:04 +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 5/5] arm64: dts: Add dsp rproc related mem regions Date: Wed, 20 Nov 2024 15:58:58 +0200 Message-ID: <20241120135859.3133984-6-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> 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: 649b82c6-2379-4e95-f866-08dd096b5aac 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: en7d3HimUlNfa2uY5BLco/XyIr+Yh/NtajY/u0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f5FLOAqs8IPyliuzubdazyLslVvTN9vDEDQK2yaHXU8wSChnEWm+g9azvD58Q6uZOcwfCaCOxEANyhIukuzjh4P1UZqKeiFoCpndNqOZb77/RBHXQsU3Bi7IvJmdrK6txZ1qYKdhSbwCp/ulOaF8Qcu2lY96UAmAsBl3M0RDP6T7exo+Yo3a3ED9LnHhh2zT+MH+rBTykPJCNIA4uPzQmasWoJVOFaOqvgr6aVGd4RdxDk7FqeKmOfIMesn3wdkBME6UQlSxeXQ8v7UA= 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: QRBgZrwDysJ9L+pw2BfkoaRZVoTw7PZkugWqCjME5/+Qv6EL4XdU1MMcA0U3WhylRwFg73Zlbaq58snXjDPuX/RFW36mJiC8PJxKpvy78zA5joagiiiCj5AA5rrmgOv5Nr4uRQV2VW77aRlGceT+eqX/xbpkIpWKKSU4pBE3FypKOwCut2jmqVuSRNXSA94YHNFrm2sxqUJacgNdhiOTg+Am4x8UtrT/QcBfm74aHe1knRUa3Dn50SiaDCDj4vZ0xLqPq1hi2r7KDXUA/BxFaSfWqm2JUx1DoJzVFYc67cT0jdT3ae5pNhjfAlflfOgCpbVtS5Bmg3L+NRnqLDItUS+Ci4n54iWZ9liHJdeAcQ6mqLLLvPXATse/zvdQ9WZATLNGyNjVlG7f+zRqEfg0yxen1tFCiXZRfp5HQbnyYztq+lonvJN4ULjuWE76kdVoVL2PgAmkuRhGH1h3Jm9Xf5keMEe/7tvzM8aHvVZZp93DlqmLzRp1TlKO8Nn4K7z21kPk0PmRetYlVHgvwvfqp8fvMeQnaqmoR9rm/mO4yWAQdknzm2eFdU/7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649b82c6-2379-4e95-f866-08dd096b5aac 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:04.6709 (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: M435VQAydxVl5wzy4/tTaIqgLO8OHPP1AW3e1Qe2wr5pb5g7KyrHKB7FgyUC+6iXLFBg1oVAPiQxSVp0ZkR9Iw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 With imx8mp-evk board we are now configuring 'dsp' node for rproc usage, so add rproc specific memory regions. Also, enable dsp node because it is ready to be used. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index d26930f1a9e9..adb01a484d78 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -291,6 +291,12 @@ &aud2htx { status = "okay"; }; +&dsp { + memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index fa4ff75af12d..e6f3ac02689c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -282,7 +282,6 @@ reserved-memory { dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x1000000>; no-map; - status = "disabled"; }; };