From patchwork Sat May 4 00:49:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13653714 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2079.outbound.protection.outlook.com [40.107.105.79]) (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 ED484125A9 for ; Sat, 4 May 2024 00:42:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.79 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783332; cv=fail; b=CU779yR2JuAMB0h0WdMXHhSHySYtyGj+jEwbBDBG9f0uHrZbhzgWrlOAdMfUi7GHNi3nGVQNFsHy601i3kdjtdqgJb+GDPMGHh9iZAqqiLpQce2/wyGojOqCxBbxHdIDg8ZaJBDfFrwaMKaBykdV8dyexSn3X4p3DT+KpwpI+tk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783332; c=relaxed/simple; bh=dNAJjUOvWj4gorUyU/vJ5YGaC6ol01WXuVkktew2KDo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=V30SzU7Rr2LROJ/U73UBpHmZCLmAHPUW8nHAfd7yPYQ6N8dp28V7HCK6jWi2EOLezwF/WVH26TKmT+d0HRqrUHpoVMh4oQXMOhIzg5mr+xtTYNW6GvgiOL8YAe6J7oYKPC4jSwDHP6i8ZNxeRIUKunhDKCylqsPcMGBU5FCYq48= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=kqSZFlQ6; arc=fail smtp.client-ip=40.107.105.79 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="kqSZFlQ6" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iu+GG6jjhro0U/xLW4uZBKa5i1d38LKg5CdMa8htDU/tE8OyBGQM6GUU+wjvGkaRaQav2AKIlwPfMOOf9YhpTrcxSfD77Hg61WSAMui3+s/0FVIZkiBaIb9OJBS+aKtNr3mWA19O9fbIm6VsPSgjk3zhqJ/AN7ajZWrYcCC4Jfm86bKHT7VypjV90bz0kXh03UXIoeJpyDgw2bNl1ovXWOTYe8Ue0iKXUHFlNB1truXNmoztmJGvkR6aZZ9FuZduj7SMhOrQPq/2KFG4oPmMR7m+oYQPjKNOfTjINS1p4xzZfZtQ9yUBQETbyhKxs9JeGpLse8G+36gJjW/xhuUWhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=YxYqLlXJwDglTN2OhR5UoatELjnUAf5TIH6f/O5wCko=; b=Ia1tau/g/VQ55FlzOCM+bE0bKvl3fvG/PyNiv7O1Qg5hPr78A9JcVuZmaD/7NHpRtIj9T5lsnIjyFcocMGVDH+0mX80PDOWowKW3p4eH/t7OiIinjT6+0k5Jqnrb7er9ORCCdTZ1JeVI9s+WW3YJV4VS44Z6R0IqyZE/wUhe7M7QOPLCkROPKkNDEuEDbZyYGvdV0PJIdPCK0Ib8yETltTk57oNZxRXqUaFa3IZ9DpXVsotpjiG+JruvtjPWmnzuYbooEumP7IIiBD5MPxW1JcbICpkA4mHpdXZf5K38HhsMFZo06LXIvDLRy+KEaVD8qG25u88XhenQRn1NaPh7Iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YxYqLlXJwDglTN2OhR5UoatELjnUAf5TIH6f/O5wCko=; b=kqSZFlQ6nUMGdiJPQEpITknden7rMSMSU1Dj0Hb6xwuXSYEgI/QdlqsOjHYYVMoT/CEg7JJWNmKLVnS/hR0+amo4R4JH7+clKvTzT72Icr5XB7CDLvz4rUl/4cBzVOf9O+pkbZ1y3fFFhX/LrSgc+sT6NC2ouOyVtwUeYQsCdvo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by PA4PR04MB7726.eurprd04.prod.outlook.com (2603:10a6:102:ea::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Sat, 4 May 2024 00:42:08 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7544.029; Sat, 4 May 2024 00:42:08 +0000 From: "Peng Fan (OSS)" Date: Sat, 04 May 2024 08:49:05 +0800 Subject: [PATCH 12/18] clk: imx: imx8mn: add sai7_ipg_clk clock settings Message-Id: <20240504-imx-clk-v1-12-f7915489d58d@nxp.com> References: <20240504-imx-clk-v1-0-f7915489d58d@nxp.com> In-Reply-To: <20240504-imx-clk-v1-0-f7915489d58d@nxp.com> To: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jacky Bai , Ye Li , Dong Aisheng Cc: linux-clk@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Abel Vesa , Peng Fan , Adrian Alonso X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714783747; l=1071; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=WifVIscFAtMHZ5cUN2mG03VXL3S/wRmq7jI1v73ZwVg=; b=5FvM5/JTalpS4unY5OrfETZS34BRxaMB8xQ6pyddDQnNiMLCb2DpTiTuaoqk7Abjf6Hql9AfW KKeYrqoZ0CcBrcGIDGoGR5Vi9E0Fbtc+eCE7BeaQ6HtFuS7dmVnCJoN X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0055.apcprd02.prod.outlook.com (2603:1096:4:1f5::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PA4PR04MB7726:EE_ X-MS-Office365-Filtering-Correlation-Id: e8147b7b-fa52-4384-37f9-08dc6bd30742 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|52116005|366007|1800799015|376005|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GCyW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88B1BbX4kBhIroG8TfwuxLePU1Xrf8m+zqaNVi8x?= =?utf-8?q?p/1vvF/tDpNK+PYhnnVEYeg1sgXd7AQXHZTDoyur99Cm1pyHQ4+CG3zrDkXUWhHwr?= =?utf-8?q?mbQJE3ETbwb5uLJxWCXA529Z1c48IsNzMJu1ZzeigYH6KbrRPO0G9tvY+FKXyKPwU?= =?utf-8?q?vMuhsVO3U7dw7W0kfNp7jdo+yD5g2sXWToKjGJaGonCEEuqGHYrQfDHFEFOClscJi?= =?utf-8?q?38HMdECNuL/v1vtqkhMKiQ1F+xv6Iu50f1Nfer4Z8qXz/wfFf+WvXLLuZIERRBZEX?= =?utf-8?q?6EDNMGFqWsUuiGb6ROBukAqqLJuDa1TAcdX1UPApcdau3ECEMHC3EtolT9ySwvZKh?= =?utf-8?q?8aG5AFdrMzeUHqPMRaHmIfuFkmRLvIcPMvYp4b76cIAd/+01F+AXd9+OSWgpI/E0w?= =?utf-8?q?Xvz22s01p4FU+Gp/mFZHqk4i/RtZmKf1utceEr6nDt0wH50qeEWqbThE=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(52116005)(366007)(1800799015)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?A+RkzkBLJhryzfVmFPoQfC+A4RVn?= =?utf-8?q?Nf5jXZQLa5aC644CTivycbvGYo/wgMW0KsM4lq6t8yS2Ynj/NhM69Ckqip3Qbgs8j?= =?utf-8?q?dLe5jmVhafk1l1zuUV+G08xAVwGGc0ZjerIWGpti7zSn8mc+BrY0XSP1dS0mn9CvX?= =?utf-8?q?S9/9tJrZEbKoxjxBzsF4AzqqvX8wjhn3CtxKmyLBATAOW66VBvluI4wwG2QFes7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NeveriPco9nJ?= =?utf-8?q?9w6Vaar+9CmIkUR7ITZwS4YNHztGtqPjiKOjObaeDimuWkFmO5iufzacjToDZ+r5P?= =?utf-8?q?ok3LFOELKGYwqaJiQI1Syg1sgrzvcPITa1m8Xtb/LVQVPzhsWWqpUi5HmpJlaOFav?= =?utf-8?q?moNdnr7hyH+x0q5A+c6qDj6tL+XJbN4A8VnN37E9scN3hB7iOeU4Zeb+MWBBCuHhX?= =?utf-8?q?sK8MpoXGZZQ3aFIjtgxGDjf/r9HZYXoK2rD3SNZXCMSTZ3WS/Brtrwd+W+/KReZtA?= =?utf-8?q?5aPyRPETpx1wnzBtnKIrfAsidaK4mhnnhXf8naPN9NnOtE2QZzCGogdVzzSZ64Sym?= =?utf-8?q?0n6Mc++kx3zmrT4/Wsc/w2ZfmCflp1/rahB7thyESDH1hQMrjHexBxottfG+cXZhh?= =?utf-8?q?Wsl0ZQP5I7SZo4EyPF5XBDgrHVdIV0X9KBF8SAV8hL7Hyi3llzYvqorhXyBFGaW1E?= =?utf-8?q?Lv0VXe0pqwD3?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8147b7b-fa52-4384-37f9-08dc6bd30742 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2024 00:42:08.4482 (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: IgU4kX8Si7zYME7fZLznUZUdNApnTOepqYDa5F1s4i+1QGG1utqJ1qPvBSNpCkk3HJPFlJr18/rRGN57Jccb4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7726 From: Adrian Alonso Add IMX8MN_CLK_SAI7_IPG clock entry. Reviewed-by: Peng Fan Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8mn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 4bd1ed11353b..ab77e148e70c 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -583,6 +583,7 @@ static int imx8mn_clocks_probe(struct platform_device *pdev) hws[IMX8MN_CLK_SDMA2_ROOT] = imx_clk_hw_gate4("sdma2_clk", "ipg_audio_root", base + 0x43b0, 0); hws[IMX8MN_CLK_SDMA3_ROOT] = imx_clk_hw_gate4("sdma3_clk", "ipg_audio_root", base + 0x45f0, 0); hws[IMX8MN_CLK_SAI7_ROOT] = imx_clk_hw_gate2_shared2("sai7_root_clk", "sai7", base + 0x4650, 0, &share_count_sai7); + hws[IMX8MN_CLK_SAI7_IPG] = imx_clk_hw_gate2_shared2("sai7_ipg_clk", "ipg_audio_root", base + 0x4650, 0, &share_count_sai7); hws[IMX8MN_CLK_GPT_3M] = imx_clk_hw_fixed_factor("gpt_3m", "osc_24m", 1, 8);