Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp161427lqh; Fri, 3 May 2024 17:44:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOi/WjYGKt3pidtw4Y6VqZVLpBWrAmujFZs0VarQxi8AP23WRA9oGJ1IwevTbHyZQQ4BLQt4tKNBFczzJWZqQg2fEnf39Ky5i2RCAqFA== X-Google-Smtp-Source: AGHT+IF1vCWPhBASyr4Mgi+bvnNEfE5TrREqOFWKcRFACkklLqOjUfQDbBx1wpeQHclj51CLAuBv X-Received: by 2002:a05:622a:38b:b0:43a:ef4e:7b2c with SMTP id j11-20020a05622a038b00b0043aef4e7b2cmr5424400qtx.14.1714783493304; Fri, 03 May 2024 17:44:53 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d12-20020ac85d8c000000b0043784e9d69dsi4569553qtx.496.2024.05.03.17.44.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 17:44:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168476-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=UHDFD4IY; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-168476-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168476-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AF2651C22B64 for ; Sat, 4 May 2024 00:44:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 720C82BAE8; Sat, 4 May 2024 00:42:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="UHDFD4IY" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2055.outbound.protection.outlook.com [40.107.105.55]) (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 6B7BD2B9CE; Sat, 4 May 2024 00:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.55 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783360; cv=fail; b=j2BysM9HfSi9DDOj92qiGCQtYjyVtfUSXWmfkBR6XGxQ8SrRE3rHGwJaPQrUMg6s/GQFSn44FVF1l0VxgPPG6xmzFrysw+R1Ddy+CSl1lrTMkoy8G6e/zQHGiQtqnZO64kJM9sta9FbcWOUezkU5zB+apB7LGq2HNM9+Hz+ryb0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714783360; c=relaxed/simple; bh=zB0ZVdk0Qm7I8UWyqi5Qs3uBnGOodb2WAs9gToNGiDU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=cgA8im1StO54gcQVdR8mt+OiIxKDQzUyF2biomqRXyxy433aY8tXVs5gPj57OQdvWqQMzsghYJPifkEmqHUc0bAF1iIRyVp4B/St7vIde6p+ISnbfcctkaF7TUvUzpM1exrHglBl3Xd//lSFQDVMxmELsGMQB/6a3LjSWeUA8ME= 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=UHDFD4IY; arc=fail smtp.client-ip=40.107.105.55 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gSsE43sf3Ip9guXN/I1G55EQhEDluFM22uri3q4bY/6F3rDvPtvuZZoK/bROkbfaTbgvhMVWmaIFZZ1ttVcW1KaubrxMIKuZvu9F89mwuaIrrZQeZZovkTvp1rZZ66+i3/LflB5cHA6N7/Zi4qZWGa8gPbdLqtx5m2fOiGkCI+sab5RbdMsWubwbAVIKokm66rcGxx6OxT/05OOyAZklTkAtsN5jcdD4BtXd+ShIj77vIJWvM21NJbYLTdmisueAlDsxO791J1CigWVmJji6Sj0BEFq4owKkVBCMx2dISZ0AeKUCDFfR9QOYlDGoKT+tOluzmNM0uGceBGpTmpLLQQ== 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=morjSPZoht/sZgZZlrJFTpm7VksD0m/Vy6jf//XeATM=; b=lVvooT4F0LoiW9cTIfYUSmp2EkoA3fGDLJxj2gJ/xTVlG7T44/+Ggwp27LvPkioVseoTTOqBa9B+ucgurjPJzhVO1j5BLqx9rH5nXcvGWQ2fYlO2mk+guM6ahOvGSJCj/FPR9EMnR5vASVePGrhRGUNWRw5UdaPFJJZOszL+epqxUIiiJOTeRddlRMBZAtI3uscGD5JCFyqg0DkaBWxV6GaXD5xeyhd3Gq7ifr3/Bucl2mHZl55AkPfRqgRwuQ91gCrF5kGqc4BGfvKK93Na+7JMoer/A2jkuotSm9cyEDD7DLAomgH5hHaUPiDQpygOeP253j2QH6SUOktjgbkVng== 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=morjSPZoht/sZgZZlrJFTpm7VksD0m/Vy6jf//XeATM=; b=UHDFD4IYz31jMk1YtV1KaikCFXSpv8QtpjotNhe0a7OMRRSNMIma71W5l2yFWkKO0e/LKszRX/9LWxDODd3X0FawzdbpH1Tm6J936pL3kR8vJK8cBkjwjujsE74klPkaVoqTSnx2+M4wv+cruzon+kite5q6rasu9WK8T4WemFQ= 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:35 +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:35 +0000 From: "Peng Fan (OSS)" Date: Sat, 04 May 2024 08:49:10 +0800 Subject: [PATCH 17/18] clk: imx: imx8qxp: Parent should be initialized earlier than the clock Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240504-imx-clk-v1-17-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=2435; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=hrw2P3sZckBHVBC6N5CEm5mGrpqUDVpTtcM6jOZ4s+Q=; b=kMNh8mRqhB2ZDTaJfXa8sIEqusAxeIdV1ctqQPQJT619wLq1V1wOyRkq7JmU8v0JMclWoOtqu 5CJIiqYI6P6DMjk1UvpSbkZbv433QFF+vi0FycR61sqi+S9C5XzB2F2 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: linux-kernel@vger.kernel.org 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: c7bece1c-ef20-4b36-406a-08dc6bd31782 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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b25Ba3dIRDd1SnZBQUls?= =?utf-8?Q?IZ3fwldUih7p0X8tmJZaRGGhJfAkvlf7Ovpi4=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?B?VU5pVmNqTXRZMTVORnlwNnl1NXpFM21tSnlHNVVQc0dxbHc5OG1HV0VoazhU?= =?utf-8?B?dHVoS0JQT3VVbEtmUmlqRDdBcU1EUEhoOUJ6WTVQZkJaNjc0ZjFMTWpYdjR3?= =?utf-8?B?NlRURmFSMnVTa3RBcS84Z01lMzJLc0xFZCthSWhudXh0WEtpYVBkTktYM3c3?= =?utf-8?B?S0ZiOVQ3RzBUcUpXV1JFazN3UWExbzE3dG5zZ2o0SzA5L3p0SjBrSlpKTVJU?= =?utf-8?B?QmVtYzBWTFpNeG0zQnhsbFFMaTRHdFB6ZUZUYWRWemVuS0hzWE9YV2JWQWdJ?= =?utf-8?B?TGZWa24rL2hlQ2c2V0hxMW0rOFI5V1BmYUNVREhmYVJSTHpiMmhXN0o0YUxB?= =?utf-8?B?S0g0dXorVE5lMFlwTlVlS1psRGR5U1EzbXhpWFFMdlJuWk1DYzArMmN4Z2cr?= =?utf-8?B?S0dwbzhOcWJPV0hUdkJMd3dtZzBDdElWNVM5S0tXdUI4b1I1b2R4aVZrWEFW?= =?utf-8?B?NzhpaXhjTnFjMm8wZGNNenRzZE82Ry93RUdwUU5QNFVvRkhjR2lFazFZdXBr?= =?utf-8?B?TkZ1TWRIRkIyVkdCM3RIVXRoYlFBY2NoN0VwVnVzLys3U21sRjFWNFQ1OUZB?= =?utf-8?B?VEozMzE4OGFGN0dFMjkvUz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= =?utf-8?B?UEZScjJScVBJd0twenM5TDlJdG83NzJpZTdrWHBGenZKRS9YcitRYzZzQXds?= =?utf-8?B?QVV5TTJMQk9qY2syVXNZWW00V05vWTRhV05SZFpQMUZnQlhRd1IyQkFFcXZw?= =?utf-8?B?MWx6b0RWaWw2S2ZqWFZsRUJ2T3pEUFVFbGFvcEJFZk9DeWZWaDkvWDlVV0la?= =?utf-8?B?bDJxbkJsWHUyR3dPSGR0NlNVMEcwMk03R3VHV1Y5aXRjMDlZNjlIcTVLT2Zw?= =?utf-8?B?VVo3RzVmdVgyb0J4NjQ2WE80R240T3NQS1NzaGFteHYrZHJOLzluS1JSV0dD?= =?utf-8?B?MEVlVUdYK3lLblc0QlFqRFM5eUZBYi9TSTdKQTdFbFRoakdBV1BGcFlGQXRH?= =?utf-8?B?Sjh4OTdPRUNGUEh3eDRWVi9NYnkrUWUrenZpc1B0QnA4c2d3NmUwSmx3NWRC?= =?utf-8?B?ZCtFUzdWZEdqRC9PKzJRdHdBNGk0WlFibE8xWlkwdlhoM2pUOUJLRVpoLzhx?= =?utf-8?B?THBFNWpoK29sSnJ4MjdXM0Fid2YwNGhCSTZyanQrc0ovU1ZnU3JnVDR1dlJ3?= =?utf-8?B?bGRJaVpLTFlITGw0RDhMSVZLUnZHWE9sUUVMUGI5cEIvc25sTHExcXBZNFlR?= =?utf-8?Q?un4oVIoqp5fO6MRpJCx5Q6C2V?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7bece1c-ef20-4b36-406a-08dc6bd31782 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:35.7214 (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: hvDZXT+pEobDOUD8GHKuZhTP30Ad7uHwX17EWzs4ePJZMaLKn3kFHhaqSXMCA0203P1M8DQK/mbu9SBubRmSJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7726 From: Peng Fan The initialization order of SCU clocks affects the sequence of SCU clock resume. If there are no other effects, the earlier the initialization, the earlier the resume. During SCU clock resume, the clock rate is restored. As SCFW guidelines, configure the parent clock rate before configuring the child rate. Fixes: babfaa9556d7 ("clk: imx: scu: add more scu clocks") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8qxp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index 47f4ceab1179..3ae162625bb1 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -186,8 +186,8 @@ static int imx8qxp_clk_probe(struct platform_device *pdev) imx_clk_scu("pwm_clk", IMX_SC_R_LCD_0_PWM_0, IMX_SC_PM_CLK_PER); imx_clk_scu("elcdif_pll", IMX_SC_R_ELCDIF_PLL, IMX_SC_PM_CLK_PLL); imx_clk_scu2("lcd_clk", lcd_sels, ARRAY_SIZE(lcd_sels), IMX_SC_R_LCD_0, IMX_SC_PM_CLK_PER); - imx_clk_scu2("lcd_pxl_clk", lcd_pxl_sels, ARRAY_SIZE(lcd_pxl_sels), IMX_SC_R_LCD_0, IMX_SC_PM_CLK_MISC0); imx_clk_scu("lcd_pxl_bypass_div_clk", IMX_SC_R_LCD_0, IMX_SC_PM_CLK_BYPASS); + imx_clk_scu2("lcd_pxl_clk", lcd_pxl_sels, ARRAY_SIZE(lcd_pxl_sels), IMX_SC_R_LCD_0, IMX_SC_PM_CLK_MISC0); /* Audio SS */ imx_clk_scu("audio_pll0_clk", IMX_SC_R_AUDIO_PLL_0, IMX_SC_PM_CLK_PLL); @@ -229,11 +229,11 @@ static int imx8qxp_clk_probe(struct platform_device *pdev) imx_clk_scu2("dc0_disp1_clk", dc0_sels, ARRAY_SIZE(dc0_sels), IMX_SC_R_DC_0, IMX_SC_PM_CLK_MISC1); imx_clk_scu("dc0_bypass1_clk", IMX_SC_R_DC_0_VIDEO1, IMX_SC_PM_CLK_BYPASS); - imx_clk_scu2("dc1_disp0_clk", dc1_sels, ARRAY_SIZE(dc1_sels), IMX_SC_R_DC_1, IMX_SC_PM_CLK_MISC0); - imx_clk_scu2("dc1_disp1_clk", dc1_sels, ARRAY_SIZE(dc1_sels), IMX_SC_R_DC_1, IMX_SC_PM_CLK_MISC1); imx_clk_scu("dc1_pll0_clk", IMX_SC_R_DC_1_PLL_0, IMX_SC_PM_CLK_PLL); imx_clk_scu("dc1_pll1_clk", IMX_SC_R_DC_1_PLL_1, IMX_SC_PM_CLK_PLL); imx_clk_scu("dc1_bypass0_clk", IMX_SC_R_DC_1_VIDEO0, IMX_SC_PM_CLK_BYPASS); + imx_clk_scu2("dc1_disp0_clk", dc1_sels, ARRAY_SIZE(dc1_sels), IMX_SC_R_DC_1, IMX_SC_PM_CLK_MISC0); + imx_clk_scu2("dc1_disp1_clk", dc1_sels, ARRAY_SIZE(dc1_sels), IMX_SC_R_DC_1, IMX_SC_PM_CLK_MISC1); imx_clk_scu("dc1_bypass1_clk", IMX_SC_R_DC_1_VIDEO1, IMX_SC_PM_CLK_BYPASS); /* MIPI-LVDS SS */ -- 2.37.1