From patchwork Tue Dec 10 12:53:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13901399 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2088.outbound.protection.outlook.com [40.107.103.88]) (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 3F23A1AAA09 for ; Tue, 10 Dec 2024 12:54:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733835267; cv=fail; b=uXjx+C3dsR+zrKGpU464PeAwf6vkHau97M0eaovuFiJsGZDQ8C31JSKr0bVmryW9ketYE0CjRKdH0vt63aBal+AavaanjLEgDj1Qx5dQWZ/gjUsu90B4Pvs8jxC21h5Qm3XkpqvZj66/WDgF3kzXf/o5981GKxYHxphDUFIynpw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733835267; c=relaxed/simple; bh=nUwdNA366URMHJc54u0RkSoaeO9lrFd4alUcHNUBNro=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=YITiyexp+WyL25w46+4hHT62CUTD3GhpMBjrOAAl7NbY1Fszqi2Ho+lVdolkIA+JQW8hTeilupLvMZZLWuv0zqZ8ERCbA6l+Za3sPBSr3hqQ3FwvztP+mOrU+CuTBQlFu8DeCHKnclYHZ9TjThd0iGKpANvf4LmbHvtsYtNB9zA= 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=kgr10UhY; arc=fail smtp.client-ip=40.107.103.88 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="kgr10UhY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iDLv53/zthFXhyRnfSDT5wlkxtOqVIZ0324aBfmif3H3qL/kYy/BQtZUFBzh5qi+E+xpzAATFUt3X9OQIDR306envwNUyQeXISmnXmTf+0Ff4SAjnH8BuE2RV0eJspPVm07tFxCK6WEwPoMQxStricoHyGyWPp2XVoCPnvHe8e0oQ1p/A/opkt5RPnZMXzkIDRB1qk2ZTvbD/IIQcggrC42mCf2pnYJXJl67bF26WzYuVUlysqpRvKY/TpIWT0cIEAYAceyg+zPNGk3e1DVv997w9W4BEEWeT9LTWnoBxmp/1GI+QwPN++yzSZvec9iVMmYnJs3xO0lOKXPTEcQG8g== 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=4Wdkpftc7HBWtEDp2E+QyaPjn37YYogXU+liviK8rTw=; b=hYOIhJsNskpPrf2lPKiorAUMuFLEfnynCXXk01z17y7I+l4Yt3xQW/ZviYgQ+A4cgKnVGhYV3cPe5DDiD6ppv0e/AtexXx3KFxEPrpqcsEUSX/RlJ9oIN1Nr9HLjTpCHGs/HK9/QNusngh5QAPMNp6jcD9+Qhuq9IIM4nmPxXmzF7vRBD5vqp4c/m1hEHTJ2fgXLmySwOilUCMm347UFuOjG17vsh7sA/ez222hKf7hnvvYxneO2A8jONjuZTNnh9E1mizE8NZRgGLCNOhaIQ2hX4GR4mQ4vP1uPwj2OLFlQS4F45J6qmc8TiErWCODeHqOQW9J2AJ8KZwkC4ahYcQ== 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=4Wdkpftc7HBWtEDp2E+QyaPjn37YYogXU+liviK8rTw=; b=kgr10UhYJDcxSu9emExvE33ni/qf2yLswXXMbElx/biINW1Qkdlk01hAmK7rg5lCkwOc1MMMaU/8KRaGOQv/S5B2OMFjeEgtMtMqnZxIFM5Mw0/c7kDcv44oFYmwAggKN2GBLIVBOtuyYg1eAXKE9bvNl2MNXPPIlk4WbXQhwbvFT9r1R7YuiVRG1s4hqu44tqtqPm9d/5h+dO1FaI4bdzbDG8wJeIrVP+SjGNeVXO6L9PrOoA2VlzqQxIxWJRaqdwIZIWYxCzoKlS3SdKZJinC/Gr4mlXcr+fr+OkPpT0pCY8zRp/LfWTe+Xip6SW5kjL7p2VG32BvxQjdl41+RGg== 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 PA1PR04MB10793.eurprd04.prod.outlook.com (2603:10a6:102:485::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Tue, 10 Dec 2024 12:54:18 +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.8230.016; Tue, 10 Dec 2024 12:54:18 +0000 From: Daniel Baluta To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, robh@kernel.org Cc: 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 v3 5/6] arm64: dts: imx8mp: Add fsl,dsp-ctrl property for dsp Date: Tue, 10 Dec 2024 14:53:37 +0200 Message-Id: <20241210125338.104959-6-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241210125338.104959-1-daniel.baluta@nxp.com> References: <20241210125338.104959-1-daniel.baluta@nxp.com> X-ClientProxiedBy: AS4P190CA0040.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::20) 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_|PA1PR04MB10793:EE_ X-MS-Office365-Filtering-Correlation-Id: ffb2c17f-5d23-440b-90c6-08dd1919c22d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|366016|1800799024|10070799003; X-Microsoft-Antispam-Message-Info: 3mkhW2AdUK5vLAHlxGKWRPmEJdQNUZ+he4QLwENaO7R9e1Pnyl0Buj6p0iCM5EY5W7Ys0SMqHppC9IhN/VRA3+G1x+r+SkSQ68R9rEPXssEvHubq99bc0POSimEPOKyojGuCbkBDvwlHD+TEmMvBdo/RRw0/Mnw7tYfbk3LulfDkhr9i3X6Ilpki64D4fyHc8VTyDZjyonhGtpwZeWDq27aNHxgiv0aKu5Wby0i55xVGa3FCUJ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xiLOzdT171lUvWC0S7LIn7Yd8bBCkYgirNnZ+bHOb1PS+/QQQ== 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)(376014)(7416014)(52116014)(366016)(1800799024)(10070799003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ud/f26VI13VvCp/aTdOzDy7m3lKFQ/jzyvDjMKLAQCSdQYuX5dxO3xULiK808/Ob/fz2hgzpldlcWcCGciN9Q03TmbkoKiQe+AVqWkAmqWewc9+oNihOHVu/EBkHFhAf/G+hhTZtLD1Q0da3m/aL6qJkEbJ+JCZpsqZr/zGnw85SMRhgzgNj+YlxwLc51QDxZr4w6ycqs1zbCjQMioJOdJLf3ZnqRzZ71yb8ZRIo71lHrhIxadmnrOxqS6behLDMeAftsyGd0MAJrEFggVpaeUlARrSL0psA5JBKk1+dcycRlR2oMRrnZFTm/3kmUmGyAaXCkN/CirorvXqk5n/7vjHhipbVHUF4Yg1nfn4WfI2jKdcthzvIJaJfkFHpScQCwO/x6sL3qy62mQNU8VvjxmXK0Is40Hii3/2X2OjtWdcT7J77dFJ5va+RsCS6U8BPiPGpy/fZpKCSaEDffS5P9cb1gz7QbOEWwXVMaO2Gz6E+4IxqmVJDMlMuuSP5mzC5J6LjGHr9WMnb7Trp7AiWVWqidbxPEg/3+kjSx8kiJIcpQQrl7CMvun7LfO/V1pvdaj/6oOUTldR2aLdfBNH/lExXaElzqmXTowdD0H5R7OVDgNWvHyiopgV3k7EfXKH3pdJUBfQU7MWKX0n9QZWQimPmDYfSQdtJ0U0JZ4ThrtORjiSDr76r3d2wDpCXZB1mXGDAIDfoOi5L+9NY7tV2FAtVELLsNLR37Oj1zV9bnKsefoddiYx0DgaO2KkapE+Yo8cYftmZiBZe+kRsXHfNXVipieAdd3cQBewkwjY0GM6HSfilmhvUwEk09b5J7IULhWsuochHz7jNqhrKFwOooa/EryVEAyAFqVcyYmh3lliYaluA24aoFUu0UEgGZyjMMsAP6BMIMFYXsssFhlTAfNdVhRBOvZs33E6cMd3t9uGQJ/nOMwN52L4j86zLgb28TFidXt2hp6HN4iZmClNDZfjfBkzZwaB+YMO1dRItxX4daU+gDRysrz8pC9+ge4gsJ/J3MI/q7JDAE36InjGAUkzHfbLrRHUFgKdVw/IfCbIvOhpTaYkbS3fzXzWyJc9l1biLCnMa0aAygBmBQrkE910Q9o/b2w1JzAPWgblwZIEOLPvgGhhIAXX/1wLy1KLHG2ue/HoSMOTCke1XZ9IvUC3KHpzfNygQyaZgThZ1bIz1gril7P+O4ppXNXM6TJEsSAVMQhTmcWt/J6p/9YChdxkpMRdmtFW3ffN/MNCHTg73absuTWERTQe9WH7ytz354kXS7ts+PXTuFfyTcSQ3tiNslHwG+Ikfb7v9aZGFcFAyAG3o3mZ5uuLvBZ4aCoohVZnrjO4Ygw2UE3gLxT4EQAzZqpspgmljbdm/CeozpXCFYWvr0HUJTp4SWJekse/paz/1yyDg5goqmYyEbGVeFwRtVXLguDz76pvFO+Xj5sLjN5msb27D8/z/3+M/jpRvcnmwB8eWuQYfyKDSBh5uqRzxDjRgCEz9tUUKUIOs7Iitklci2yC1R09TFnwMZefyOSDf2pC26QENVnLN99tmGWXhmYh/ku8jDmfBmB2dJ4V6v0zfD49Enw+Fah0wMC62End5aCtiYNb/coxpEAWs7s53GEI3e5kYnYvt3zIbqubMFrQCqjsSG1kVPiDGdXsSvztcxdn1v0dZKBpd5vLdIA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffb2c17f-5d23-440b-90c6-08dd1919c22d X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2024 12:54:18.0955 (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: qFngsZOO5PNNTRfI/xwPQ7onlUE0Q7JdQGOGm3NKYd0oUbgu+FGm077ParZn5FaBssTrH3yPEjYK5q1YLvaEUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10793 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"; }; };