From patchwork Sat May 4 00:48:53 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: 13653702 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2054.outbound.protection.outlook.com [40.107.105.54]) (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 A690BA38 for ; Sat, 4 May 2024 00:41:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783268; cv=fail; b=JUs9Zv0yP4vNWF2LcBCIvk2nTKkfxtKjfY3+pdXfhdibgBR4eH9ASHapVnLub2aQRKefFRe7H6M+BH3O+GmumZGdOU326B58FKrcsxf/2K38EafcTNxEmbP66o96mMy4YyJTDtNP+PsSMVQ2Q3VapxvGxuEcGTA6IbwyEDflgZI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783268; c=relaxed/simple; bh=/4QFCsE3xBmY4w7jpkFfAWfR/afmM/wGZ6lkkJbEAdM=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=ToDMs0sXjMR+7Cr8oLN1DpG2FfQHKA2Jgo66rlXDj6ZC+eaXSBxJAIMIbc2dxJEp3gpSuGbgGeTHVebZUTuBj42lJjwYGq3LPkcNKomp/hhAlbv+CGF2oeRN3nvR8i+xxnWIBK8B/RoPRwenmzUSJBr5PA/HkPLy0+0Xh6j6RQA= 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=SvhuDGiq; arc=fail smtp.client-ip=40.107.105.54 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="SvhuDGiq" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YSi8gS2rPZoIQbGtzNCz2oYzi/mTuDuzWLWNKAwhvGMfKJZssY7ivPV3X4r7iJGkxPrANm/6tXGQ64V/SdCh6OAfsb9aOlwmYtQBNqKonfMHwRBsZsUiFjeeuIAHG9Hv0lkzpfn98wfIdCqBuE/H0w2YP2urVnpqwjVbyuvEBnhoYllMgoLWIj0u62lB3dtDQOmne6BZYYob8PR9T9jCFCLee0gVQmd6B8fEl39BBg745lBwwf0tYZywyINrgUgXSKDCip1zR75Oa6pD4gXsVLrKabimLgO3GGNyQNLQO93OUv3XCUapaOSmoua3ngx34pGqo6qnIu6GzYYM8f0SyA== 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=NCq3Gd+1nDS1Ju79bW0XQVJTPMhOZngl0OuPgpjlAGE=; b=nU8tgzN5tfD9wyrpxsKEHIEXL4STZv9II8mjFmg6c/Hoao60jKVhO1wHQxw7tbyuK9Gx3n/KBPvN+X1+ctpvH3NwXUBTXPK10wjojXZ1PK5XsJXbLaB+12kF7jxeNd0105Mue3EOGq3rnCS+TxtY8NRYbZTeKWjtIODUy6G80tlBqGKZa2TwxWUQrWqWtcGjZCBmDZJjbYdedjkuqsrMisc7Sg2f8YHkfw0+ZtLFwY+GDfcI7JD1DLZCbtDXZ4ol304ZkRNxVohNWDd+hRN1v/IJofIyVD1b74KqLDCB9ffpmVz4e1exbkVmdY5cF9GLYFAx9NJQXN3NbFyfbfWJxQ== 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=NCq3Gd+1nDS1Ju79bW0XQVJTPMhOZngl0OuPgpjlAGE=; b=SvhuDGiqV37U9PV7olAfvSdQHe8vF1XXkpwcisyOfWSBkphO/Zguycwrhpkt12YBsSGmfnBAIBjLNv/7GlL5zLWBwvHm8PbrrDzCY5KWnMeon58CT5CDXGmoiqDp9I/5bad+szc9yx0ALflHbUxY3bxaaTjldeNgOJ8ihWxhOFc= 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:41:02 +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:41:02 +0000 From: "Peng Fan (OSS)" Subject: [PATCH 00/18] clk: imx: misc update/fix Date: Sat, 04 May 2024 08:48:53 +0800 Message-Id: <20240504-imx-clk-v1-0-f7915489d58d@nxp.com> X-B4-Tracking: v=1; b=H4sIAPWFNWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDUwNj3czcCt3knGzdRBPTJLPkVPNkQ9NEJaDqgqLUtMwKsEnRsbW1AGa jee1ZAAAA 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 , Chancel Liu , Pengfei Li , Shengjiu Wang , Florin Pavelescu , Viorel Suman , Zhipeng Wang , Adrian Alonso , Ranjani Vaidyanathan , "Oliver F. Brown" , Robert Chiras X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714783747; l=2595; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=/4QFCsE3xBmY4w7jpkFfAWfR/afmM/wGZ6lkkJbEAdM=; b=XfeN93zOna/of4biPn9LWRkCRYeWNoqNsOAJ5qSF5+H4B+tkPG99JAu0vr8yTMFMrNyngGYYX ycg0z0ANTSZB9evipUN/DZdRHTtOEMPriHw2AYOS5a5cgQYtseurhIL 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: bafb7d6f-6f38-40dd-27fe-08dc6bd2df9b 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?eOz8jxUb1aozxT32WgsAtVXW7zhkaTj?= =?utf-8?q?eJAHzZ70A/cUuri8KTTXVx8iTSbYxV6ev2OMNOsWQV7O6Xee3/+EyG881xPRJFYrf?= =?utf-8?q?p0KTHUkted70ZK3WnnQCgqsTodpQoGwws7ahPS82+xl7NZg3wHHSbRr7eY01DZeqJ?= =?utf-8?q?b6aBkto0DjkIxnpLoadXpupVx/cubx6VOTSrjiIqwvMc+L8OKFibM4yFsA/tqfXZ/?= =?utf-8?q?tyEVjkI2O5m8sEsXb9M6FXaZAufy2krBvdY5zqv1p2tUdbYltp9X5FlWaPIX87edY?= =?utf-8?q?C6dfHbpNKFhJIJj+YFNQ56Wf1Pjt2zsRnlRmmjLJ0qK82fgOwHZqpCR09aRu6Y2lE?= =?utf-8?q?dtV8ORj9LgbXoFQI8bazhxwahwlhQqSlQt8mv27uGYgcwFmqNB2npZva9pjTkUTb9?= =?utf-8?q?bI/monX1AwT/EOJcGqFQkwUGoXANzjaKfJB8uBlGzsp9GwcbhT6nbyOb/sbKAgMd2?= =?utf-8?q?pzIU/BPFf6UCW9qWry7ZCYJ19UWQr5Sj8obL5LVkDvEjpWWj88L2kWsHnk7yqs/31?= =?utf-8?q?x5d95a9/OX8HUQUij2GS1gGVzm/ZPY/9cpZy9uq9OgaJx5ZIMt103daGUZsy7UsEp?= =?utf-8?q?weq3wYS0hXBxojvVL7SPRolx3y2Drc1CU0+N6gGnsVdnSOR6VqPdC/aeH8BBQBRd1?= =?utf-8?q?hw6xk/p9Ha4+DWJ+NwA8y++gRDQfdAbenDXDYV9oZiNc3v6DAJmAiCeK19SbHH5Rf?= =?utf-8?q?gi9hEZYmgDVhera+oTelQpRE5CbqD+bD0mBobmZBuUVV/I58r5blBhUJGeUCnXUTm?= =?utf-8?q?L/DFqBnh3Vqx7lK2+Rb5SxFSoY3hs7makoTg3OmuMFbKIv4x0bS2a6jlS/iqqsql7?= =?utf-8?q?okCZLMKeY4xvjvq+movsansXPhvEjmYND2IPbPgOT/bjX4MzUcl5g4adiUE8N9goA?= =?utf-8?q?b+xGh+PKXTQvfkcctpNdWfY3hN4z30ZspmwcP5NS6gkR9yhYqefqEBqMBElSd1tno?= =?utf-8?q?z2RolYOn2pPv2hMVKhry8T3Kc3QCu1Skv0QKyXk+Hy9094XJ+FXRzoSKt11PAJxTL?= =?utf-8?q?lDi9GHETW/hUH2BB6LhmZ7LD89LjxD1OcHp4efj7AkeY3PNQubLHxce1ZaJpMinE1?= =?utf-8?q?jbU83r0zm3OciRhaDXJKHZXTbwgn6mj53mm6gVGaduKJlfS8jdNtyVgHFExBTrOmO?= =?utf-8?q?3dnRLrQpUU21bZWznCxpAwTTb+CfdaFT6Yws+u2FZhDOWfMQcEAOlnQG8ml97lJFT?= =?utf-8?q?oWCj8jEwnxcDP9AWkknkLy/6s+6Y2YjCQoqV/Rl+ktiwO9J9joEM7+djuMTz393wI?= =?utf-8?q?NPBXoMkAyYaZNTX/6200AmsD6tY6Xf5L3Q20cH319k2gWRQ2RGgkBZqg=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?LD+ljgIjG3tnkMKWEUg+pwTJC6Bn?= =?utf-8?q?upLV7b3aeVUDChiFRkBS4om/mH+YRmwqbIp6mTBpvvQPqPM33vzcqp4MPekOooN9j?= =?utf-8?q?T/bBVpCRoViihI+KbhVeaQLVVDG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vjEk/DetQ7BbyuzEl8EetTgG+lf?= =?utf-8?q?ra4YNn02vdKNqh56c/4YuEShMj8DSpGQi3I09TdE43ZcKd4LOEvqP4hQt6YtzUfET?= =?utf-8?q?xD9+G3zan/w4Fq+ws4IE+kjHFL0kgKmLTLUEB2gv7YYEKcLU9GFnwzt7c+4fXWF92?= =?utf-8?q?lpYWfNpcN/wezRyX95AsW6qRs8Pwe+VEHHUaS0M+Ce8yOBNs29QbYZxpRobMGFMg5?= =?utf-8?q?zifDlUuUZNjyuzPi9c9kFhE1vhqt2QN2F944+fe6A6ssOtZEcJtoCV/g76Zgk1M/K?= =?utf-8?q?2D1JceM/cu7KO+fHI0Q57Y2QB8NJPkWX71+cKX575JdIb6zGZIKrgQbkd38C0P+ER?= =?utf-8?q?phDE6RzZA8f0TxaxQjcahLnjyBdGAeGFf8G5ZOKKcY3D7LZ6sje+FJns0GdLKqkED?= =?utf-8?q?Ra+9SPpaRDYB++Nz2v8+61Ix9yXRSuEIYh1IDsArFVUNynszNxIaNUYOWM2X9K39r?= =?utf-8?q?Nw7ycMKKSneG1FRin/SMONesSIeIb5dMkqhXWlyXiG/Bxz9w95EcF6so2iSjMptYW?= =?utf-8?q?kI4fhg2ctbRD?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bafb7d6f-6f38-40dd-27fe-08dc6bd2df9b 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:41:02.2243 (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: qbqLgNLhVn5T1aGg5FStQt4F3SVV4ZpEsJ54+Tw0lhr2TULUqCERESrnYWFdb7tFvJ1CxRe3eugZkTKEb/tifw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7726 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.9. Signed-off-by: Peng Fan --- Adrian Alonso (1): clk: imx: imx8mn: add sai7_ipg_clk clock settings Florin Pavelescu (1): clk: imx: pll14xx: potential integer overflow eliminated by casting to u64 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 Shengjiu Wang (2): clk: imx: pll14xx: Add constraint for fvco frequency clk: imx: pll14xx: use rate_table for audio plls 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 | 5 ++++ 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 +++++++++++++++++++++------------ drivers/clk/imx/clk-pll14xx.c | 21 ++++++++++++-- 11 files changed, 120 insertions(+), 45 deletions(-) --- base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29 change-id: 20240503-imx-clk-a45b6ce7c15a Best regards,