From patchwork Sat May 4 00:49:11 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: 13653720 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2048.outbound.protection.outlook.com [40.107.241.48]) (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 5FCA236120 for ; Sat, 4 May 2024 00:42:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783365; cv=fail; b=Ih/54pmdAO0kqSfLtR7IgvXBzV8t528N0+WnVAtbjR2DB/mrfWQG+5wZHOk0K5M//bB3Gl6Lh/7GMbsHvnkjG/BLQ5mJcH/aL/IRslAMO3QV4jRIo/b9UrOlzIp1P0z3P4/XqJ3Ivgazf6kWEnbS3H+8PfNBOmumF+gTdtIrNfc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783365; c=relaxed/simple; bh=LIgsjKhvPsQ/Wke1XoRmOQwn3YqqnKKetqjIr+h1Gx8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=q4aZp21yR25pV/FxcRCEMw9Qq+UGmfOxab4QvdxeateUGiOmbF8tRMr7uEeuPP7lxg6w0KMLqI0toNu6hFnCHDLZgAbQXrUUrUcz9LKQLnyoH2vH2qkjkavuBvD3FClEJw1ca4ZTSOORsGAw6zPuORyf03kpYodcjbBLxoh/XLk= 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=Wi+r8wpg; arc=fail smtp.client-ip=40.107.241.48 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="Wi+r8wpg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EeDPgVInByo1Kt1omSGcmVDy3feVfm8uwnA3uVmUaDiBpymlePwQD31evVj19FIN/gLEGi9kRW9CHsRuK70f4AFl79auVqUTABL47++QFFrK+Y96KMG8DTp86Mlih1lnpCaTAeg4kIiBQW6AlODm5xu8Gaz59p/V2p36lA/wdLuiMnuBf3+DOcPH7KIBYYe7OniNrSIOjfElBRPufF7d8LWeBiOqHlfap0o11X9fjPgc8o6F1K4SnnMh4bo1HI3rZ0a7SAvyqzBntRG/nnQSI32sgsxJj1W/iOOOJKPTP5oRvyP8zcKMUuEV4A3df+LSMSS9XiVz1j52VjYaJaDIKw== 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=4Xbc0TOfAlS9LPLGccHITUNQDuUBFJQrLHuLiwGMTuY=; b=NN8bnQYlj8CI1LK8+W5ewv0tvKHGpKvWzzjEZxeuDjFP2jn8iNFDgWoQolyrrB7GTGNpp32wHOwuYNqQyn0NNC4Ow2eA8s6OEZin/oK+APT2CyTYUaUmOnSMtrfJdpXiMMbRH+SmQYOhWXwmDlhX0gjj0khT5xzbCyKyo6xmL3YKx/6Oxkk/IcxErqzIU/Jmd+MSRorH/MFHdI+ZkUnJGK7rGJMtiKu8nTyggbtqcpeGfMnOM1rcOC5YhalxTNXy1Z1Vmo7QSEwEvbgf0GoWHwj8zT7qo5Sekll5KzLKjbKJVauiXx3MfBC9w37QghdqL2r48mEjKJIEh8HGtx98+Q== 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=4Xbc0TOfAlS9LPLGccHITUNQDuUBFJQrLHuLiwGMTuY=; b=Wi+r8wpgP74N/JgpyYbmyNtIDt0/fZ6yGhUgfayxVoYA5dcSkLY1YT4tN/ICQrG8P/+x/oAFCDaGNUgW5zyCxkSYHc5m16BurpgyhssBnhOJ92vhF14qWutKoq9AmuuzAsDwOnVjzQjRZcptsJ1c3L8SYmBagSu687mbowUlklU= 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:41 +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:41 +0000 From: "Peng Fan (OSS)" Date: Sat, 04 May 2024 08:49:11 +0800 Subject: [PATCH 18/18] clk: imx: fracn-gppll: update rate table Message-Id: <20240504-imx-clk-v1-18-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 X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714783747; l=1217; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=fgOtqAw+FraHuW4UTB8xhgz6F79BoqMSj9Ycinx3ytQ=; b=f3yGykR8lw1s2EBBnPv8EP31A12zCQmkBmhkVnqJuXsunIHjVrGOIcT5vibeKJdYfDptNSjKy viFxsPCZd+dAmQlcb34HIczuA05kIbDFNlj9YSPM94Z4er2mq6mSmWN 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: a2ddcd43-5408-4e08-9417-08dc6bd31aa1 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?VSCtQ3PT4dwAigytBxzfz6RRRW/hj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=?utf-8?q?lJFHrh3sfnt9QzMafSDiCakCOl/gCVbbaMz1dRWH7odUstEP2jf4BJNxgqO9Zgrnz?= =?utf-8?q?eEdQE0+E3o2Q+sXu+CoqM5ETzQtd8LfI+YAaHrxWStZISs+FljisltbdxFUAHE1XB?= =?utf-8?q?PJ/aLGlG9Yt9ryxawCD/gR/r89JFz1mCn0xV9TwQmm6de42izWV8gXb4FBaL2bEt6?= =?utf-8?q?0k8qMjWiLFTcNspkkibT/EcP0ZiXhcMu420gfJKVNJ0/F4XlLlArxZMpDvCLvTQMH?= =?utf-8?q?nUycg24L9OYxZw6dH9fwPJEY2kbuXK1ooTdt3EltL5m6yQFNpGPyJ0PMoxXJih8tV?= =?utf-8?q?cfDPkrkp0CK7kfi2lV1u4GXTns4pGWeTiJr1t0RNr4+1uruJQKTvL/HzUkoM+wUC5?= =?utf-8?q?NuOCmlvXZ+B9J6rXf49Q1zP2Mytdb29l3l7HbedNI9me1JdEuUnqY3wA=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?Q0BmJTPz3x4ymEe3nO0PhwOtRkgB?= =?utf-8?q?DSUAB0g7QOP1QJtTf5i3fjOUNzB7u6eiM8+bCUGYgH/qxiUBu3bVkw4Aq3p7LUYTS?= =?utf-8?q?ESaeYH/yty9Ea/JN3RZgrgtCqs955J6+BXdwLU+Ij6DKHYo7XnuFLOkTPpHhwvVM/?= =?utf-8?q?C3rl4noW+WegFOnpGqr/hRTTzQUFQDokxFtA0Usecx5qCGIJp51UxyQKgFEt42j0V?= =?utf-8?q?k34tezJwjYZAnPLraHufkCgrKVFWY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Lo0DptAPbsZRLY+Z8ccDnPkrvPGVIdFnaGZ?= =?utf-8?q?NO55t8TXZvUXPM1qcRVLYtJLUviLkl/UO49AJX/wyv21ZRRgYJaVNfFZ7BNfqasZt?= =?utf-8?q?NI8kN78p/sja2ScW0EkHe1fdc8U9ztd8KdteAdCaHbNkiqMMJFBmp7Iquvdxc20QC?= =?utf-8?q?bnROwF3vPYGBiYKK3YMB9weHoGTMntBYnf4I72oACB146EDzoITGgbjbNHItSrT5r?= =?utf-8?q?3sKpz5VFyiqy0Bl6qdt5JfqBCcBP8xX7WVr+KdlZsba9+iTtnPrn0zUliEpERIIQd?= =?utf-8?q?yT2ffegm5u4CQMpZNieosPg/ctP+Guf/myrn6CO77USCYSEp0+qDdN386H5QF42jP?= =?utf-8?q?fcYWMdgkfm2rFLT6sG0lgKfRIWzy679+3g28JLMk6T4Dm2my69b4IlXIhqbiOMkHb?= =?utf-8?q?3LFCISl2/O+u?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2ddcd43-5408-4e08-9417-08dc6bd31aa1 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:40.9554 (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: DM6XiuhqumYWH6ZPt8e2kmI2SUEqkDHPwURiQ9drq1XiAm8pe52VNXlX/HeVECfQJJ7/uG5ZLD4PakJIOLVxeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7726 From: Peng Fan - Add 1039.5MHz clock for video PLL to fulfill the LVDS display 148.5MHz * 7 requirement - Add 800MHz clock for ARM PLL Signed-off-by: Jacky Bai Signed-off-by: Peng Fan --- drivers/clk/imx/clk-fracn-gppll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c index 1becba2b62d0..591e0364ee5c 100644 --- a/drivers/clk/imx/clk-fracn-gppll.c +++ b/drivers/clk/imx/clk-fracn-gppll.c @@ -78,6 +78,7 @@ struct clk_fracn_gppll { * The Fvco should be in range 2.5Ghz to 5Ghz */ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = { + PLL_FRACN_GP(1039500000U, 173, 25, 100, 1, 4), PLL_FRACN_GP(650000000U, 162, 50, 100, 0, 6), PLL_FRACN_GP(594000000U, 198, 0, 1, 0, 8), PLL_FRACN_GP(560000000U, 140, 0, 1, 0, 6), @@ -106,6 +107,7 @@ static const struct imx_fracn_gppll_rate_table int_tbl[] = { PLL_FRACN_GP_INTEGER(1700000000U, 141, 1, 2), PLL_FRACN_GP_INTEGER(1400000000U, 175, 1, 3), PLL_FRACN_GP_INTEGER(900000000U, 150, 1, 4), + PLL_FRACN_GP_INTEGER(800000000U, 200, 1, 6), }; struct imx_fracn_gppll_clk imx_fracn_gppll_integer = {