From patchwork Fri Jun 7 13:33:32 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: 13689915 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2065.outbound.protection.outlook.com [40.107.21.65]) (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 4440E1940BC for ; Fri, 7 Jun 2024 13:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717766707; cv=fail; b=qnYH1qv1kJIukgiPc0VRfWzyvJIog7XNQunIaaR0CmIqaerBeFtFMezifvae8uu/Y4/iOsE5Z7yXvQc+hWmMBB5jiY62qxt/k/YyP5q3COVeZEoi0PTkpVkPGhmyK91jFNFj3Z8oKWAKkkbdqHBu0HqSML+ZDB09wrSARiZLrZM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717766707; c=relaxed/simple; bh=zOT444Gl91E7jHwHwsDUTPYvhX2smx5smdhImSuxa4M=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=qfFTVqHdd2BMvjOZ7vX26uONrGMngB6d5Pjun1SWDbolTtv80eoIJfAJf+AyL3JtrhIfEbOB2qqhAG5UzqKWR0pqnbPnHT5BSZcD65cBm2XX5/AUyaSuygoX3Nm/+GKS2XwV+2+m6w6RwjBzcSLCgVEYgVtwbREotUmgX8z64dI= 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=DnpZsNh8; arc=fail smtp.client-ip=40.107.21.65 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="DnpZsNh8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kAHo4Bdm53SGE81bcqTAvPdOp+XTSSNnhK0gJhZ/1g9hT5EadlambdSk+2Z4Y7RZFAdf92b1ynsd9KJUwe4ivFRFBH28vX074WsgmEPACrpNStP1ajNLWo5DxFQezhO2O8H//RQKMAwc/CNpRA06PwBfEVv+d8RDnYinbbt863Q3S/Gr1dblODRGt4XUTlmFDAnpxUawYccVpiQyQdgDkfQo4HbUMr6uKTEmOj5PBJL95TAUVW4n1hGzfCo3b08pXZyc3L5PcMQAR5HaT+8hMKX3cO3QryzA7cBoETHZshswU/PRmU9aonfgDaEnd1CcpU7pSRqsrzzOVDcIbVgvZA== 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=xiiiRZyjOscXwzB/eyKR4g2HSoH/BBW/c6X0YJIn6hw=; b=aq9LwJhfTEKkMkjkeyXWTVoXfvOOEWzHyM5bHmctVvR/6Bk/9blqx6giHJW/NUlZ810793fbQxKcjjP+86sLG+qNohvPIAugIN9vX2yvicrIhFzbADjOjbrwD70XvQiBViL3GA2RInOtIxzatqo7RAQX/nsKw+lHYQ26OYMT3PEdZ9+uCXRLB4yeegqy7UHABjXIgS3GNfgzMN/xLdQISMUXmzxAaJLX715oS8zN+oG3yL2GzBsKF0DWbSy1LtT0J9sboyMI85uroR0y1o5dErcFbHYQCeeLdjmE2BuqAO9OXwk9SS1l8kdT4JOsYtwuLuU8QGATKbGUgFs4tOhrDA== 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=xiiiRZyjOscXwzB/eyKR4g2HSoH/BBW/c6X0YJIn6hw=; b=DnpZsNh8YDP5tEwVubteTwHdlifXJP3ZFPisio6ATRn0hzzaqbX0ea3jc8Sa+m940zIBRp5IhuComp5HFuB0EgqMQ4436dNxiWxiTn3eWjcf6ddW6y3jAPVjRX8sQYhwXsVkZQ7qUG1xG+XUKmklrg18kp9YY1VyNtHS238ZojQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) by PAXPR04MB8944.eurprd04.prod.outlook.com (2603:10a6:102:20f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.34; Fri, 7 Jun 2024 13:25:00 +0000 Received: from AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256]) by AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256%5]) with mapi id 15.20.7611.030; Fri, 7 Jun 2024 13:25:00 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: imx@lists.linux.dev, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V3 00/15] clk: imx: misc update/fix Date: Fri, 7 Jun 2024 21:33:32 +0800 Message-Id: <20240607133347.3291040-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI1PR02CA0046.apcprd02.prod.outlook.com (2603:1096:4:1f5::14) To DB7PR04MB5948.eurprd04.prod.outlook.com (2603:10a6:10:8b::21) 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: AM6PR04MB5941:EE_|PAXPR04MB8944:EE_ X-MS-Office365-Filtering-Correlation-Id: edaed543-d232-4dab-62dc-08dc86f53992 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|1800799015|52116005|376005|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: FOSXs7dTWJCRuXcTa685LXFrTsthnAY4NYs0pxXegQnDgre3hpweoopX7YF2e5CDsBWlluTdh+fxD3GDu8alx2JzT3YtyRuZAM8jRrRsTxE+OQYMFSBkrYmW2h6HUJwoOOvE7aEyIJvYdsPtSCsU6m2UvSeE+5zVw7yIyT78KrFLNXzSVH+vj1T1QALe1p854cB3FzqCZdcjK/4ip09VPWQ/HL7PkJyuDhnyOP+n8wkfTj6k1VLUi9mlZlbKWIBSz4vqt5WD7g33zq1z6mhcGw+mKeCciSpu1BEXEhqVveA4FIQ1qfm+MMmoxSY10Du0KSxP+ITaRgd8Bkb3mi7lcT+3HYQsehIMzpzY+G3QROp+chk+Eff4GkMhvv49mLhB3hftupV5lgk20R65lUoU4fHZqDPNFs4qo+krAYwXM4lRZeYiGhQ6DmgEoK6pIgrSP4xk4eSJjfb+abdWKjALCNpsZq4GMhnfvsgp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4crqWNV/10R1X2/Ypl/WqM4euKBduPWp1Zx4VWmTTKIA5mYelfgnNvierVk3T61ed/6RQzixMlOerpBrNN+aqRh11W+4KybonvZhQFDKiRK/Uqm6ywZ4elCN530kbmfjWtzwuHZrMOl7RbJf2BzuvoTcov9IfOY7Z8bc3lhwZuaHTM9OG60QsVY7/I6m/UtB7KvbEj4FznR//uty2rcLtXFOuIPMjGgtyQihpSi4XPvaCTcAdjlQwIuTYuvqvCuTkqcpZgnDludvnDuNNrKNPpLM/EHS5OHpqKkz4dFWLXCLleoWX/cwzm5gNnKG0I10oIeGDorgRtSWWQK7dKAT4Co9N0AvoDvhySCusABtsCxur+w554VOhPrF6yehN6xgT9PqzCOw4NNnVtNHz0AcrdBoy4aRqf/1f486sADXlw2ZlVRhUCcE4e8H9j//FJlaDv4CW25ssqLI1MkNFrZ7sfKMYsXm7PvLyydCnhs1kbJ2st2tyG9TdqtRrJNwUfl3tdWc1xzIiPJpQ0Gjzz3ci1vDwnJbc2PD/il/ej6VZ/KjW6AW1Ru8uJrJGcUrmTUYpQjon1lq1I0TXLndyJtq/bRSd8/JRt8lDSfjN X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: edaed543-d232-4dab-62dc-08dc86f53992 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5948.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 13:25:00.0649 (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: pbn28ykJJJyel9NyNs1DbGMMFETJ4beblIRaUzRDJfIDC7z0AB2joSi7DyJdfj6UwRYiFgqIMqOGx0AR30uk7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8944 From: Peng Fan Changes in v3: - Drop two patches clk: imx: pll14xx: Add constraint for fvco frequency clk: imx: pll14xx: use rate_table for audio plls - Update 8ULP PCC check to not return Error - Update commit log and Add R-b for "clk: imx: imx8mp: fix clock tree update of TF-A managed clocks" - Link to v2: https://lore.kernel.org/all/20240510-imx-clk-v2-0-c998f315d29c@nxp.com/ Changes in v2: - Drop "clk: imx: pll14xx: potential integer overflow eliminated by casting to u64" - Add Fixes tag "clk: imx: imx8mp-audiomix: remove sdma root clock" - Link to v1: https://lore.kernel.org/r/20240504-imx-clk-v1-0-f7915489d58d@nxp.com Upstream several patches landed in NXP downstream repo for some time. - i.MX8M/93/7ULP composite clk update - Fix Fracn-gppll MFN got lost - PLL14xx update - i.MX8MP DRAM CLK fix - i.MX8MM/N misc update - Init i.MX8QXP parent clk before child clk Downstream tags are kept for the patches got R-b Although there are a few fixes, non-urgent for 6.10. Adrian Alonso (1): clk: imx: imx8mn: add sai7_ipg_clk clock settings Jacky Bai (2): clk: imx: composite-93: keep root clock on when mcore enabled clk: imx: imx8mm: Change the 'nand_usdhc_bus' clock to non-critical one Oliver F. Brown (1): clk: imx: imx8qxp: Add clock muxes for MIPI and PHY ref clocks Peng Fan (8): clk: imx: composite-8m: Enable gate clk with mcore_booted clk: imx: imx8mp-audiomix: remove sdma root clock clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D clk: imx: add CLK_SET_RATE_PARENT for lcdif_pixel_src for i.MX7D clk: imx: imx8qxp: Add LVDS bypass clocks clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk clk: imx: imx8qxp: Parent should be initialized earlier than the clock clk: imx: fracn-gppll: update rate table Pengfei Li (1): clk: imx: fracn-gppll: fix fractional part of PLL getting lost Ye Li (1): clk: imx: composite-7ulp: Check the PCC present bit Zhipeng Wang (1): clk: imx: imx8mp: fix clock tree update of TF-A managed clocks drivers/clk/imx/clk-composite-7ulp.c | 7 ++++ drivers/clk/imx/clk-composite-8m.c | 53 +++++++++++++++++++++------ drivers/clk/imx/clk-composite-93.c | 15 ++++---- drivers/clk/imx/clk-fracn-gppll.c | 6 +++ drivers/clk/imx/clk-imx7d.c | 6 +-- drivers/clk/imx/clk-imx8mm.c | 2 +- drivers/clk/imx/clk-imx8mn.c | 1 + drivers/clk/imx/clk-imx8mp-audiomix.c | 1 - drivers/clk/imx/clk-imx8mp.c | 4 +- drivers/clk/imx/clk-imx8qxp.c | 51 +++++++++++++++++--------- 10 files changed, 103 insertions(+), 43 deletions(-) Reviewed-by: Abel Vesa