From patchwork Thu Oct 27 10:11:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11716 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp142067wru; Thu, 27 Oct 2022 03:12:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sJEbImVsVWLNmTeeZZsfyv1I8UMAkZO0ia7PAm6mhqofM0TQIjcGuTDcPBgwkHNlWmGDM X-Received: by 2002:a05:6402:51ca:b0:462:273b:6ad6 with SMTP id r10-20020a05640251ca00b00462273b6ad6mr11357140edd.119.1666865520915; Thu, 27 Oct 2022 03:12:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865520; cv=pass; d=google.com; s=arc-20160816; b=VXV6rf11epCDDJFLs56/o/DpViLUcvqcmQxtUlM27tSmZwbnVB5Ib2Ck4ffBQnDfNt nBWeJZC8vrNR0RgNHdl2Ctj7cpqwKMuEz/rzjRHGHfHObjjgI8Y9wHGfHytizjlICfst TF+2ufDsUWHnvC7GlbRLm3jDlSI/6XbXXpb+njeWQuwttFvnMAKn1nGt4BP2O3I+ZJcN PHsRIkWyWsZCEiDU/VDMgRJEH9Avy/3JcIpkTUbXHIhh36ALO3j97N85AbUdj1qXTz56 Y/elHVy+Wg4UlZ7wfGITRJYYmdn3jekMLX1E6MIylBR5WZX0rZhaQTnhBv/pNkYaxsAy nc2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dCK4+CAft4YD+4vtWrpNNJ50gAt2GZlH8Q7y4AflR0s=; b=fGaeWqmrTLrqisYnOFycsZYcxN536vK4xkhGPT+hjFxkLLBIs3+doCpocArCo/dBb4 dcW+8n5Cau6h0iB9iT6IAwBuRq9yE1PZGHkP6uWp/pS4kdYLf23vEdwj11DKZ4Eai300 b6GL/56SJVYL+HE9J34t1RRkmbbL9T1ktAW8YJQKZypWnNKVvTzZ/RmfEOEmNFhEm6d6 2E0r7TT2wUr394qRLAVGq7XuUEhm9cOU3tjMLrrjpvVu3P1GA5c7DFPkHC3lXP1SUJLj 8n4Y/hM9yBAUUFpIss3zBaHFjmqiTRyjM3+9yCPUMN74LmuDYw1Nyw1sdsiPgT7uh4Yk fjqg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=kvrcC+yV; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170906794900b0079b8cce1170si1051769ejo.950.2022.10.27.03.11.32; Thu, 27 Oct 2022 03:12:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=kvrcC+yV; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235166AbiJ0KKu (ORCPT + 99 others); Thu, 27 Oct 2022 06:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbiJ0KKn (ORCPT ); Thu, 27 Oct 2022 06:10:43 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2045.outbound.protection.outlook.com [40.107.105.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD6B4B9B2; Thu, 27 Oct 2022 03:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZwfQAH7FIF+7lgZQqjsAr66TKZFdgCi3Xb0Wg9vT81c+WqHROThE3XznYfVI6keh/5wB+psO/L97s5+ykYLk09k7OXXTEVPmUVHpffWnkaLddLhXbStHvKkMTbYOhqI85jS68NCo83dXNegoA7p5bK5iOkQ7Vkr+cvbBe/FMgLDkfY25yM9ZMVMMnTA0u7KC5OSKtj3goBDClN2VWdd54nixDbpPVpy4goZBwkpnh9zGr6VypJTpkny4Uj7fDAeyoMSXJsEDU4nyoGkb8c98pT+xNSJ1lb9q9Iq6iHZMXxmobrODWfAmgYUnV8oATzrOhNal1KB1Jjew75qUmVAzw== 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=dCK4+CAft4YD+4vtWrpNNJ50gAt2GZlH8Q7y4AflR0s=; b=ezOil3aGbxmGh7DFwnDEV4W2PeB5LWoSAyk78BS9paZZLUOZ/6rX8mJcmosxOsqd1anJyHhyz3Wo77aZoECff6jxjRtfXr8rne58F0wem2Wi8S8f/qLcAAq4bXDXSllPWEv0nq0Ke2pqQLAroE/q1NkhY1AXtxa6K8aV4uIxyrZ1PHFXEKvr53hMySU1aMNRxsP+bGWauhzgGUeAljQL16FysQvAzlhtoCCcfOqNo1QhUbc4KyCTSejT8MMHBOfLHzb0J+XxDjsO8ahibxtNFUNpXUCSix3ZuKkcTUyblC0xshzT816vz7wbmDyY9EoUI1thWljoCJqyFB2jl3WPDg== 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=dCK4+CAft4YD+4vtWrpNNJ50gAt2GZlH8Q7y4AflR0s=; b=kvrcC+yVayN2pWRpgzT4ywpDVkCn7yWR5PwvOvqbxjRFAFWhh0oovGvj8Nrva1NaygnhmBbH89GYpnODvvy79rq78VLtgJzf5poStFI0AFeqxnPIvrR1jZRlPsqFkXaBea+OjSo6SVaq9aFIc3WHZCuaK1w2CLOpuVv/TfSn7T8= 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 AM7PR04MB6871.eurprd04.prod.outlook.com (2603:10a6:20b:109::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Thu, 27 Oct 2022 10:10:38 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:10:38 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Peng Fan , Dan Carpenter Subject: [PATCH 1/6] clk: imx93: unmap anatop base in error handling path Date: Thu, 27 Oct 2022 18:11:54 +0800 Message-Id: <20221027101159.942843-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM7PR04MB6871:EE_ X-MS-Office365-Filtering-Correlation-Id: 58e0ce20-6616-4c79-cde2-08dab8037ea6 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NoFaazaFWN9AXmuwt/wSVN4lFlGkuFwF5iIk1BLgr67LrjeNHh6Qbjq4nhX3dsl0wHeJQQUuaLVhzawyzgeUlSd7q1vgVkbVXWDkiz2H4yFNyayJtzEoBBwxjTSY41Kedp+6GHeN2lID1sSuBnVJnbGOoi3U5QRjzmTPNI/pDkvbVnH/qKB3fz/hAnvrYPzKfdNvj/UkIK9GN1W3hm3+dlYL0UslavFWJZzBwR75laiDkAd8AV4i46/DSZktO+bntD8cBYc48K8OYBFnmn9z7XTBaujU7Ojmbz+sICvTUTrpbFxOHUcUr3ilB/8TWZWjdK2N/SuWYDU2nBs+CrUpMBAIX71K9clfFf2SbEMh7Jy/SkzyDSVBqrPCyUAvXxqW2BIy7ELRQ9Cdp2LKyEfKFj1llr4BiS99HdgN/FOekwfasRY2BdD+sLrfH/WRQi2NShZC+2k+7eHYn28N5VaBotwt66OY8KlSdFx42XAYOF19Gu3/7lZiQ6dH+2+mJrXQ6yN00WAQ18FSLBB5TkE26/ZFmNBHZOu4WpHaAlhMXp9YM61uRdSzNZJ5wXm5+OEHaqU6DsvVbfT7RxJWJYCbKsU6Ju0sIqq65vjWnn5J1qnYln6sWJt7dWrrq1a1c3tuUEtNwCD5GY4JYrKsfNRsKvj9CDevPQELdFuAhmpxoEkV/lHpOAkRZnEZ66Yn7aFwl9KGji8Bjuzio6/ZVIH2zzllrcLvI406SzbjtGEpxLJs4gX9y6x8vU7ETepAb5CRdfH5hCL15Te7UTrZzflldzqnMieoyUng1Vn7rDkkxAE= 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:(13230022)(4636009)(366004)(396003)(39860400002)(346002)(376002)(136003)(451199015)(316002)(54906003)(83380400001)(38350700002)(8936002)(41300700001)(921005)(7416002)(86362001)(5660300002)(2906002)(4326008)(8676002)(66476007)(66556008)(66946007)(38100700002)(6506007)(6486002)(52116002)(478600001)(6666004)(186003)(1076003)(2616005)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oS4KTllouKrZ+8HmZoFP4FM00IHOhb4QA2+SyZoeJ1fWf0BOh7WosQvtRPi1jjJW7pbeuvEVuXq+t9kbeKCAV3uoUs4oL9qnrl5qPajcreQlTAompd2yS3O/MdF8YU8yCIkmIGtGkdIW3pczprZUwMQgaqmV9GQPR/DQnE6SJ69iE+FDOfV7zggcwCtUTv71FBAbCLVDzJyd2aAnnboXMTeSQT2ULlnayFUFL7n0OCSoKpkxQ9+IJOmUbuoueSwKsqqAcVUvkBj0uXZ4Vd1QoXh6eH6yy1mu4gEHbY2UI3Qz0fZ1Qqropc5x8plcVRKbR3I6or+R8Yfuip/ptlAMJWNnC5CmmOaJpKnPaRBVU68/Q1wpxmfcjozuhgsXPXbiZDjA/LvFCiQ8yUG7i6ulZ7MqruM1ADhvAc4WD+xUS++NIjzSs5el+jjX0sMX8Aia2tLxU5MPGmK6focq3fo4W9S9gojFcJPW45troqT+/x2N7uN0Dg7JIdKGD7152vhXY2oYipTds2sDOEc6xfH8TfVH35h08agfRpZeGZwL6rJGeWafys6Ci8noBVTv5qiXMUkgUb+4WJpxAcAXqgYsjn5kgNouYDLz7Keha0K7C85at4yPv2ruNpi0Lpt1ac6hZvkU6Fzeyj2qmE1hU2ymJGhz8pWoAhnh4eErDnTxdXsZMpejLDKY0113I/M0xr3nvdusMs/tnGqEfE/eDaled/gpJPpTUKLXj4lzy+eYZtDcBePSlfZgszMb/TR5W5DJzH9PFwM8/4skEaXJezTDTHb5+tb73EGXODpscz0wBlXKSknjTMRfj5W8ik/riLNSX0FDjRR+akatJ6SE4o2ufey4OAOx39Fp6BwvaMQqp3NzqBksSRIs6kuyD0IYm7hMvyMXy96hokAX5FlIHOCmudf+Dt2TMl2iusy7p3NNgkAoXr17lidPocC3fWve5O3Y2loGal2SDgBPkKADEk3/IrMxvfXT+YLMHl4xsvkjD2Gyd6Mut7/+Y9ZeF9Q+5CK1ellRQxB40b7tPg8hWqulYfpE63T9Gr30ws84XQV2xIBGbOzKGBusa91Vt8WCYb133NMFMEWEoIsUWWbMuLrE15I2APWhlIEnBSZgyzh+8FqWdIb0eeVgM4ZGy1eHuZr2ZmVcEeLhYSgUSfDLy7LgcMfJ4ueSqC3Vu4sy6iyW8OcJHx9rxk0aERO8jXdHwoQe8XCadvQaIQfFFLJVJMUQ+pO/7/4gjKbWSRuOlbMlRk34BqI6wogNeVWAcfdgsaN6WLxx9hYg9Yn5H8rDtKgQ+T5/PGUmE8pEc4Wb48Dba3ZjdIfYc2LEmsAtWqeY8JTdPrZLweqBuYJiSFoCQFIlJUCFy+sjuOAERYDVlxifSp+uT4FNoSB1/vGVgWYSsXW6W0qYqhpk4kKqcqyf9ZU4nqKFOmFRqJFLHuhKB8ExN0AoXXMWy48kHgXUFYeu/MIwhn+LVvQN6CNcVhiFwf+cpJ2foA51HcwOouBfz64mOUnFaNf7SyDl6beiOWYl2wtu5PVFs+GNQ5GWWaOUCKPSsJxPExKQZ58CWuN3IbCWpHhZffZodnqDuyJpmweJlyyh X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58e0ce20-6616-4c79-cde2-08dab8037ea6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:10:38.1569 (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: jy3yKLipYm0hrCWReIzj6qusuU0wyfsioh04eg9WQq8oLFNi9pDK1qgkUPkZG61xiXwwBjNpq2+44bnT4t4qMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6871 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835180618824484?= X-GMAIL-MSGID: =?utf-8?q?1747835180618824484?= From: Peng Fan The anatop base is not unmapped during error handling path, fix it. Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk") Reported-by: Dan Carpenter Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 99cff1fd108b..9ef3fcbdd951 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -258,7 +258,7 @@ static int imx93_clocks_probe(struct platform_device *pdev) struct device_node *np = dev->of_node; const struct imx93_clk_root *root; const struct imx93_clk_ccgr *ccgr; - void __iomem *base = NULL; + void __iomem *base, *anatop_base; int i, ret; clk_hw_data = kzalloc(struct_size(clk_hw_data, hws, @@ -285,20 +285,22 @@ static int imx93_clocks_probe(struct platform_device *pdev) "sys_pll_pfd2", 1, 2); np = of_find_compatible_node(NULL, NULL, "fsl,imx93-anatop"); - base = of_iomap(np, 0); + anatop_base = of_iomap(np, 0); of_node_put(np); - if (WARN_ON(!base)) + if (WARN_ON(!anatop_base)) return -ENOMEM; - clks[IMX93_CLK_AUDIO_PLL] = imx_clk_fracn_gppll("audio_pll", "osc_24m", base + 0x1200, + clks[IMX93_CLK_AUDIO_PLL] = imx_clk_fracn_gppll("audio_pll", "osc_24m", anatop_base + 0x1200, &imx_fracn_gppll); - clks[IMX93_CLK_VIDEO_PLL] = imx_clk_fracn_gppll("video_pll", "osc_24m", base + 0x1400, + clks[IMX93_CLK_VIDEO_PLL] = imx_clk_fracn_gppll("video_pll", "osc_24m", anatop_base + 0x1400, &imx_fracn_gppll); np = dev->of_node; base = devm_platform_ioremap_resource(pdev, 0); - if (WARN_ON(IS_ERR(base))) + if (WARN_ON(IS_ERR(base))) { + iounmap(anatop_base); return PTR_ERR(base); + } for (i = 0; i < ARRAY_SIZE(root_array); i++) { root = &root_array[i]; @@ -327,6 +329,7 @@ static int imx93_clocks_probe(struct platform_device *pdev) unregister_hws: imx_unregister_hw_clocks(clks, IMX93_CLK_END); + iounmap(anatop_base); return ret; } From patchwork Thu Oct 27 10:11:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11714 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp141952wru; Thu, 27 Oct 2022 03:11:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6GV8SRExHEnE/N+rRkepwrZqyQDT2pjlGOkBBVDeqEGm4NMuUq56wejB4iKxWEnqNaQZPU X-Received: by 2002:a50:871a:0:b0:461:52a9:1da6 with SMTP id i26-20020a50871a000000b0046152a91da6mr28970449edb.94.1666865503807; Thu, 27 Oct 2022 03:11:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865503; cv=pass; d=google.com; s=arc-20160816; b=d7DVEJgJ9fbp+M/UC7/nkTIBJWJnda3iibPM6rEWOb/qyUW2Avys9ZbxUKKKksOh39 EQWJbc378TgPtqJLHOf1vU4ubXVLWkGHm+xYUKdD/M318q6QydxiuKRVPQlPFRccIH9k evtLa6y4uu9WhFzemyHJLQeTFdlyJHw9U7LJNm/2rqbcg3aD3c/wqikADYLkBLTgZApo j5WG0ACwVUBK/Cz8WUokqo1G7Z8C5SVkkq9Kp+UMj+MSN4tjJpXpNhL+owJB9h9+iX7A dZ8n00EDCsBAsHcvMrq68tf1vZpeW8ynRoYNC/twlqtHttccgP15LxaMRyxFjwnu5H3u BfqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LPeYFNzYxfzSKhDdsuPnk4X+UkX6e60sELc8CFOss3g=; b=a/6M14tPPmjnaUvpcp6g/2TstpWnwaKDT1s28Fo5NNhY5Bf1k5H6aEAERiZopY75zy IFZe3H20ZKpv5rGak1JEwXNv/PZr29Pk2xMb4rONA9doHCtdI+A3riWZde9K0liQ8ckS 3AY16PnIOBQwSvRIHzno1aAjpp2r/EVEF7qFQtydPAf0Dh4rzNtcP+kr1KRSuQlLRM3q MgmjU28To95fOO0++gtpqFDyOFGB0lfZH+dpeT5WZc8jVoVlLpyqpRwEYjJwI/QtFjyP lmxSHam+B3J0Ww8SVP6yr1YEGQX1wGXsXXTm6NXe3PwyPQhN9OwjQGDW2zUQ/YW/EVSr YwEw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=auVQrA0p; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js6-20020a17090797c600b0078d99e20b68si1121937ejc.715.2022.10.27.03.11.19; Thu, 27 Oct 2022 03:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=auVQrA0p; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235222AbiJ0KKz (ORCPT + 99 others); Thu, 27 Oct 2022 06:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235141AbiJ0KKr (ORCPT ); Thu, 27 Oct 2022 06:10:47 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140040.outbound.protection.outlook.com [40.107.14.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1846D5B788; Thu, 27 Oct 2022 03:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kAOaIVFMWToGAqMmhyCbfvgqIYK+fhhnkkL8LG7//wMaqfux+HHBKvyeLl5dmAYuGnVRtX8PbayNo4pnHhlJoMUGSO9+7Q2quGZyS2Fw7OpEsy0+Qlf1N7zPH6X8NEhJ/oLJ+lVUb+tI7jrYxVpb7IZT6FsgV0orb1R3YwGPmdrP1kj+jFsIQyJjn9v/4Km15j8zeezc0XC/+qEgG4WxrfG5Wof5QEK7MdZ0djK3oXezG48wof7PtQ3x9SYkF2EmX2MDqfBmJHoKBqsrW/bfdcY/49MGYFq5UWLVSQqZoZ8EbsmRIPIyO5Rynh5kQPCq8CoI2JmJdGUFibuCJFiw5g== 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=LPeYFNzYxfzSKhDdsuPnk4X+UkX6e60sELc8CFOss3g=; b=M/yruUOpbQTOdFw4mF/FlWWnYssyDa5f/QKWgQn77gF1Y2rrWv45ZFby5HM9SqdOZ6z0DDlNDq0WCbPuaG3juqwaenObxsxUbD7fS1K7gcVmnhSdOqcPyaPrZRuqRATvflOp+EUwiVv5h457fVkofKKc6k+BoxsTixgULCMoGDcUenoITRfvpWzrS0J+Ec+efkjMbR8cUorPfN/Zn7zJOfbsP8aqYwSQc05El/OJCpuBpLffoGAKJD9gO8deTDV8aTq7ZLc56A2cSsmYpJ84FPB9lLYd41RwX7G6tUbNONXz4Ejkk5v7a8UAD/3Yon23mWcClj56t2ydcELHLtXW9w== 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=LPeYFNzYxfzSKhDdsuPnk4X+UkX6e60sELc8CFOss3g=; b=auVQrA0pZ7lmf0V4JvfXIHlPCTK62ihuii2chgCqcmZUIHF7jEIXY4aHao+IicZwK9U/fB2paKEbs0f8RADgkJIIdWdD1diAPqxip6ZodFe3qLTfZX0znoN8Isy75PxXJ3d9LkAJU8/rx+wCq3bJXKRdUx+BQkZFTXOBYr47Xq0= 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 AM7PR04MB6871.eurprd04.prod.outlook.com (2603:10a6:20b:109::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Thu, 27 Oct 2022 10:10:43 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:10:43 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Peng Fan , Ye Li Subject: [PATCH 2/6] clk: imx93: correct enet clock Date: Thu, 27 Oct 2022 18:11:55 +0800 Message-Id: <20221027101159.942843-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM7PR04MB6871:EE_ X-MS-Office365-Filtering-Correlation-Id: cd59c212-792d-4339-ad59-08dab80381da X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Og5bg06Vhc/N4auFsIDYtTS/nsq2IMTe0Y13+aSN8FMe3nrAzWy9B8+is9k3XvgpeZ6pVhoAX1b9EZQCpSZbNaRgq1LaATDcUBU4Z6RR/mXwqkeIku+/J3USNKEVen+UVsA4O0YPmRcPXIOFXrf1BROIC9I+PG381Ntfl1Vv/yfrk0oV/47qq8aKFBTaif/BCeSdq2RRFswuIPkR9WqDRvmLrCwtlcWW/OemriwQPlc9z+F22UBIW8DjjQ36wRiGNDfLr4C8JC7J+DVYDx7NT8Rso7ST9jtwRQZE8BP9WjZfiRcqHwmHzEqoddLRC1qRPaH95V4gyVHD2lpXMU9jPfvL1ftADWyDMq1156+Zvuie/OnvOJOzUK9Xp958GnYEClNcjtgDVnRt3l1jacjp/jrDgiK/DwCMQ3Nell1ujwwdO5uDjq6oz5mcv2yrwPtjj1j0tcTtSZS/e2+mdX1hb0NRFL+OXF3gkXaAPG+Dq9+Kw1cUSKvOr3jL5KcbEsL0l2Qj+9ZQGofROPgeMFoJCadiQEPWlg1Jek6gN2FTfNp0Y4RT2tFMnGZCiIiPYUPHoDKU7Fh+vLL+kinIHqGlPnj7EawfZAM1AB2zWsMRPUzhcrBXUkPCehnLttlZk41WM3H1TGKvuEWNGIgeGs0OrzqTNNyxd82NwpXo7iUBFSQspyNHvwmD7FWgXw6Sl6lrh7uSKUfnXS70bRlqxNCA60efzXJb49yHryJQOtqgvVWiWC0lp9iI5He2u8h27lO7rH6nyiBPbZOkAjHlZk6qPCaLeB39KxPkb/mXV97gdjU= 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:(13230022)(4636009)(366004)(396003)(39860400002)(346002)(376002)(136003)(451199015)(316002)(54906003)(83380400001)(38350700002)(8936002)(41300700001)(921005)(7416002)(86362001)(5660300002)(2906002)(4326008)(8676002)(66476007)(66556008)(66946007)(38100700002)(6506007)(6486002)(52116002)(478600001)(6666004)(186003)(1076003)(2616005)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7OFH3MgGZ7zZKOeaEUC4SNYypD5378hfOCSpnKxeC/AYh4cGuqpsPw/Ux+e7pbQvRguWDsEA5G0e7hD2ftRZmz9E0AIt90jMHmOvprKXPBq+h+n7drcfG3JJSbz4A8mhzD7z0eUYg30oUhLOKV9bZGkIdBQMo91jQC9nXpPsJ+OrmL4I+/Fsx7FLCfBXScGTfxB5B+w0pzQXMMglsc+fCxtoiU7McUvrAZNjGsxFZh4mX8hHi9ONiVsmouhDEDNbGU6tg5XRkoKZhlaEsTGHGgjcS9BS3vljLqqs/oxYkN7E+GNdOFQCpA2gXlw18oU99i2b6GcmXQtX43LbJf50YJYHOmRUvCs4wTJ7AOx+n62rp5ptMBemjCBPA9HtvB3iDU3mcpeB5MTV23N1a4uP3P7CyYxNJ4med4ndiVKXAje9UYXAgs3d0lCrQdlM9gg4zQn+DUkKvgogoavlmdArcEXNSq4e+fShjwpF6V7sXrS0Z4Q9l73LUelPNhR5eCTHGgpoMEh+36Gwt1+DcukMZsCerNOzePVM5Q7kh5EdUk0QZauqmuQ1XGyganUaEX5oDSSCJweAh98wrLajOxfEIyfX+ikyVvBoCv8z3L7Gv1XlJhbzLqfVjB2bP9xWQ+oJMmeQ4lSboB1W1XPGY3jfW5vFmYyfllsL9cutNTMYGXzMg7o8bmvaTsuhTjKtWT1jYStxxd1h4vYJW0eRBkwwIHX9c2no45mqEmFB8Ixj4/tGWpStJwvMG4+mJbPln4qjHRFqZ8fDDQNvSHahQolH/jqYbZ3vJKlSHeC4argkSVxKKb4ftGOaGaKPOCdaMWt0KvplxB/5dED8Gvctx1BxxGMvdLpfYTL0bkr+cHkhTC+/RWaZnrfZTd46wO9TGk28ZruyPvv+DuiBIGdxibYfzF1ncZkHuAsbQAbSv9VBXHEOnRV/2SNVMZ4JlYGfhgj7jR30lmdclNxoHV5Daskm6JneniU8S6WGjIBFiCq1tmiw7EGshsfQZnGCWr/xBDAGRW6Ef6qTULx40nbBbADZlajPhXDg3QoGoTjD+6BpDbZLPhvYF3QrgvBUS6Jd+STPq7A62SqKYcUMr0/CtnfssLormREfTCxodI+xIXVWgDj2x0pcpZ1vWz374iSZ1hHll9Dzh2ZZzq3jvLt3g3u9QA4gbCvf73e7xJUbngIfhCt2c6Exwwgt0YwvyHaEeArFwoLkZEndMPQV5dVhB3doUub3h99WH5WxD5tM+HHSUmU5cOot3WATlrjoT4EddloZ8tFiUyJAihE4tuSENUCh0TYf8dP/sfrvKGKX8Yc72ryqyXUo9uugvx2XBDPfMJpbRdkONfAi6MBiJjI0Tef916RODMvhy9fpq9Z1EKITj9BiYZFub0UPGZvTvuWHqzHsFD6edZAgNRyK8MgbtzgQROKTmytVLCIwpBVkagfc90cjsaXefFHpg2XG3s5HzX4lWOsVwkRKzaiSID6DIiDuEYkTGWMNniQcRMh+GltorizJRpry3HThEokdWTAsaqPd5R6hzh7hnOjTaC1bOe+9G3uYLLe/zk8/8uMVmNo+zeVGPaeu36/c3HshT0PHVdXJ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd59c212-792d-4339-ad59-08dab80381da X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:10:43.2631 (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: vclOOqTANFZCmYj5YE3gUXcnT8HRfmbkgn9nfhrTxbaIBbpEp9av8n3B1Uja2uqFC5RHeFkSVvM+2yyMnjY0aQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6871 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835162588200143?= X-GMAIL-MSGID: =?utf-8?q?1747835162588200143?= From: Peng Fan Per update Reference Mannual, correct the enet clock parent to wakeup_axi_root. Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk") Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 9ef3fcbdd951..7fdc30062a46 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -240,7 +240,7 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_AUD_XCVR_GATE, "aud_xcvr", "audio_xcvr_root", 0x9b80, }, { IMX93_CLK_SPDIF_GATE, "spdif", "spdif_root", 0x9c00, }, { IMX93_CLK_HSIO_32K_GATE, "hsio_32k", "osc_32k", 0x9dc0, }, - { IMX93_CLK_ENET1_GATE, "enet1", "enet_root", 0x9e00, }, + { IMX93_CLK_ENET1_GATE, "enet1", "wakeup_axi_root", 0x9e00, }, { IMX93_CLK_ENET_QOS_GATE, "enet_qos", "wakeup_axi_root", 0x9e40, }, { IMX93_CLK_SYS_CNT_GATE, "sys_cnt", "osc_24m", 0x9e80, }, { IMX93_CLK_TSTMR1_GATE, "tstmr1", "bus_aon_root", 0x9ec0, }, From patchwork Thu Oct 27 10:11:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp142047wru; Thu, 27 Oct 2022 03:11:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6bC8/iOIISYlzeFA6HTfg9iuf2oVBD/cYWZxPtQvhv6Lu+u+S2fJWZiusGdXvwEZhiSXHt X-Received: by 2002:a17:906:8a47:b0:7a3:86dd:d33b with SMTP id gx7-20020a1709068a4700b007a386ddd33bmr22552901ejc.67.1666865518412; Thu, 27 Oct 2022 03:11:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865518; cv=pass; d=google.com; s=arc-20160816; b=OMmcFxX+Si4ELJ5/kVvCA+W7+4AuqBNY0orhrlVUBkXYdHTEkgabuJX0pEJ/DS68P+ FpLmbTl069dtiR9VBiJ6o6EMBMJMpbFYgTprmZyGlp0NwEj/N9qH814UhpmsalByiXeB YtDXVgt1Xh2uvaRtToBtlD2rfvQxWQGN/EuM670V0bzlf3HPimLmHu+FFbdc9Tdqq9KP uT4DhjOGaF9aXDUfZW6wbjva58rDOYmLtyrukxvGpQkSJ76NvZaB0XkxX13RNK/Y7lYD IdwsVnpMbchv7jKNjE0RoyveFngeTyBE2NX628AxwvzwFE+vtYCzWitO5u9MA9asl2eD 4xdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=E+mx0kAtvjjSUhuPw5XHfBGS5hP6FVbE4Nm6S/QxU20=; b=CbDx5CuZu37b3YEHGn5tkhL3FzLtxwCU1vExZ6Q5e/4BgQ/cDxf4qHZL9mZlTUhqz8 l99ahaLSJ4Xsx+WyPbvAEGyCi3plhvkU9FMxQws7+xEwOVrF8YLILlsMsVghaRmGfjt6 g78+lA2WaBTrfQWcFrk8TZcMr0nbSrSg4Mr9dBTb9G/sU4iD4VX8LS12i+hmBuGxYQlC R7LJajZ3yjvK4P8Vlepobs6cpZPp5SKYhbgp5zt1KSY7OlfLmqp4oj39qtTrfxr9JyLG jlHsX1+CPhXZOvVXAws5363mqIReJpLX3HNWlUZygn1g7yYmM27VXvWdfnEjE+JGGoyT w5tg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=cBgMNzHh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a50d742000000b004602a1b7da9si1083710edj.133.2022.10.27.03.11.31; Thu, 27 Oct 2022 03:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=cBgMNzHh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235300AbiJ0KLK (ORCPT + 99 others); Thu, 27 Oct 2022 06:11:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235170AbiJ0KLA (ORCPT ); Thu, 27 Oct 2022 06:11:00 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2059.outbound.protection.outlook.com [40.107.104.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6992951FA; Thu, 27 Oct 2022 03:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VOenv7W04nJB/qvkrZsSJknsI+mvIPLaGetHP+WjmHQykQ4UqmbXb9RUwF2de8NvTCzqBFJe/3mMSjTDzVP81s9Yx9FnZzUYJizAcUL7xQjm48TMOg1kXVtxsvqxBMf0KqXwI6z5Id0VSjwCVb9nNd3YMdqT/fU9LA7K0dSwQPPRS5FGWMgraWZL6Z6ZF4BBVndUJPaF3RYLLqcvpEeDvN+v+7tm/RwXoywob0O4z+EPQLh2MSdBzA/Ui95JOsKHVnVbz9IuQg6OUVc9TikyzxwjZXyNVK0jJOTFYlIE26gBcmFS6j2U5+nfK2vDj2ZoNkXbZfK8feywADOn7CqPtw== 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=E+mx0kAtvjjSUhuPw5XHfBGS5hP6FVbE4Nm6S/QxU20=; b=EsB2E6muVce82PNP8HjJ7ryaVi49HUcFIXH+0BBSUh4S+R4tUc/6TYACrNjWsCF6bCBF++P4dMf57Y5H7XQdlkxzez1vasETxmFcBRq4qiculgkHFYJd1/5nt6VblusCbtAMmhtt6PdKSuyCjpIEPGg2Bpnyg94V89wsNyFlkKQMws3M+gd948a8Q7WHmd44wJyTxmJ1D7Qs4gI0IiX5guuywG9H9zYbhewu2kmBpuSfILE1BTaYVKu/GArMD1u8pDnpRp17ngQzRkNrnbzMz64xhjQJ73dYw5kXfGVOS3lm/EAeZ5Tp4fY4zYs+XPmUzUCoZeHVIgH8b2syUCKf2A== 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=E+mx0kAtvjjSUhuPw5XHfBGS5hP6FVbE4Nm6S/QxU20=; b=cBgMNzHh9ROiNL/tjE7Y6hop4A7ncmF/Lrk/QSZQQFzh3Wi/8u0BJT4q285vJf/NmZYlr93Nq4tFMzFSgjP/7PD2VdF9hiqYKYxJE8aqL9/azKUJoxz/R6iO0TWS191mCPTqLRx7UtPIoqat+yn2DMwe5W8lHYXXKljvoqpfr48= 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 DB8PR04MB6875.eurprd04.prod.outlook.com (2603:10a6:10:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 10:10:48 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:10:48 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Peng Fan , Jacky Bai Subject: [PATCH 3/6] dt-bindings: clock: imx93: drop TPM1/3 LPIT1/2 entry Date: Thu, 27 Oct 2022 18:11:56 +0800 Message-Id: <20221027101159.942843-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DB8PR04MB6875:EE_ X-MS-Office365-Filtering-Correlation-Id: ca36d366-cbe8-49e4-b4f3-08dab80384e6 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NwSHOOVTgVMJ/UEr0rowkW2mZWBkrboIKV6EE65SY5KU6asql4qbBXZoLDw7YH844R5075jLzswpSaUUFfto8JjeJACDPDMDTBKtSPUKhU8ZLWkwCxPvKOIicGysDLKM8Wury8Ci/F64JdTQUTrkWyRRaRnbivhzAMQPLCSCx0QVlAaykkflJ15GIRiKQTSy8we8K/CDVQ0SDFuiVxapptSrFXkV/C+t5rTzXqMdPW8OGsliHSaqyewfZTBYSi9g+9vdG8E6lWof4OTPzIqV07npuDQoqHNea9KvyFZbauuQZtWsEtro0RSphNp05nGEhDTaAYuIRGaXfSAkU711FJh6z4U9E48zRaXFRZRTeRovKfr/j2YsqpvfI1c1JzYfyhXB+zv1dqpZDHOhJZFA/rN24sqobKrAkytTH5kT65YaB8vLPxcH3J4LX0rRmBzcfP6Juj/vAuW27SdmdREttHhgAu2omOYZI0zA623C/OpSA6ZhIO3C9JnkOZAd5i4hq3Jrns7Ql9kz+onAAdTRGaoegArZtGOlG83KrAm5EB+Xz8W2ybDy+jRZLRf4p5xlL93V3hNQwKLV5F/xwboHQptwnNIl2Pw29K5U2K/dfBhGU1ZSfjyG6PyjGZ/LNUhNC4oL/IkAYQRlzU295p1e1U1OrVIW1xWlbmZAnG/id4ZRN4ZcbzPWYufHAComPOKndqQ7TM26Xh2u40tylppIcU77+d9GGmjUfr9jC6mFqmutPE6HHYoLucxbgqvc3Q6Mv/26UlMHcOoLn/nu16Yb/CI5TNfB+i21IWdsENdNBXk= 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:(13230022)(4636009)(396003)(39860400002)(376002)(346002)(136003)(366004)(451199015)(66946007)(186003)(2616005)(6666004)(921005)(83380400001)(38100700002)(38350700002)(2906002)(7416002)(41300700001)(1076003)(52116002)(4744005)(86362001)(5660300002)(8936002)(478600001)(26005)(6486002)(6512007)(4326008)(66556008)(66476007)(6506007)(54906003)(8676002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YN9nHolBwPfKykqEKMWyAxeN0m6FTIHqYl4HtLZaHaBBYfMdAaC3U3ltiXdnw4psM9+nGx7H9fU8qd34A+HHaTjOoJ9gE+47RiK8wLZByTHKP498cyWHrHh8+YJ7Q1prv7KAxsYmEejUXV4JroGGE2WXPnJdgsXBiSWz6aD2b729bkI7lNGoiwfNb4XEVMrCgwfLiLZHh834dU9z/vgoRA+A6uEYhZaZGJwp1XM6NmMLbpbZN9o15hSMZSmCqmh6u2Mmr1wbetwQvEDe1s4ZkBlDkZ0k/XrYqi6QEy+MOsHieFsgcc5y0faCGHIIxNuvEnTVeKYkY41hWUfU1sQHvUXYq5+/E1mJwDNxNpm/Bi8buMl+FTmP9v3NrcIcf17ux0WQRTV4VPQUOnap9wOG5PlcjK6aSh9YDoyR3zGDrDQXc6Eg6Jq0kHT2Pi5N46wA6ih4EPnOxTK9qDeUCpQUjE/evnrcQmei3Q5Sr72wggwn9OLnc0tx0y98lSW03jlaM+OtaCHKW21SXClN8+mxGDzcyBd9E+61B0XRp7rkqFX6ie0EfU/o9Fgmq7eXXLHfzhzsRv6xk1y5bULcEq4g9pW1QkKI59z6y+ig6kOuTD1Zf2lnDj3x08DD2rLZhzhevtnZznuc/rDS9BW/5lo2+aOgkboquwirmY8IWbEcll/sUrY3pU8+3ae2EcQ3TflGvs+YnrzX0sj6R6Li96XqCj/1L3omR/WWiD8eYUcRSOu9fj4ZqVymqWWPGYtMJMUHn+bSh53VYSlQv9GnTk2vaqHesaeMw+/0jO6RGB63kPT1c0D7RaONxPEq96AVLcg3c2ejdyxcbNZIkoswK7v7G1TJHJ4r2Qqpp5wuRgaAQOkiakc9jb37h6K/TNw211T1oNYSWW6RD0uUosQu1Om19Ybp2AhzdvnrT/yyjT+ZzTEGk4JboiE8EKFcCCgZ9CyfvGxHJJfIm4rQeK0n20scSDyXXak5Wdvui4PoqcsU6yf8+rlM996CztrzuTKmA0EETz6dnTRgWNIt4x5fTGsA2nC8B4BEEAYhtnompVWTwEWFk7UgCxxmw088kKTKP5Xf3YU7cgqi4PciiFOlCvqh2+zsUjnvclXe1KjE0pz8ZzHnlAiRGwKry5cK8nFJezBi0yPJySR4WXTT1gpMIlfVyPicwQIYgE/QPGhXXk5P2h8F4ol7LAHnZU7RjPIc7n7oqZJuCVvR8D6GgaauXJ4/ozunAhHTm1N1ErvjC6isgT2UqO4pbgPMR8kZoFis1sILVtkmRflTubU4c1dHfOJAesg76bufNdqBbIeikABD0hXF39GrDQn7XW6wansYNUA2ObTRDWhc4V5AFikZVzphk4ngLiAfNhYsS3fc6HLqT2gpLh4ZY95BHW7VLzMN/bybDn10q1ZnfaIl2KrJ1Rbi70yBqeg3bU99ju0cpGre6a2IdlR8d3SOD5+ZRn/IyXC1BiMBBaPzYpw/Op3kwUIIlQuqMKYHoj5QH77+9QG7X10JcgUA2jC1T7eCHLZmRFRFEr+R/fc1Ck1ZavcICauYsRuyW2fjeSqTdMQZG6uEVtTwAhm4Egu8mdXc+26wZgRs X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca36d366-cbe8-49e4-b4f3-08dab80384e6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:10:48.4220 (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: 0HU9r0LUlq/M92NEowTaYzcGCIxHK0bI9PHESf0Y19NtQe6bNI+r/urSPZoSP0KeFPHgsQYVReFCWJHaYEnbcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6875 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835177608158133?= X-GMAIL-MSGID: =?utf-8?q?1747835177608158133?= From: Peng Fan Per updated Reference Mannual, the TPM[1,3] LPIT[1,2] root clock entries are reserved. So drop them. Reviewed-by: Jacky Bai Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx93-clock.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index 19bc32788d81..8e02859d8ce2 100644 --- a/include/dt-bindings/clock/imx93-clock.h +++ b/include/dt-bindings/clock/imx93-clock.h @@ -28,13 +28,9 @@ #define IMX93_CLK_M33_SYSTICK 19 #define IMX93_CLK_FLEXIO1 20 #define IMX93_CLK_FLEXIO2 21 -#define IMX93_CLK_LPIT1 22 -#define IMX93_CLK_LPIT2 23 #define IMX93_CLK_LPTMR1 24 #define IMX93_CLK_LPTMR2 25 -#define IMX93_CLK_TPM1 26 #define IMX93_CLK_TPM2 27 -#define IMX93_CLK_TPM3 28 #define IMX93_CLK_TPM4 29 #define IMX93_CLK_TPM5 30 #define IMX93_CLK_TPM6 31 From patchwork Thu Oct 27 10:11:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp142151wru; Thu, 27 Oct 2022 03:12:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6L9SqhXbU6nwDBO61Ydwcoo0h715dET62rcC755TOKK4ta/52y7ikxirtvSWCj/nUpuiEh X-Received: by 2002:a17:907:a053:b0:7ad:4a55:4ce0 with SMTP id gz19-20020a170907a05300b007ad4a554ce0mr7852455ejc.541.1666865531388; Thu, 27 Oct 2022 03:12:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865531; cv=pass; d=google.com; s=arc-20160816; b=J+VcuZ1Yef/E2rBNwn3/N1cA67WmZ6rbbMZKOcdbi0fEIidSn6FNm45Ci/RKP4ErYX v/ym7fM4hi7Glxn9HkCNhPXu58wPeWL99zIqSTYGYwA/Z4614QSN8uHLITMTbbuEhYGD oqtWGYg5s+23lu4dKJjH00s5wXWu4LUK8R3aqB8MCpHkoxZsrJ4xKTws79scmAnZMJru RAbs5BnlTJnk6cEhp0uPvJ0JBevzpl2w+9/FSn1Zd+GAGn4+/lml2c/ljvwAWhRIphTy bSeMlysSAt0M7ycdVztuvBuOD5g2bz5XAysh/kEZXBtjHrXLa8SaDhrUTxAFgKm4aWq+ 7oUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EIE1Rdy8McrFUlqWR6tNZu974PdiQqqyFo1QeCyMELw=; b=UEzBZLz6QCXKV9whYlUENw0svx5TV0KEWhDjnpIAPHYbw/2etqMBGoFivHkVkxd3Kh DYASqe/FHbZsMXYVzv3bg+OuR+3x2G0fbwS0BZxNBJJB8xOFCB3aDUlJaawyr70XMMgi iXT/CsStuz9SVqhay+2ijN5U3cJdUu6jUiBSSGEADdFXgLQp/xGGEw6mUWBwDZnhmK6p 8wKP96+Si9F/u82PnRjcoEaa4YJPr8r8hJICeyCcYjmgNiQPabIkThZ5+eFs1ptMyYvG VXeqnbPu5jKOK1OI5Y1CoFDaVoCxJrWab2mE1wUPBRdJchjxb3aQdDCOpkLgWzYZ33CF /p2A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Yg2refz3; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a0564020e0900b0044ee4ec8915si1294560edh.39.2022.10.27.03.11.46; Thu, 27 Oct 2022 03:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Yg2refz3; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235353AbiJ0KLS (ORCPT + 99 others); Thu, 27 Oct 2022 06:11:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235264AbiJ0KLI (ORCPT ); Thu, 27 Oct 2022 06:11:08 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2059.outbound.protection.outlook.com [40.107.104.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25D5EA2862; Thu, 27 Oct 2022 03:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XZTDyEiAerEdEIGiysg6MeF3tHCB8P23hRG/FjoPmsYGnfjrIoNzg6vYP2y5f9BnCB+59z8lMS2dQH4CT0WX6Huxl/e7T8QyTE1vtQTE5/p5vqMg8R/Sau475NVo1ywvpCRac711a5BqA5nsTNhS6V5r/annPn9/7h2Zi1dSNJdZYqf7eRwd6iMAbc11UR5HJp5AFscEP8QWoOHVut2MbC+9EIMXUaK/cjBVrVGAe2BM7rlgGcs0drnjJcZWtJ0L44zc2tAoexHVaEKzkHKXqW0fXF8kl0qHYZ9kIulvrCWUyo2guMQiYnnYA9g75w0OWnn78ZxV5erWjHEbbeuxHw== 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=EIE1Rdy8McrFUlqWR6tNZu974PdiQqqyFo1QeCyMELw=; b=kGaiosoJuICeUVl9MjYLmWK3t9w45tDyhMwpA1LdOW/HMUMfFL5aiSeY4qgON650LUY2zXlwYF1nWEFkn3zjzj7CKpqYcutpqKXnDUUGQnKqT0iuCdDvGSjMJ0NwN6lqca8t6X90vBz7jRZ299K9YyrI/tMji74T/5f+eAqdZsjWREcWwMCvmugI9CylqU6umi5h7M4EIrzBUEehq7pCFO6A3XRuyeTQwm9w87sk68X8QKtNYaGta79RpwxyDIE8tHkpUzlPaMCN5j204myqRY3+Miu54mzUa97U/EyQEejz1w/UDe9BJ6kkM9WcR5YDrG4QAYgFDiesYO9Zj3cvhg== 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=EIE1Rdy8McrFUlqWR6tNZu974PdiQqqyFo1QeCyMELw=; b=Yg2refz3p+ZILRRhZ0IbCTvnnnGbS0BIiBZh4AG/TAJLq2r/DkIT3lCPl3NbY0Zj++lk2drEb/0cxl+r86xRKgkvE5d0QTAzAceqIyb4U2fU3+R6DCPOSDJol5llxqwCIkt1dqa5GHVvQFWBXzqv8LH6zyKYxxJ4xnqA3wNSTc8= 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 DB8PR04MB6875.eurprd04.prod.outlook.com (2603:10a6:10:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 10:10:53 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:10:53 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Peng Fan , Jacky Bai Subject: [PATCH 4/6] clk: imx93: drop tpm1/3, lpit1/2 clk Date: Thu, 27 Oct 2022 18:11:57 +0800 Message-Id: <20221027101159.942843-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DB8PR04MB6875:EE_ X-MS-Office365-Filtering-Correlation-Id: f5a9cca0-1709-4e06-bda7-08dab8038828 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O63r03NnTsxuUoBMyLoasR0YAexviunE8MlgUL2CvUYjqk+YHm2x9rl2SoU2avqX1ljyMDJk3GiR7rBozhB9CMvBeKj80eViJGYrk5M/uZ1xJyLelxg6K4b5wNs0havlEK4MxxcegUwb/nUzq97Zn8Th8WWLFs1Uva5plzqmLW/UtfP81cFQQ3hC3Y3Rj5Var/yzI0jatfe488AGSdd4ILOeJOR61ADXCTghz/179FTnKI2tntJOaHKuHyn9PuDJxaQQmyDSsUdmYdZI4zaSHhB43et8vYwwnXwihq+gq7gUmX5Yt4qcyAc16mKYuOlDBQoyjPUOmcU+0yaw4y7xWBPcMNXJvma5crrMXXpEWvOVrOH+xldL0YAKJcxFpd0XwpstuHH6SevqM+ptq9eCyT6mkxoztAlq4z781R/iuBBbnEl9AJmlZ4jMe0+UCgEVl8yctONNhZEaYj8lPCHPsj3vbg+1ozzYoAxqB5/gxQ6BLdnL7qieVWB1I/wl4s8mQzkWQd2Gh1T+86v3REk2MOIzDcAHdiBJTztryZj/mPm+f4AAbxk/yKI2PeD3j6R35wcRUxiRUwXjVjlTanBFltUwSXDq6zbtWgbqkYMFBJhfXbp9oiJTWsbmdHGYIV/iikwocXncAhGGumkDjbvuTw/jiKQLKvm5yINW+ywc/ibJ7KlA+jr08C7O0xiRB0H947RvcGsiOCHcfkQocSYRRCTA4rbNv9GqbplKaEltS04/VDlcnY/HrOmUP4Zj75GOqudFKq+lmAYJfcwmHOLi1EjKZbcJCFcVK5KbRxjyRnI= 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:(13230022)(4636009)(396003)(39860400002)(376002)(346002)(136003)(366004)(451199015)(66946007)(186003)(2616005)(921005)(83380400001)(38100700002)(38350700002)(2906002)(7416002)(41300700001)(1076003)(52116002)(86362001)(5660300002)(8936002)(478600001)(26005)(6486002)(6512007)(4326008)(66556008)(66476007)(6506007)(54906003)(8676002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Xxf9TfjgNMBy8cMBRggIUkuO1NdXnKRiwE5+XxfuUdsxgBpVoLxN8KBZN8MhHGR/2CFotYsSf31K4tUCz8HzkaOKOz1BC8PpJuHWQz4dpN+ap3i0MUIrGPkFW7YjhTxqrBtA4PlgiC3uXL0GcaD0+vfKqXdJBBesKKNrFMxGh7Dg1uNbZE0qpnuIjzd3lX/UI4Nt2mSH77HRPR8jnHno/oTThCXZz2xK03yHOOlM69xrqw7/Dbc0PTDwWg8SJ0Dco1bn+QeEjZB7latELBVLg5cFMaXCtIzfQo4rVZxjLprtwjwFbZSfEesUwHNaTom2gEuA7Buv8gG0OyZiaucHex4J8uHikHoWv1hukvLUY9C6amdsBhaZX4KBVl3aMcqPewhvmrglfuWfRlMgmIjktDctHi0gOWoG87EMLcR/k6g3zV8eWEECu7yud1vh6wDjvWDINfh0FOFpRy8onTWoQ7sF4w5C05ZGs4BlUxSzs0RaWpa4Oc6iI1Ep1V/1hcKqZnXY36RSZXd5zvNlIDglb/suCoMPrC8UxVVCeTEGWWL3pJ/v8StFYB91nNwBMKk8gooHf159JCD89EIde4rVKj2+swx7fdQGBTb64M8gZn/jIfo6pDRwIOTAIRpG3zi88Bjdium0cVUdsr5aBDjzMf5tmhRWRKxac26fueAFNiDPWUoQnZszoByQY7Fb1w3ZLULpp0IX/NDMgwHvjiiPvq9hesqe8pwSkX9LyljZKUP16oUvmZfcTA9lnR6zDiqEzdZ3IVR0xkpsjW+J2Z5QccPhXSF74EDtW9G0uFS7fPvE9NuapnmPNqa4FSvZzbWAtKZv5vtfOxW0o7p6480WqUveuz/+s3S4f7OJcprwqB4Gl9eh5EPQVAUsM/GQjq7N5qbeGZgibS4WbtWnCOZNFc3NPP5VAA6CgUawB3EyR6wmaB4q698uiAa8CcXPSnTyqKhWCa1KM6yUGtxywDHZswOR3I+CkCqMH5JUy63x3UJmRE1E2F6/Xp38Hg86gT71fGHEVNHTBEfnatdgk0GuYZKzWIXfoqDx/BDn9ixjSSnCAzrqM1AqmDGE9qaJx6v6gqUuA/UVt6RA3ATe9Uccagie306vhxdxyjzEceVS9plhFf5hh3oB6vXfnRn6yDpMhHberlQ28VJLW/GsSuPdlrW/w3ASmwYw+AWg4kRhmg3SAn/iENw8kErwxbG/YfkJH4PoB1MdD0m50/U3f09dLfCjb5a+aJmSzUBooQPq0QHFJiZAqyMx9E2Q4i+aUTUcxkSFdQ7UlecH0R8I0n/o2nD03S3SSo5QfC+EPDxch8hIZAbQZfJPZDt9NSckJOwC1uQGs2lUCzeUPgkmfqIG0IsscjhIqesAGOK5cckk5HCSne6Q/ulWD2Z1LStrqJ9A/07w5RfZRvFRQ5EOhevXO3MOzlkNYjmMcAUhbN2D0VB7Dgzj6X7kNq44H47J58Aixr4/LVnsd67UqGR+5JGHvH0HM9MmAzUWDuV6KQMPsi8MfgjmDyKRDn1JaR4O9lKFmOZyFknX7VnGu6LWUlBst0j5AW8xaDZmW8vXeVaIUElUMohELVXztlyt3pB1NOeM X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5a9cca0-1709-4e06-bda7-08dab8038828 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:10:53.7330 (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: DxA+v3aHJDtxc1BypY8vtS8vLOb2lJWIzDb7vDeoWDf3uDTBXNTn89UY3KHZI1FLIdTCPIGGLwjNzABUXafw1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6875 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835191304762246?= X-GMAIL-MSGID: =?utf-8?q?1747835191304762246?= From: Peng Fan Per Reference Mannual System Clocks Table, LPIT1 and TPM1 sources from bus_aon_root LPIT2 and TPM3 sources from bus_wakeup_root So update driver to reflect that. Reviewed-by: Jacky Bai Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 7fdc30062a46..422ad3c89845 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -64,13 +64,9 @@ static const struct imx93_clk_root { { IMX93_CLK_M33_SYSTICK, "m33_systick_root", 0x0480, LOW_SPEED_IO_SEL, }, { IMX93_CLK_FLEXIO1, "flexio1_root", 0x0500, LOW_SPEED_IO_SEL, }, { IMX93_CLK_FLEXIO2, "flexio2_root", 0x0580, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_LPIT1, "lpit1_root", 0x0600, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_LPIT2, "lpit2_root", 0x0680, LOW_SPEED_IO_SEL, }, { IMX93_CLK_LPTMR1, "lptmr1_root", 0x0700, LOW_SPEED_IO_SEL, }, { IMX93_CLK_LPTMR2, "lptmr2_root", 0x0780, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_TPM1, "tpm1_root", 0x0800, TPM_SEL, }, { IMX93_CLK_TPM2, "tpm2_root", 0x0880, TPM_SEL, }, - { IMX93_CLK_TPM3, "tpm3_root", 0x0900, TPM_SEL, }, { IMX93_CLK_TPM4, "tpm4_root", 0x0980, TPM_SEL, }, { IMX93_CLK_TPM5, "tpm5_root", 0x0a00, TPM_SEL, }, { IMX93_CLK_TPM6, "tpm6_root", 0x0a80, TPM_SEL, }, @@ -177,13 +173,13 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_GPIO4_GATE, "gpio4", "bus_wakeup_root", 0x8940, }, { IMX93_CLK_FLEXIO1_GATE, "flexio1", "flexio1_root", 0x8980, }, { IMX93_CLK_FLEXIO2_GATE, "flexio2", "flexio2_root", 0x89c0, }, - { IMX93_CLK_LPIT1_GATE, "lpit1", "lpit1_root", 0x8a00, }, - { IMX93_CLK_LPIT2_GATE, "lpit2", "lpit2_root", 0x8a40, }, + { IMX93_CLK_LPIT1_GATE, "lpit1", "bus_aon_root", 0x8a00, }, + { IMX93_CLK_LPIT2_GATE, "lpit2", "bus_wakeup_root", 0x8a40, }, { IMX93_CLK_LPTMR1_GATE, "lptmr1", "lptmr1_root", 0x8a80, }, { IMX93_CLK_LPTMR2_GATE, "lptmr2", "lptmr2_root", 0x8ac0, }, - { IMX93_CLK_TPM1_GATE, "tpm1", "tpm1_root", 0x8b00, }, + { IMX93_CLK_TPM1_GATE, "tpm1", "bus_aon_root", 0x8b00, }, { IMX93_CLK_TPM2_GATE, "tpm2", "tpm2_root", 0x8b40, }, - { IMX93_CLK_TPM3_GATE, "tpm3", "tpm3_root", 0x8b80, }, + { IMX93_CLK_TPM3_GATE, "tpm3", "bus_wakeup_root", 0x8b80, }, { IMX93_CLK_TPM4_GATE, "tpm4", "tpm4_root", 0x8bc0, }, { IMX93_CLK_TPM5_GATE, "tpm5", "tpm5_root", 0x8c00, }, { IMX93_CLK_TPM6_GATE, "tpm6", "tpm6_root", 0x8c40, }, From patchwork Thu Oct 27 10:11:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11719 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp142911wru; Thu, 27 Oct 2022 03:14:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7nt25QtdLjxCE6aC8e1+5UlMXS+qCdKl/J5Vcc3MjHjOfdMvfRXn0q4LFm5j0M3Ne/yAOB X-Received: by 2002:a05:6402:5507:b0:452:183f:16d1 with SMTP id fi7-20020a056402550700b00452183f16d1mr45834686edb.96.1666865665022; Thu, 27 Oct 2022 03:14:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865665; cv=pass; d=google.com; s=arc-20160816; b=vcCHc+wiOI9IgoUjSt1hskVTRWlMsPb+HJAsqmVog/f0fG/s5ZdBKB5WqonHbzrjFV K8PKjrRNuFMbhmz8zu14GT8ZsLEB4q5jihxAE+LxS9JwOOQZN+pBb+N/70F9xMxN0MyT g4GE/kk0wTsVuilR3dM4L1jjYXWCqy85dRWkfs9U31yFU4x/HCJNjUj5uk8lBcw6jZgw U4IKg1beBdwj94LMahNcJjsyGe0hL+cNvV7JHjHiP+QO9RE6MEfPB8X0TRpNPsZLIsIP z8XXH6VEUsM6ssYA/8LYCSsHfxGajgn2FhJVa032FIfY8cFBB3JEWPQzJR/ghAYpxqPD NshQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hMF2UQoM3hDYd2ZRUZ7vonl3XWx6bxAI1Q3/+YWmo8k=; b=yKKjzX7PbBC7KcIQrh9yHcwzvTzkfOoICdMQsFCaOacHebdOoX15/hl9MKz9J5DmYU fXqnWSFHHp6vxJyQujEarCj494g3pXkxzozawMpQ+UFv4R6FH2ZQ4+4Ky5f0sDyNHBBS P8mtDJWoRVEAZeSh3L3fKSYZ34WvkRwppDhalt5mMSooCGMejZnJmqQSsKKMImvEeGkF pMiFab/OM6SqLywDfmUFVBhR1K8GfapNEM81ZUf6zxfXINRCeJXz3KiOouwDlE/0XRMP DJ/+1WnD3uIXe0DoGCj1ZRARY7vC2QuoOlRyU2itL9Z23OVhDayfJGDfRmUF2OE5knvx VZ6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lAIL7tKp; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr17-20020a170906d55100b007a92b00c094si1082501ejc.421.2022.10.27.03.13.58; Thu, 27 Oct 2022 03:14:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lAIL7tKp; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235293AbiJ0KLV (ORCPT + 99 others); Thu, 27 Oct 2022 06:11:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235271AbiJ0KLI (ORCPT ); Thu, 27 Oct 2022 06:11:08 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2059.outbound.protection.outlook.com [40.107.104.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78FA8DD391; Thu, 27 Oct 2022 03:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SC2e+ibq7uzQA8EBs00+w6EkseGz7a35CwehvCrdqQRLXEevGpSoUdUPzmbkVT7AFTwpExvKIilkPv5FwBXzMpTjcaQCxaGPNl1MSnBCLrxAbpXFKFFt2OiV/o04pef0HNQ1rw77NFPFrwXnfsavFRJHYGdSswGCbDWhUU1bpiY959RXxWEHZThDXt/LIDLUJgSOvsVLBokwHX+W6vlJxvSgbLzjkOn/QhkrvpHoggX2ErmcTX5gMrrdmzjSesUr2DkLjCi1d4y5evQU0rhxwvsfYJS4hNADPMwvyLQqMq/qShT3jLVHFbDDpZJtQtlhFbHZ8L+Pw8LMneJZRF1mdA== 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=hMF2UQoM3hDYd2ZRUZ7vonl3XWx6bxAI1Q3/+YWmo8k=; b=fJOe+6YTsqNr4lLtqUSnoKJddwui1gOpZUMAevOiQNYH50xWiMo6QH3aSyAzqiVpfk7AbZo1CKIEMxAzyV3Wu7D/9fyGMQ0D63pKq4A/YBpsXQIIyGWJrgmWdCTeioWARVbL0pvyHGh+24HAmiitCn4Cd8qVYJwh728H1ENaN3Q9/YZn3EI10Z+MIvF2BvB/ArvxkCyv0iTklLKOUS2IV0G5/v4vo9C6oUdGK+ur6JTeaekXme4DShENY2MNodxB9Dz4n/l6KaBnSMxzXQwf1QvRfgMi0VnBfL0Njg5rRGRM5DWWPasJDFy2oVqVR8pbOVWPLkYoWIT6eUs73JxcLg== 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=hMF2UQoM3hDYd2ZRUZ7vonl3XWx6bxAI1Q3/+YWmo8k=; b=lAIL7tKp2xZYRc42P/kjxUwapDRvOWEbPrG8dUu/J05NCYTpHflToa2p1noKcY/ci7ROCbUhUiFwnIT0m2ZBw5p4wkoGC0qPLaIOsC+gh5a68T9GO5TILWPzJ/ZZwMQvfXjzmu3cSs6lnQ7fo1K64l0vg3nmd2UCA1WAInDupBE= 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 DB8PR04MB6875.eurprd04.prod.outlook.com (2603:10a6:10:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 10:10:58 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:10:58 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacky Bai , Peng Fan Subject: [PATCH 5/6] clk: imx: keep hsio bus clock always on Date: Thu, 27 Oct 2022 18:11:58 +0800 Message-Id: <20221027101159.942843-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DB8PR04MB6875:EE_ X-MS-Office365-Filtering-Correlation-Id: 61a97fa4-cfea-4677-f8f3-08dab8038b23 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iMgMzP57O4RsB46fVNdXXFDc2NW62pq04Vz0xKCSekUSeyrnkX5FoCOSxG1AiSEUteG8kaUG7DuNZqUwn+JinBGrauQ0WegpfMW3oAqPl+aTFyac804fvJ36u3qwUIL+tgNLYZnsyGBSdcUHPPjjkqaaaciy/biSo79kNvUEBDA8/X/bx77p/zhHQyULWGzml2svpy3JIY8Yg7yFnw1oZSDC4NY45cnMNDUcimwCCrEF6h312xjt7aY6YLP9mtTzXGhHoXIZfj1U0hE0ILBWa3Sh9q7w+1l0ZGrcLw2Mncb9XlrWwyPTK+iRRmOueSO396cNLDDyUOUT5LrOVFssiMxLmnx9XOdhIZyoSL786g7DgpRS4Xjl864ZE76hIrPekLSp5hTwNnAKfImT3ilO93ruRzpvAXfhMR6rBQUeuAJRZmP2MHqnp9CApwLF9lPu668qsKqZw3DRVOlHzed/O+xL3qBHFhvE18beLSHEslXAv02/inLfEI882oMDX9pq7MkEBov1d8tc2EFcyUWYJHJTJmU7b32+Iqhnwvc2UHittFpHaFhwddIIxj4S2vAU9pl+K6VQpPm4THustM+OWLN9u1TU0GkZr14GUpNRHnIlut6A7c88ebJjA8/kUFRG63tPiYAy+w67lCFqwcXsDIGBzQqe8Pzo6MmBPQEGELGMeD7rRgWtSH2AZQOUE/EnvpcOJ4e3s8KaWUT6XWSFXLXM/HCq+Eq5RE0NTb8U58P7u/oQtqYrqkP3Esw5NRX64bi7mVYSj9OGDYOxgn9uHfWC1GxhuSBOIiZlNgaRCJE= 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:(13230022)(4636009)(396003)(39860400002)(376002)(346002)(136003)(366004)(451199015)(66946007)(186003)(2616005)(921005)(83380400001)(38100700002)(38350700002)(2906002)(7416002)(41300700001)(1076003)(52116002)(86362001)(5660300002)(8936002)(478600001)(26005)(6486002)(6512007)(4326008)(66556008)(66476007)(6506007)(54906003)(8676002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +Uy5R8ZlCsmk5VGIyz0j/DlDKcB/FMwpFbcEbcPOTB3WTXsnZVQHh55UfTYJtmwJANUlTkhd9w3pDbPPFOjOo6XsrD2Pug/Z/aoNDkJq0sZFPkGW0FikDS5sIobzv9ngmxAH0Z0zp5ySDSKi3gohFSKj96elrh0qtitI+uiW4ziEW6Jw7nJNwLQ0Xw0DDOKwx3D19pIS1PphMTI2/8czWkiXBt/+ID8ElyIDJVHA7YutsaHQFalfcwp8ygqjaEjmzkZ+Cnh2CJsyv1LrVp+Rb2BNbI3HhFcFAY78VCEeamyT+T/8+kjxrN/WdkJSrAlojT/WVxEh0xFd2bGdmJmR/WdlIzgoYkHMMgpX/ZvY+L+qjiTEyaQLxtLm8jL9N4RjSCPdVA9392igACi9DGNv3fNL3FYfqzyzpIYML7toH/lrd0/FjTav2sO7YIzCWAgxaREHJRYcaxAziGml10fp7K4KoBQqEZYf+CKb1ZtOE9U7njVQAIBaUkIdrjs9CbdOYHfAdeoeFgggha0D3u7e5Euyi/4VDw2JWyFFx5/QPAqsoPxwa3lKPicM4icdfMV9M/8LkyMOKSry0mW/aF+13N24lWHvmaZssHQZV9TlLhpEkLaz4k/v1Rn/jMkMav0T4ZrQGNEnqbU+P4AtkXoV29Yl9nrQzUp3123+lvJSnioD5iufFaNra1rvVPPCRaiR7e4TES++DlRYs3C8y7iyqOYPHNFNd7D9ZvQ7M1RFiBdLQpmaho95NTkIFnsmC8+6UMrAjJe+96AcWW+i1qwDyHswnj3TSQkHE+nNkmVHGKtYzFkIHM8zduD/vP1iGb8iqqrhCWCo2BBAamkYyC2CDpqZtwL2WLhH7dE7/x5fIV23iWR+KIyotoADjSv0rdgm577V3WbVxxg+xol2npYtqOIsEsyjY1QAe3W2ynOu1v9gBexhNMfqu1vHZbN6XzwTbjUtR6B+F3e693GAf66xp/v8gwVSmXHP8cy5ElTkR+8JYmWr6E8Vtu2vfHBjUv2nQnHnJw/NgovzsKQyWneQn7JiaMII9tpSM7Nj76RnrPN6/Y2j4q9FWgXtdGr6pGPzyo15KiU70Q2/H/IK6mnrFnKCSMl4fEV4hIABRpQzKNpvQZ4Xqkpzqn9SbWoWIhkovVHBjc4gPTc4ZiUDYFyWgrmNSplZuMKqW+DegkDL0qSx5zfIfiw8i+aHzf/Xyh/oWFq+lNYjIMjp8wSNRjSvk4xUVSnJPpJNnnoB2etAk4vJdqZF9wr5eF3a31mJbT86cbbspNzGpgNZs9cvG4yUbOVvo+f04nlLOQiAxTG3u5v5IxS2QtgFAe63auCVr2Qiu6tvyRqcDm7D75jACZqwDhQ1Vc+Rzr0/29Xvrig7+OrxCZih0hu27s4pT3Pe3ykHoIx6AixLBWmpE8L0mVTUWDfRFLVVA8VfACsFzFzq43RBk8e6J1gtWeOzq6DX1F+KtnqBbhqtPChcJ2cTaJBQLYFilxZuPFYOLkLOyD1FrMjzI1jmlCz8MoHyVOKYaBDYE9L3dtT68/Gmn+zgpknpXq0xhiXSrNLAQYyWwlixtQEv3egn4ySjdeYTily34+Xc X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61a97fa4-cfea-4677-f8f3-08dab8038b23 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:10:58.7024 (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: LtfOUgVuBR8gMOC0puyV+VHLUejt3L6pCj5bGLvdkJDowWXZlfj1w0CVdS2PZMnk1qorgTcEbK1V7jtvi183HQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6875 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835331516892764?= X-GMAIL-MSGID: =?utf-8?q?1747835331516892764?= From: Jacky Bai During Linux System suspend/resume stress test after System Sleep enabled, system will stuck sometimes. It is because NICMIX is powered down, which HSIOMIX(always on) is not powered down. When NICMIX powering down, HSIOMIX will get a hardware handshake, without HSIO ROOT clk, the handshake will lose. Then after NICMIX power on when system resume, the access to HSIOMIX through NICMIX would be broken. So keep HSIO ROOT always on. Reviewed-by: Peng Fan Signed-off-by: Jacky Bai [Peng Fan] rewrite commit message Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 422ad3c89845..74e8d810db7f 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -109,7 +109,7 @@ static const struct imx93_clk_root { { IMX93_CLK_CCM_CKO2, "ccm_cko2_root", 0x1d00, CKO2_SEL, }, { IMX93_CLK_CCM_CKO3, "ccm_cko3_root", 0x1d80, CKO1_SEL, }, { IMX93_CLK_CCM_CKO4, "ccm_cko4_root", 0x1e00, CKO2_SEL, }, - { IMX93_CLK_HSIO, "hsio_root", 0x1e80, LOW_SPEED_IO_SEL, }, + { IMX93_CLK_HSIO, "hsio_root", 0x1e80, LOW_SPEED_IO_SEL, CLK_IS_CRITICAL}, { IMX93_CLK_HSIO_USB_TEST_60M, "hsio_usb_test_60m_root", 0x1f00, LOW_SPEED_IO_SEL, }, { IMX93_CLK_HSIO_ACSCAN_80M, "hsio_acscan_80m_root", 0x1f80, LOW_SPEED_IO_SEL, }, { IMX93_CLK_HSIO_ACSCAN_480M, "hsio_acscan_480m_root", 0x2000, MISC_SEL, }, From patchwork Thu Oct 27 10:11:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 11718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp142352wru; Thu, 27 Oct 2022 03:12:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5LDS0q5FrIPCcwnvuN9YDdZhpTbtc/rTfUZ1PZxaZmXNgkBY9/Dw2Nzjm1f9l2tmhF8Rex X-Received: by 2002:a05:6402:3789:b0:461:3ae6:8d73 with SMTP id et9-20020a056402378900b004613ae68d73mr32298746edb.229.1666865566868; Thu, 27 Oct 2022 03:12:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666865566; cv=pass; d=google.com; s=arc-20160816; b=A6ii/HdW5FaGC4C3e1ZL3Lzr1vjwtakSSH0pbv9TKUbZW9QHerSbot7Lkvowf0EryU xB61dUUUVZnR+33khHl7abACiuAVpRyXsoP6JFilntb9GJQrn7tLBErkqRnpurQsSJ2u li5e+zoG8LcX9a2Bl8NSXATfYANbKvhUPV+xSJUxBepBzvJd0J+HlmuOs8gHaqnDxW6A cseYCEQr/sdZetBxw3l0VJ99gdbr8L34j3V5QZr+qSH8h+Z6rC6n093qPYSMfrIN2x/f gQ1G2VgG95rOTtqgUmsNdqL86iLf4xsS9ZrFjjtQJlSQ5rV//ymwWdAaiAmuS3TPZgq9 NvZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QprAALKrF9MMpS/QguhLELOMx1LFNg+7UXFUMVyTFEo=; b=GfRxbjPc7oZXLTtpGICs+8bR3FtnJnZN3xVeGnURABxzZXqgAZyjgU7zvXQtJtzmDL 1DUAmI209hRMkO0THWYLHMv7OZnFAB3lrRJjOi/EdwRDLaZQgoB6eaKjUmt8Yd2c1R5Z 7E12FCmhAhPPBC2zpW5AI3C4Wmx7rXITji4XLA/o9QU/5mU9oK5qctnN5ktMpV0JxGLX rXjx59R8ATyNeKZF1qS8Y+VU9vqbrTACxFU1rXiCyyKMJYlldf9ThBjoZdFEOb8iUKOp oVgzvZMzU/sXxEf9aNgW1lKpKqFCR/Z5WdmhZV+owL5QEpQuHLxtD4zDq6WPKj4+dx0D +rNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=UoRXAfw5; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg37-20020a170907972500b0078d1faeb619si1201292ejc.777.2022.10.27.03.12.22; Thu, 27 Oct 2022 03:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=UoRXAfw5; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235264AbiJ0KLg (ORCPT + 99 others); Thu, 27 Oct 2022 06:11:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235374AbiJ0KLT (ORCPT ); Thu, 27 Oct 2022 06:11:19 -0400 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20061.outbound.protection.outlook.com [40.107.2.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8542937BD; Thu, 27 Oct 2022 03:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N1cORnAA0s++3o9+YHjuIqEg6JVO6xLHbzqEZaihjHfl5pXjoqHZogR+d1PtqcMSvLLnI/jeiAMIyiq24xrtJK5xPJ7+48ygUA8TQ2F0Dm2YH79IP6jVm7t3V/6R2I2H6uYIp1IW20JGzfnegpztM43JtjbpLAlymeg6atk6oOve5yjdayMPsS9uY4OW7zogUgGvw7wSRdobPu+O1HrKY5JsYFOXf0tdcXmU/y1GVhbfSE9zjP1vF9oxd3hqQICBMOoBe22fBQVO+DnE9vLLSmo3SvcaPHM6N75N62ldMbblXrzD4CeCQAsi14aP/nmvaKyMFsDN07X4nkTIG4GWCg== 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=QprAALKrF9MMpS/QguhLELOMx1LFNg+7UXFUMVyTFEo=; b=mY23PvjJRz+/gfL1cFxkPfp+hnEIIKcTANeBv8bIDc9eWg5TMcuAUIr4Gxykd11HTfyjfBDTSW9zraBIxsniVHW2p4rXhpZcTcBI9qEFH91TWEg3w/+thESCg3Kf1IVK+h+DqapwaAlEMTsC4LNGb+OBP93zscTPfTbgRMbnxIgEpNPVGFwQU/9xtVk2CLfv23mtrKBK5Qm1IeJFtl1MBLYaD2DWNdjFevsBCU4PVRZ/ncD8NsN4vvWZGdNr57XGkrU6brros+q57gH0FO1fgoFr1C1ngKpw2TRoQ/Q+pcM4bTWcP03bPERs+C0C7oshZuohlOLNDziHwIjt5qeMdQ== 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=QprAALKrF9MMpS/QguhLELOMx1LFNg+7UXFUMVyTFEo=; b=UoRXAfw54kXPKyr6zdbrdckjEtYdkJKSxmgJ6WK9bKwvN+WwRt0wYNMjZjgSFvQsgnGkL46YjlKz/T3oOwH7WplF8762M0R5/GTonf0v4DpEi6W979Jk3/QnsNFVsbU56wPj9FcdaPqVrdQgGYHId7gU+5k9ulBsYYdMmI2j1ik= 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 AM9PR04MB8454.eurprd04.prod.outlook.com (2603:10a6:20b:412::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 10:11:03 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 10:11:03 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacky Bai , Peng Fan Subject: [PATCH 6/6] clk: imx93: keep sys ctr clock always on Date: Thu, 27 Oct 2022 18:11:59 +0800 Message-Id: <20221027101159.942843-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221027101159.942843-1-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8454:EE_ X-MS-Office365-Filtering-Correlation-Id: c7dc0495-a04b-4698-1e2d-08dab8038e1a X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mWMpiLaO/0VR3n1wUYKX4St0ZffedZc/GNgJjj4As415Sk4zxT7co6cTYhupT8WOk+2BS5Vb6+yPY7KwXxt3DOJNl2/GnY/ssSy/b8faBl8fbM6x1ZRcxoIcAU/VzW+7q5JvctLO2lRmN2X58Ob+ukcpMJ/y4ztRkhBwVamj3X7eub4DtbChHjDvcEdsmhBS5yLGLtQ58+5zBPQUp9BvCmI5kRIUAWKBlL66diBJg+YGUvMhPebwrvn4wOKqVYq95OODlEXJZnIGoz+uBcGSJd86/envvSol+UbYaAZIS2ng5fMEKr/kz6AR/NvKP3J95BOF4trhR/I6QxISF5rgTNqUf79XxY+TecxDrZO2Uk7keIgbOiujWZI3UERoYPvSahOJBo1xapyGhDMMExIU3iwj2R9UjUIpHR4V8oZWKMNdY8bPF7BvsvM93M487AKsDR9BXoR4qz5cKT5M/ZeU/n5zjLbsem2Pn8Vr8YIjEBhoreeUVRi29JJGuFPCWz+jhHh/YdgzBYijMJCQQW9hN38xU+/a7j7tBUTvYkNQMuZXA8UibaTi33AZLTyJWlntIP/0jmMj3M3gdUzkJ23kuJEA06QgrO2pfiC7PycWjRAfDAqwNx2XMb/C6HXOh7vY01+rlod5MvJIfC4bIHuxJj05/DaZ8mM2UbU1wRZAuW32Lv7Lk77hTDGcgXDkuOHmOi+BqCArtDE7vFY06Tgl6IuApndLTMCEtlic/fUG+WTd9TGNTywtLMaLexUm+NELycAWRLhuUj/bjPv8wt6ybr0CxT5KEEHfgocVaBEFVqk= 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:(13230022)(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(451199015)(38100700002)(316002)(921005)(54906003)(6486002)(38350700002)(86362001)(6506007)(26005)(186003)(1076003)(6512007)(66946007)(52116002)(2616005)(6666004)(5660300002)(41300700001)(8936002)(2906002)(7416002)(83380400001)(478600001)(66556008)(8676002)(66476007)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jKFSamy2xi2o6ZE0tjsCjjbIz0NuquzfgGgUXwcBGexpGcYTUn6rgQjghFUmb8OfSwS+/NXvBE+sCfJkSOmxbKcugZf+eWrTBFKC13K8ORNx/N839w8//0axXoJtUpn49mb8SZctVzA4zZpsHKUNpDl+EVHCEQICWUOxfpSCiOXrbySgLevrP7w0Mdn36aPjdwyjtF0tWpxU/VkRDlBxnwCJhr21UuXb9x882pGUF0pCdEaPPz43OlPXaBbd5a84zaX06mLFgPOuUXIBqU7qTa3nFZUNRU9wAQzWgIKy1j5M1d/7MLkfV+FJLCAat0m1oPDQ/c/ypAiGE78YkkeD/48NtjEjK94CIbAItdbZwRa9Cfjz/zW/ezu0psTiDFjhtMORHCRGzos4jtAGfUNGiOPlLQMtSq3lFBez1Jtu+5lTQjGfSimmKB84UVfCdCt6pfl1jMo1q9wyxpK499W2s+H2mDmY2+4/eAB8KWJ41mK+ltQ7E9zCj8Bmx/IMJu+ZRCc4Ha4kHw0jK1/CBB6nlwNTekSGLY65oZMXevOzCV7h8InSuhwguPJ2pdTlWnS6l4X+iT7lxGRn4NJeaWwooaLD8gqXwvLvOeEE0jSDdc+i2EpEEFWPprYqWacwW+ZYV+6BqkNL3k7sMt7FJvdFJIzD6f6XDmdixpoeWsx4osQvO3E0g6xjFON44tEGbP1xsEyCHPOGVad5rjliyI3L/UNMILPuntcWWU+/HrSvygJnNBzDXZs8D9js5ZcATRPZuOVW27N1p/NLXfubuoIzkmiJKgaouHpOuKb7dZKRgfdgzXYOA692yeILAUOJ5C+vL/5KwW1m6WmX3QXCY8/77VVUOMigxdLx4yj6kNRnStyi5oQgNg9XglRZMFV2EjMSnSW+URw2copV/IHWjTe2VM/VyBip5AWWVb2OOVxbii6t/VDb0O8dLOij9dw4cMypiNUwK/jNAfHgCDjFJC7x8h92dErrQrtOWUHAfcNue593Cu+zAsYmL/9j/HIrxPk0NjhpWGJMcImuog7M4HL59kCoZwGkxD6Q5M0e7lMkFowZLuByGewPok4sXxUmEE21vkFM5jC0Crgd+GWfw6GacrjwCTsfl5SQ9Fnb64PxfM69IYNFIJ+N3gbd6DnlWcPgVJDQV8qJwpSSijG7JnNRokdiDS1pSt1POg5fGNMlfAHGqHdJF10fE3QBB1C08E/oKKGGJoPWAcb4vsrNrbLgEB2mWuGoum40Af6t2+Pmhho/N9isDJm636QD5eQ+537JlMrEkTWJFtD7vR95e3YzeS3BAz7iMlLYAtCGRHzYuGYQywsy/MOCcwJaSTsxBs4f0NWHpO9rW7hQYgBsWDCvUfYAE/HulgkG5ElZ4la/ArpcNQdJJxnHPFb++O1WSFynykQ/jlMSyv6cj2Jp2O/b83Ts/awqA8XJEJzS2wkTYWoij0Z0Jf2qNy0kCnSyowyIYjlimsWg/KLFnfldywk5pFzrlpbjl0U6BHF0qRnD6U26fVnmRIvZh+5Al3nEd7mf5F6CD9+U6hHxd9TqFbqoz++0FOALpPWkuwmvSOi9O3qOLOPk6fDa1Crn79LSPR1N X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7dc0495-a04b-4698-1e2d-08dab8038e1a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 10:11:03.8130 (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: XTb8bkgTHr7E/9QNjBZFy1dCt0JuKPABySgaQ0VKvfroTMHbxyXQVrv840STsFREdRCCBRQhyATt5SO+16oi7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8454 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747835228777991564?= X-GMAIL-MSGID: =?utf-8?q?1747835228777991564?= From: Jacky Bai Keep sys ctr clock always on to make sure its register can be accessed for cpuidle. Reviewed-by: Peng Fan Signed-off-by: Jacky Bai Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 74e8d810db7f..91db356564c1 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -238,7 +238,7 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_HSIO_32K_GATE, "hsio_32k", "osc_32k", 0x9dc0, }, { IMX93_CLK_ENET1_GATE, "enet1", "wakeup_axi_root", 0x9e00, }, { IMX93_CLK_ENET_QOS_GATE, "enet_qos", "wakeup_axi_root", 0x9e40, }, - { IMX93_CLK_SYS_CNT_GATE, "sys_cnt", "osc_24m", 0x9e80, }, + { IMX93_CLK_SYS_CNT_GATE, "sys_cnt", "osc_24m", 0x9e80, CLK_IS_CRITICAL}, { IMX93_CLK_TSTMR1_GATE, "tstmr1", "bus_aon_root", 0x9ec0, }, { IMX93_CLK_TSTMR2_GATE, "tstmr2", "bus_wakeup_root", 0x9f00, }, { IMX93_CLK_TMC_GATE, "tmc", "osc_24m", 0x9f40, },