From patchwork Tue Sep 12 09:18:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90DE7CA0EC3 for ; Tue, 12 Sep 2023 09:14:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229504AbjILJO6 (ORCPT ); Tue, 12 Sep 2023 05:14:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233297AbjILJOs (ORCPT ); Tue, 12 Sep 2023 05:14:48 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2045.outbound.protection.outlook.com [40.107.22.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5589710D1; Tue, 12 Sep 2023 02:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y4x2MoRU6HtHZ0DhL8KleBqV2TuL9lFRFUX8ujAmCzIgUOGROh3KCXarBObRc1vZs2E+OkLKhhoStqogkLDRCLLVyC6YKs07d+AtakW8PlmoJsqKuWGs/F1u76Ycl+wUZk+ih091zTa54w3+5k5dnjGDUa0kE3IGVltMwVd6gI3HncWsGl81Fmmr3e+I4uBT5VGa3G8ttY70m3ILD+bfqCQORvo3muak4+PS7Z7oMUxNr/yEOITokp2d+0d/mUyDTdCCWQqxbvoVzF+jm3xYG4xL5TS4tCNYi+F/w7uzpV0O87EQtj3TQghknY7IxXvaNczCDX4R6uZxcDmxOUGHig== 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=PcN82YdDCGeTPd+fXv83PAotSNIN2CZ60d4jwpWpeaM=; b=PPvmluVub/6ei10ctcTaZN8Q4aKf1o8uVhUMW0wH7fmG5Oy2aA9w8XqpeLowt+G27+hmBDq+xfyl7EHQC/kdd8HimxG1hCgmXNPdHLfr9AHDDqgH03diHJ/Jx39E5h086MbUzs0aiuanS3ivKWGg4pBdw7ZEMSiD7sVNBER6QnbS7OSmh9J4R+8YmVBvTyteQFWvgvq01MZ5j3K759jWrQJrjzrI0TJN1/gAPFSVEpsCEqvu/PmstLl1lNrg76w7AG7giY9Evvv/aTbpsXr34jwa4c+93fMPwiKiLthz0AFR+pLo0XJmejEqi7dnBGVMiiWmVwoszUul4Qo+G7PWPg== 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=PcN82YdDCGeTPd+fXv83PAotSNIN2CZ60d4jwpWpeaM=; b=F14dW8qEo6Vd2x0EmIy7qzatEAAE5/wkUn6eNQfg2+UmJ4I54f4IStGkooYdwpW/XEc8dEoImYeZ8zFgBBhLOErwVt2gfQQcvBugW8lfrcZxJ9nbMI45CxfLSpsWTIrvNxp4JqKTKu7GCikf/MIcqX0zwNzlFv56i5LmzkIWhYY= 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 AM8PR04MB8036.eurprd04.prod.outlook.com (2603:10a6:20b:242::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35; Tue, 12 Sep 2023 09:14:38 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:38 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:18:59 +0800 Subject: [PATCH 1/7] clk: imx: imx8dxl-rsrc: keep sorted in the ascending order Message-Id: <20230912-imx8-clk-v1-v1-1-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Viorel Suman X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=862; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=f5k7a/5RBYMjQESO2snGHrTrX0QezNvh8x1DTDZ2TAE=; b=4iAHthzdzG+us7monfqTHfpzL8KSjp68GPnwWBqNp1nOyH4ts56bDYb3IN6j/Mpo5O5Ho01X9 fw5RIvOyqZfCKiIA5mM3fJKiAv3KRNtyG+jkabov6DbWXnjoOFwfUdT X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM8PR04MB8036:EE_ X-MS-Office365-Filtering-Correlation-Id: b9cdbf34-c397-42b4-21ce-08dbb370b069 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: 78nMtICriyMYC2SISY242cATujz0KjIabUNoOw/TtaSOrUus4OoDbWnpmL/c00VKFh+1rzIfGYyRmkq7slj2qjHFYHSyTNgoRvpv0omTb10jJ+NjjpOjI7pPH6bGN0q26keI7WiD1eL6Hj/zj1zFEc5eIPj5mK8Lrc2PtHfD4TLg3Q5wZDJD3TWDFruDo9VzT+iWK/ZSCg7CoHr0nhv6omNCdfCDr4YQChdEV0qyJPI3iHEIYtRn9bptzG7d0VavEYgx954BPpfF82AnLx+q9t8JiKhqpKXnENMbSvuXJaGaci7jO2Yc93shoQAXnwN4Lrp23spkE54MAwWPDMr+TKcOTfuyADX5Sj8WnouhVBvvFB7zdXZaG6xzysBhxeAaiFuPwzVfPmWAG7FFqTfNRZRPvC9699nmEA2I7Fb28ELiM11pnPxlfM6xV38AEy2DvmZnMzfiMPHGh7i0hcF+5+fmcxcTRNjRdfUbfW6UcaBGC25/we/1ScODnO/XjhiS6OtDeAPxYAhfJ+nOteJB9YZBdfuJet2pQZF9BXpW0On3FtdeiVqf6NLvqfKO4vKpA62HF2tt6496zPrK0pOGT61N2KeAgtaeqYq8Bwc9Y/oU30lr6QTO8lyNuVTOT4I/hcjVysjZosQXjfUs1o/AKswntvGGswlT3oKz09JKZQg= 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)(366004)(346002)(39860400002)(376002)(396003)(136003)(451199024)(1800799009)(186009)(2906002)(26005)(41300700001)(66946007)(316002)(110136005)(8676002)(66556008)(4744005)(7416002)(66476007)(478600001)(4326008)(5660300002)(8936002)(6666004)(6512007)(52116002)(6506007)(6486002)(9686003)(36756003)(83380400001)(38100700002)(86362001)(38350700002)(921005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?YKvo1h9ssiQPxZapOVi8elQSQFfc?= =?utf-8?q?BuAhszZXP3NV6h1DvPNooNFWb7sWqKA5e+qs8uv7e23Att1Ep0meku/hbk4Rt9bUy?= =?utf-8?q?G8aNiQaRpeDA+Tc1/xrrH2BPYkSruDvwUCkD3S6MaxP5Njme64oq4wGQCCEj/ceVe?= =?utf-8?q?D1KY1n4Go31HAuYu/ImljMkD42kGUFBOD6oRxXDV164qVHDRLnNTnuqjpHEj2Js32?= =?utf-8?q?cBJgkEO5vsSAJXVQwOZlzPu4CyXM+e6HgqWnXCN9gVBBqytMFjtFecVCnxZXndOlU?= =?utf-8?q?W71OKCQJXhD2v17hDZW0iPTNC14Z1RD9CpuR6XuQ3E4hnewbErev6D6gOrT8rjZ6Z?= =?utf-8?q?1hNXFooWgEao59MTigaHD6mbTGVB22GC5ZHxW+Uh0dfKHC9DTJ7AfsalPp/YbfFNz?= =?utf-8?q?/eVkl34VVMsEuWWxqSFWQmM3/Uth76cE564w/Tt14h+FUhtJCmoq9V8h8TYznZboM?= =?utf-8?q?pgWuVeMOmek/lafKJIZF57ks8UpShv27+KPdM4NJTUAdIjAznvrlKMWQHCBP813nB?= =?utf-8?q?fkyqs6sgVgwat/AxIc3JsoqbI/EQQUVbDAoFiVa5bngV9VykyhF6zixVlESPOR6sP?= =?utf-8?q?XyBD8D+O+y1wshJ+utGniAsioarUih845wLWIlxK2lr66MrUiXeKS3Bnd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K?= =?utf-8?q?iSCpu7KOaYhr?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9cdbf34-c397-42b4-21ce-08dbb370b069 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:38.2260 (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: 2QcsVVM2qkw7pZlndRTsWBSoziCbQppumJVN5sCz+MGW+l90hBUWPF2+fdcY9B7s2jyRF5JGynE9ugLOALeobg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB8036 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Viorel Suman Entries in imx8dxl_clk_scu_rsrc_table must be kept in the ascending order, and IMX_SC_R_M4_0_UART < IMX_SC_R_M4_0_I2C. Fixes: 036a4b4b4dfa ("clk: imx: Add imx8dxl clk driver") Signed-off-by: Viorel Suman Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8dxl-rsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8dxl-rsrc.c b/drivers/clk/imx/clk-imx8dxl-rsrc.c index 69b7aa34fff5..a36e821ba807 100644 --- a/drivers/clk/imx/clk-imx8dxl-rsrc.c +++ b/drivers/clk/imx/clk-imx8dxl-rsrc.c @@ -50,8 +50,8 @@ static u32 imx8dxl_clk_scu_rsrc_table[] = { IMX_SC_R_MLB_0, IMX_SC_R_USB_1, IMX_SC_R_NAND, - IMX_SC_R_M4_0_I2C, IMX_SC_R_M4_0_UART, + IMX_SC_R_M4_0_I2C, IMX_SC_R_ELCDIF_PLL, IMX_SC_R_AUDIO_PLL_0, IMX_SC_R_AUDIO_PLL_1, From patchwork Tue Sep 12 09:19:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2DE5CA0ED3 for ; Tue, 12 Sep 2023 09:14:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233234AbjILJO7 (ORCPT ); Tue, 12 Sep 2023 05:14:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233264AbjILJOt (ORCPT ); Tue, 12 Sep 2023 05:14:49 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2085.outbound.protection.outlook.com [40.107.22.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAD5210F4; Tue, 12 Sep 2023 02:14:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3i7A4hMd5zdEAomLgF3gHmHRzf3jHnlukZn4wyfR8eVWTJVsn/Vvx997lg0FhkAO9SwFWxstl4IGjAcwV2W4gEAfTX5E5hbIDOvOdRxzdtIr6ici4NXENYoJ+ODjA1HBZdTJOg92ZBHWci9yKKGRIn/N3YjLpdRkD+uE70dZ1+Fp053A1DDblwJ149iZLo88i+4K5mzmKi7Zn0TGde5fYR74j2g04DP8mzZ8ZwB62VOJVcj/vnU0h4eJVXu9D46zeY9oJtN3H7OB+Nrnds4XPokfURiqQllqk16whrI0MuIontKBkmpKMcvybCYTUSDrEBnk7q/mcSv9JWY5zAl2w== 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=ymeBSYf8reKv+4Cc2E+IkWouronSWNF/LGvxLtE7S7s=; b=eVtzlVfF7lcF/6APadrBIMql6hvXyoMByBEzXFJtDdFWFP0Xe2TqT3nEprx4GSuotn/4hxlAsMXvK9eQpCNyiTF/HnSp2b5mEBPcuWQdtPr6DBgQhSXh1R3wb/HVCKsbbkmhR3Y/mWZNrxZIsMfYGVLat/nU9gNhrCoqnnj1bApQcyDeWpW8sGtOuPMjYg3mxFiaEftq0ZJ4tef6mle1wE6yfVxE4Nrk6QsnwcCWMIYq+z7Byiau3dq4cPgxPJEXCohgeQqZaaDjCE8R9icbtJkeKpcWTU1wxRNBTU8jFrY/NSGtVj/eHn8D9sDOIQYHUq4YFWX1dWZ/JZ3kkCszTg== 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=ymeBSYf8reKv+4Cc2E+IkWouronSWNF/LGvxLtE7S7s=; b=Ohw1I6wagRnhieRHQCLS6ZIXUV3zn31t2Vjt4nkgrVOfE/xeAFUBygXOj07HKZbRJkyg0+chVWiP+K3gfmYWWG1w4nmKFs0XYgWR0EUmMkJZiWx2FM4KY/NlaXRVgSe3Xn/LWIAagH5IviuStqo/ASXMadeu4aV9DtbWMB71dO0= 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 AM8PR04MB8036.eurprd04.prod.outlook.com (2603:10a6:20b:242::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35; Tue, 12 Sep 2023 09:14:43 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:43 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:00 +0800 Subject: [PATCH 2/7] clk: imx: imx8qxp: Fix elcdif_pll clock Message-Id: <20230912-imx8-clk-v1-v1-2-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Robert Chiras , Ranjani Vaidyanathan , Laurentiu Palcu X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=1593; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=HGb1cYkCIgm69oG6TtMIPPTMlWRPE2ieXP89fwsR0U0=; b=YwMU/7I4Z5oMRzTN5BLZ3u0ZS8SKCyvSqRVI+l5JiQYwsppLywdS/6XL3rv/mBg0fKHgFDPP7 tFtOpI7VX78ChK18djCIGC0W94VxntXa0e6hnzY5QQ6exVrQ6kkLfLK X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM8PR04MB8036:EE_ X-MS-Office365-Filtering-Correlation-Id: fb0898d3-a63c-4845-5168-08dbb370b366 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: JfEqn24t/Ip+8QtaUD/dj5rTp48xYr7rjsUsmWqVt0xGTSWuVB5ijcgKQ5g+IVMyMhaOhKm0x1RZZH6pHa+tpABXbx/MZlnR92HvJ1VL1IPKznQJwM1Y8HJ02fxEynpsiDVl7KD1Dq+HMcbgnNUetxd9nREhWH7THCntV+G0gnuq9+YlH+BIW89ANI0T1ct7U+7TGhxxn0jGObqVC8Nk+dfwFQ0BnT/pn/rynvumlrqSrovOJuQSHXo4AnM6bHxU+Dh35d8lyFZoDgUtVAlZQUTDpDeN+4ejaQBTgNfawVDPP0XwLxGKLHwGeaI8vUM51zGbZAPKpafiQuqLal9Sw6x85O7x8HhGDAj0cdrm9dbPf9khs+itRsclYLuBoGWbbeQCs74SL4YjBpC4h0PzshP1zT56bOGBdOaHcRFYpYt30WBu5rDIIzsazomDgkA/zVyHpVMhdHkqyTnWNxzkB9CUQSQ8wTOnUyzwJey2amY6t33cz+0HVMHN0yUcaEBu2bTcT6896/7TTlhQ76b3eQeaTFeNRZdbK57miNZFiXEkvOlHm0I5UIDPrrV8qVmShU638zQ9L1AaIizcaY6ZTzWmB6Xhy0UIY2NwS/tsoRTWOE8ZdbKanWt5R3OuJ8qbQopABAhNhEci99S/WleAGUu5fJR5HwvdTxiTpQ336+U= 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)(366004)(346002)(39860400002)(376002)(396003)(136003)(451199024)(1800799009)(186009)(2906002)(26005)(41300700001)(66946007)(316002)(110136005)(54906003)(8676002)(66556008)(7416002)(66476007)(478600001)(4326008)(5660300002)(8936002)(6666004)(6512007)(52116002)(6506007)(6486002)(9686003)(36756003)(83380400001)(38100700002)(86362001)(38350700002)(921005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?rGyop9ZFNEJkqhruKWbHf1FkKFFb?= =?utf-8?q?N847l5Gsw32U1gbb4TqkejPAzUMeuH/B1V3lP8sLkb+sA+cPS4xkJ6qa9oZEKLShN?= =?utf-8?q?tn/cAY+nCHboEucqKoqmjk7JVz7digHCcnSonWxR4rwbfa3N3tG4eAgUxLtJF/aeq?= =?utf-8?q?YwfA3GWMTOJd0XXpbR8fVNkgMYaS5CjU67STO29FJTfF3JN6h3iGPr6G6aBrxsv6c?= =?utf-8?q?9Xi6Pi1WxYn2al3UFmX6qrtPy6eCHe3s9Pu83OrLJW58nsOdTegRpBBTpifE2I0nC?= =?utf-8?q?2EOzELTB4ab2AF4e3FBzUzS5CY73/uC+BkIddyl7yWW9D4wVrk04MhTI9z6DSM0gJ?= =?utf-8?q?ff/jJ/blGc+McWd0WMmlNr3KWJI2tIzrpIwRHNOF9xfA6b0OsUsUlJIQsdYotaZ7Q?= =?utf-8?q?3j5quzNYjfuNWRXvP7LoPf2CDMpSenCDlduyoh6171gi7R0KImMeSZYxQ8SCAKo8l?= =?utf-8?q?QTzgef7ZcP/NLHcp5XHFOIqkBUmVbcXTHW6xWKtvhg5pAsPYGV7fbuKvb4RttMAzO?= =?utf-8?q?Gbyp8vPI29sbdN5zZkE+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9EvCBvmhQxr50OkP9mgcgZL4ZRfYvWGUygiCS6H8Q9xXPGq86?= =?utf-8?q?pXFLUmQT2/0hAaTeqkhRTw+q0KtalYasdm2zz92iJNXC9f9LmfSE5Y4BkVvR/VGL4?= =?utf-8?q?V0voelZykbDg?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb0898d3-a63c-4845-5168-08dbb370b366 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:43.2370 (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: 2vLZjgQkO3tEt96xYohHW7YE1PEbIastQOC+2h2gMeA36eWSvBczHR/iQPqm7mmqhVisRUrziWQuB8qwjXWxGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB8036 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Robert Chiras Move the elcdif_pll clock initialization before the lcd_clk, since the elcdif_clk needs to be initialized ahead of lcd_clk, being its parent. This change fixes issues with the LCD clocks during suspend/resume. Fixes: babfaa9556d7 ("clk: imx: scu: add more scu clocks") Suggested-by: Ranjani Vaidyanathan Acked-by: Laurentiu Palcu Signed-off-by: Robert Chiras Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8qxp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index cadcbb318f5c..4020aa4b79bf 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -147,10 +147,10 @@ static int imx8qxp_clk_probe(struct platform_device *pdev) imx_clk_scu("adc0_clk", IMX_SC_R_ADC_0, IMX_SC_PM_CLK_PER); imx_clk_scu("adc1_clk", IMX_SC_R_ADC_1, IMX_SC_PM_CLK_PER); 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_scu("elcdif_pll", IMX_SC_R_ELCDIF_PLL, IMX_SC_PM_CLK_PLL); /* Audio SS */ imx_clk_scu("audio_pll0_clk", IMX_SC_R_AUDIO_PLL_0, IMX_SC_PM_CLK_PLL); From patchwork Tue Sep 12 09:19:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381140 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B793CA0ECF for ; Tue, 12 Sep 2023 09:14:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233266AbjILJPA (ORCPT ); Tue, 12 Sep 2023 05:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjILJO4 (ORCPT ); Tue, 12 Sep 2023 05:14:56 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37259AA; Tue, 12 Sep 2023 02:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gHQ5peldr0jyqzkzRP31CiLQVM99LkeQRNSyBrRQ3Wmeo9tf88S26ZCpSseDzJh1sruWTmxcLVY9fs/cWOQ+eZsBn6uK5+Txfd9UQSZi9BKReJ8mTCpMyQXVGU3ub2RXsogQ1VVDr/cJX1Rd3rmro40TtDNfSWkgEVBzobjxyi92tv6Bmix/EegSHyjWGqXpJBRPwK+GEHufgIwvH9NwTO/aMlaAn3m0d5kcRfFpq1YmRsnqTLywos1jugJ/DEbaigtwCyhtdYJ/dJgpKf9DW3oVGkBfRLNExdIwdUThF7rYzEWkIJQKxdHfNmdJWPSQuMHOp/W7G5+OLRccT3mu/Q== 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=lGPdZ2jEYryrjMBpMzU3meu+bx+u2kHSmArn04YJbvU=; b=YAv8qBelKKB2KEETnixkxPjPOTthar9nrI6YxT5Sk0VZeEr9AaD1I8CvANNC0/Uhm3mlcnc2zU8mI6bZzHut0PoLSXwWyDm5fs+HLXjGpySm4iklgZjFTSqQ2r4qQikggsouQQ0qEpy3KxUMHD4oBLQ3Tdw3xHwg9wAuoygeqL9WP/qpOEWViAfmUjanQKeWk1mX8rV7XWAcIQRLAWPItVIvSDcBvr4N4rFzLC065pmaAE/cM35ukyQCOe/9Kz4X7kB95Xp+TjK41ZI3DYcbtzKtgcdxJ18oFNA99qh0jlBUzdk/78GnfyVE/QKIfOYsDlfhw0p8oO5xqhBCsTYiHg== 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=lGPdZ2jEYryrjMBpMzU3meu+bx+u2kHSmArn04YJbvU=; b=JAagRI33lokpty1/WNuipldGVtGA9uXef6FWHMe6X84ZouqK/IB9EopvN7zN2r5D0lRjWOao2Aw3ZXPq6mrt+YSmY3Qipbli10SN0Hmdo2H7ihP/46fMJzF1YROLYsGfmtoKm/TmBamMGHoSs4hQ2y/C27q6EQT6p08yvspwzEY= 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 AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:14:48 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:48 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:01 +0800 Subject: [PATCH 3/7] clk: imx: imx8qxp: correct the enet clocks for i.MX8DXL Message-Id: <20230912-imx8-clk-v1-v1-3-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shenwei Wang , Ranjani Vaidyanathan , Jason Liu X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=2559; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=J9ZzBj6jt1w7y8HEhTZBc14V86K3cqrQupVPS8cfPAI=; b=4BMk91mGwweVGwKpDpoVXKUPn3qe19ag0rLU32BZ94Ox+sA0vXiMj6qPTTsQlGbHoHzrUpS2k dVbcQ511CaGDpUJmFlQml+X9+W0dWrAviifB/WMP8SnuvujV8AGrf+e X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: 49826c03-a0c8-484c-4582-08dbb370b668 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: pL3WTsk+51q7YJen8N/NCgqk5ZQFULGFU2n4VRsgg7JxLLJekz50WrmEM84H7S5uP6KvGmI0YiNS6lXvcK4Msg3mBGh4bMYXOOV+quFGhUc27YJvEZLozPEk1lcAK2lfHkFZnu2ewnOFiCTzddzY20Uu9a9AbTURyZJiLsAMmu2/mVtDwlL8XWf0KrD3dxSoLfY6crklpPgBqjFp4lapBAiUvKnoLMBgrTQPM5A+s8UTv6lTvaVkCkEc1jljx+RPoj/USBf7gLCUYMcqoF+0KFnSWsbIK3jDmSU4TzDGLWCcuDidvDKBw3RSl0k9bPpyWKXNQ04NONOihsWCXuSyrH6ecQ4AGsDSuBu867tFs1ssf4ne4yXqpMn9el6oEZ0BVR9bQEyyBZEC+Tttys+008+mmhjcHkXTOkPeeHRFnpSX1C5uPouZYfWiLrpVUWhJrDZQcg1o2EoEPinsseyCi6QXlbfBGxY7G60VvZYGxx3u98YP9V5nigIs0wTMPueQ4Qh10Qp3nwrfqhFhJp7rYzs4LVoh9+VJ70LMc4JMXHqBKfpt2ifC6Q/aOxyFnzGt1KKgvZhJrojd4TiuTDokGBKR/6twGPI1Rpa7RlSgXKJ91Pun6+7y19VcPNQG8cslTREnnwRYzmua2j7LeI4fjML9iqu6BoFSKCph91vU9JI= 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(83380400001)(6486002)(6666004)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(54906003)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(38350700002)(38100700002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?dc3MrGbTKSwYvXONCi7x80UnFFeW?= =?utf-8?q?e1qjgHUhoHHufqYhgoueP2CH3rKtu3MMbcyUfq0s7ZfRJrnMVxZUXE+JJtgeUoxeo?= =?utf-8?q?T6tUCC9UPJlZd51H8Fvp0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x+0WV5iuDPbSWZIcTc/QQ2T/?= =?utf-8?q?Ums7hjwt9m8PNjsvRzJshnKhilm+dpDRu+xpNlE20Tt3s6ihaSEHbZC1TtAmHYEZy?= =?utf-8?q?PP7EiKZHnO0hUr2DSC3oyGl4LWUztm5x/N/429qA5YbuOh1aLQ+vnOimkEy0MSjcT?= =?utf-8?q?76oBAwH5uxAZ9+zer70afrwub4mEwlrW1pz4obmprrz/LK2e5/MQRXNPL5v/5U5T5?= =?utf-8?q?bPbdiGsCIOPJrEkGHyX+dZnftFFxBwf31MKws+kXeu1v/A0XNDq7aizUaKTwjPbiq?= =?utf-8?q?y6hvG1Px3jvYEKmQeOGdcqiCBj6vSxFLgYyCFRJbpeAlqqMFSYd0TjLGUtqNZZU3S?= =?utf-8?q?IzfwC+DK164ze5FJGWIobrj9usJFWrLTcR7n6tas84mi/gK+pVG9CzyGYHrs2ngtU?= =?utf-8?q?1wJuNg2WQO0eO1xCJK2bsfAl44RvnCOlW4esGALQFtClPi8Zr+756TFDSrfYh3NP3?= =?utf-8?q?+ymf5/mJwPUEy9tqKtPjmNNpJj7PbMfbUwrqFYvIGWNXMPbbC/+fqPvtjds7IGN1S?= =?utf-8?q?+YR22ZN5LXKH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49826c03-a0c8-484c-4582-08dbb370b668 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:48.2512 (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: 4pm5Qp+m0e0GXEi9fq8pL2PSkhYmLBJfpZgCM4MVO9F1b0/GtlV7CrY7K3TZgGj865kIlNIGgfyg4dLHzoAaDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Shenwei Wang The SC_PM_CLK_MISC0 clock is not available for the resources of ENET0/1 on i.MX8DXL. Using the clock device compatible string to identify the platform and only initialize the enetX_rgmii_rx_clk clock for non i.MX8DXL platform. Signed-off-by: Shenwei Wang Reviewed-by: Ranjani Vaidyanathan Reviewed-by: Jacky Bai Acked-by: Jason Liu Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8qxp.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index 4020aa4b79bf..41f0a45aa162 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -90,6 +90,11 @@ static const char * const pi_pll0_sels[] = { "clk_dummy", }; +static inline bool clk_on_imx8dxl(struct device_node *node) +{ + return of_device_is_compatible(node, "fsl,imx8dxl-clk"); +} + static int imx8qxp_clk_probe(struct platform_device *pdev) { struct device_node *ccm_node = pdev->dev.of_node; @@ -169,13 +174,15 @@ static int imx8qxp_clk_probe(struct platform_device *pdev) imx_clk_mux_gpr_scu("enet0_rgmii_txc_sel", enet0_rgmii_txc_sels, ARRAY_SIZE(enet0_rgmii_txc_sels), IMX_SC_R_ENET_0, IMX_SC_C_TXCLK); imx_clk_scu("enet0_bypass_clk", IMX_SC_R_ENET_0, IMX_SC_PM_CLK_BYPASS); imx_clk_gate_gpr_scu("enet0_ref_50_clk", "clk_dummy", IMX_SC_R_ENET_0, IMX_SC_C_DISABLE_50, true); - imx_clk_scu("enet0_rgmii_rx_clk", IMX_SC_R_ENET_0, IMX_SC_PM_CLK_MISC0); + if (!clk_on_imx8dxl(ccm_node)) { + imx_clk_scu("enet0_rgmii_rx_clk", IMX_SC_R_ENET_0, IMX_SC_PM_CLK_MISC0); + imx_clk_scu("enet1_rgmii_rx_clk", IMX_SC_R_ENET_1, IMX_SC_PM_CLK_MISC0); + } imx_clk_scu("enet1_root_clk", IMX_SC_R_ENET_1, IMX_SC_PM_CLK_PER); imx_clk_divider_gpr_scu("enet1_ref_div", "enet1_root_clk", IMX_SC_R_ENET_1, IMX_SC_C_CLKDIV); imx_clk_mux_gpr_scu("enet1_rgmii_txc_sel", enet1_rgmii_txc_sels, ARRAY_SIZE(enet1_rgmii_txc_sels), IMX_SC_R_ENET_1, IMX_SC_C_TXCLK); imx_clk_scu("enet1_bypass_clk", IMX_SC_R_ENET_1, IMX_SC_PM_CLK_BYPASS); imx_clk_gate_gpr_scu("enet1_ref_50_clk", "clk_dummy", IMX_SC_R_ENET_1, IMX_SC_C_DISABLE_50, true); - imx_clk_scu("enet1_rgmii_rx_clk", IMX_SC_R_ENET_1, IMX_SC_PM_CLK_MISC0); imx_clk_scu("gpmi_io_clk", IMX_SC_R_NAND, IMX_SC_PM_CLK_MST_BUS); imx_clk_scu("gpmi_bch_clk", IMX_SC_R_NAND, IMX_SC_PM_CLK_PER); imx_clk_scu("usb3_aclk_div", IMX_SC_R_USB_2, IMX_SC_PM_CLK_PER); From patchwork Tue Sep 12 09:19:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC95CA0ECE for ; Tue, 12 Sep 2023 09:15:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233387AbjILJPO (ORCPT ); Tue, 12 Sep 2023 05:15:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjILJPA (ORCPT ); Tue, 12 Sep 2023 05:15:00 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2041.outbound.protection.outlook.com [40.107.21.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CECCA9; Tue, 12 Sep 2023 02:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ELsCnh1iGen99wYP+rY8XM8QQYBJQdIY1sysMuhVO6z/GVPPz8hg3WMzBkaclSVpeXIXfPr3yAZmAg4Q9bFDZEsfK5VerIFYxD9ronVfWIbgVM63aYZITbwWF8W4E2tmgR0aEJ4cSJLRbxtbPZv9r1/OX/GJr4P60VXNYXecHcwXiagWeooeawU+4cfWxoJA8E9gBfimor9zSy95AlCYZKbuAlJ7DwlG/f0P7j/xIq+QfaJu6xSskDEewgif3pRWumftupbD2MJ0LS5ZroRF7WroQbmcms0AV0XosET7QOki0a4CE1eDvvIEuJ0N0r6+1viS289NOEHRKZTttg+ivA== 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=QZlI+rIIh60bS4PRlNde3mxxvdJCQwiqdsOb0L6PEY4=; b=YGn/XSauKy0dPoZ/zowBVhp86do4t+ctfYIU42oxR1VMJ9jUGS1+YOZcnTOyiMaIhv9oY23CmqNQ40EB9ykBWtfxYk0L6vraJKFJ7Gv4L9iPRpREMFNJbua7A5qfSnAl3uYEKBB8LLe4B2QWoFaC0upCyTi1BL3Mv9eXUgxCW6VGWs/bAiHCIqTYb1mNdhjPwqXTiac5qx0wGgvFAFCLdrLy1RNM5dE+DD1mra8Iwr+QLBinZbbvip4XsxQ8SooTVmbp2iPjptB0Bbmhw7FpJwE2tQZOo2KbzGfEpZ1whbhMn6VmlgGXU+4x/x9NkM+PXEZ2BjR6emKgGB3ACuImMQ== 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=QZlI+rIIh60bS4PRlNde3mxxvdJCQwiqdsOb0L6PEY4=; b=IaJ7ET7KkFG04kREv5fQAQAQDoBiBhIaDBgTGX2SPyXo/CZtoLk8EP2UBbhTb3pC6kcbM7lmTfekoz3Bwi395O4v5b+/nwPXwDgUuqhx1N8jQhzfonlX82DWOtOIaX54npqik5Q1IbkyM00PHHFf+xOFiJ7N1YRDqxjFyjfsK9U= 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 AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:14:53 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:53 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:02 +0800 Subject: [PATCH 4/7] clk: imx: imx8qm-rsrc: drop VPU_UART/VPUCORE Message-Id: <20230912-imx8-clk-v1-v1-4-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=750; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=USdN4vkPanCh0KK7ApCda4FsAm4FAJLak7LhitJEzNE=; b=6e+N3/I3md6BjVbMi6OtdVOf47OalBpr1n3kLKoJDrOTZ+4XPmIlNurusunVuWAGB3Sq+ahRm mmF5JxlLEIVDfcxvdy6p78tx/5Esykuj5kwd3Drd9hVAjECK338QRhU X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: 02e2fe68-797c-4dda-3f4d-08dbb370b92c 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: /p636QFkkLA/lxh4GxkfzW67FNtP30qvgC+iENQOcfevHLSzgUgFnzBnNZWUxwAg2EK5KtT3XIrhjA9uYjIVRxAn5jXWSmrRIusLb7tgcs+LwGO5Mq3pa1cePcxlFUjHfQEG76IfQC2s/bXmqYaH2M4FCYQWuYhmlk1Vdi79V7tQv2cH3WXvLyeGjIWy/ba1lXQudesS7xPP0ktPlKHg9F8/qkTkdDfkBFBZqIvdlflgZHFHruKLgevin9AwfvYkY6HWDZAjmqRwcapz14OnsgzK1uDOKRCH0SZFwgmDeV4P5+q5oEFdnKYR5t82jQokF5jOFvn0hgMpe3+NzR3Bl4LSCziG2fb393rCqn2K6hdC3+w3wt/3jIK9o+2vCFHNLzYRSOb/1kEFnGWXEaxG6N5BJtxCcvZxHdkdMioq9aPlhxbAwdoHHbQ23CFh317MteEjwNN6gpdWxX8r3oseKKgd6pEDE+tIr1InCm0AZGXpYs84eiT/yKgRUM8NKD+MqcB0xlxOVmFoBAYSDfLwZIPNq8V+q9MX0dHYJpGdxJGuSVZ6yH6bTUFEl62J0b+2qX3LraiFtZZPyjGmnUF3Ttby6VpIzS1Hp+ctrwqZez9XWbZf5uj9Z4ZF+P/TF9Ze/6ND2fqpFSC0gvKGvBYmKv7zPTrQskZWs3jUesCGUAE= 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(83380400001)(6486002)(6666004)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(4744005)(38350700002)(38100700002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?EhPQjvt7L2tAD/krzQi85bUffcTM?= =?utf-8?q?xPUOEdJ+xCzTvM00YEEWEkZga4gW5UP0ChN9goa7yyRy6s73PRKaqsRVfi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utf-8?q?P/jmQBWFagMGzankVTr4Iy1V8twO6secK8qt7s/9teBeJDkFb2j1SDLYo2yHlDOvJ?= =?utf-8?q?lkrqLJoM5klnbXR4r3jkqWtV59kJUob00BzpIKKIRNwznaPxFs8HCUrybkJ3HJSAb?= =?utf-8?q?0bL1sPzKNLN3RfOLvnU6gH3Y92TRYdMVsIo4Uxo/ajTOBrkqvM/bbjotDd4TRCcrP?= =?utf-8?q?AHQ7HjxPjl2frvQ5EWGd7ZpB8pFB5ylzT8vbDb8ZOzQyrFxuSLniYxNyI6IOuKb+9?= =?utf-8?q?rH2dOp7RtP5NGT+ISMjIsNB1X7LKGSrJNdK7+IhC362AvLjmDMeA0bbg4FaZEc8i6?= =?utf-8?q?nfw9+F6qTMrGmcHgaCGWa37Q/eBo9pb+gdFnMICMMucSciafQnCfeQoQeksC+s5hb?= =?utf-8?q?rPV+xMgwUlZ/rcY4lHR7Wa9jvVXeYdjYPb792vgDmJf4wtrQyYJ7Lg5pCHZ4WQ9bT?= =?utf-8?q?GAIzlUsN24dxjj54d5vpq6QaCDkwwlK0g82G1gaEBKUubmeK8H0Ba4w5YZmlHGVgB?= =?utf-8?q?J95tBC/V4nSZOAi2UNsFwpaDpv9/jGbcLhCofQfqcRyrHwGtys2ZK9OktYANTlI1w?= =?utf-8?q?vqDn+ZU4WqPI?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02e2fe68-797c-4dda-3f4d-08dbb370b92c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:53.0064 (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: UyKB1qtm/WyophLQKwDmqnJ1nNCdbNuDrwAWdGBJyBZ2jzbPGG29jhvD01Ab33lZyx+/RoJwiO211uZmvyxJOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan IMX_SC_R_VPU_UART and IMX_SC_R_VPUCORE was used in i.MX8QM A0 which not for mass production. i.MX8QM B0 not have the two resources, so drop it. Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8qm-rsrc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx8qm-rsrc.c b/drivers/clk/imx/clk-imx8qm-rsrc.c index 87e0b6ac027e..8412fa349569 100644 --- a/drivers/clk/imx/clk-imx8qm-rsrc.c +++ b/drivers/clk/imx/clk-imx8qm-rsrc.c @@ -79,8 +79,6 @@ static const u32 imx8qm_clk_scu_rsrc_table[] = { IMX_SC_R_M4_0_I2C, IMX_SC_R_M4_1_I2C, IMX_SC_R_AUDIO_PLL_0, - IMX_SC_R_VPU_UART, - IMX_SC_R_VPUCORE, IMX_SC_R_MIPI_0, IMX_SC_R_MIPI_0_PWM_0, IMX_SC_R_MIPI_0_I2C_0, From patchwork Tue Sep 12 09:19:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381142 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F516CA0EC3 for ; Tue, 12 Sep 2023 09:15:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbjILJPT (ORCPT ); Tue, 12 Sep 2023 05:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233384AbjILJPO (ORCPT ); Tue, 12 Sep 2023 05:15:14 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2087.outbound.protection.outlook.com [40.107.21.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D57710D2; Tue, 12 Sep 2023 02:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANK43JnReoImUMIFzigkXjhWEs20j6+4rrcigr0XHqzymWnuIgpNERzrWnCejNkxOQs8HG10F6J5MUDAhl0126/3u5ohJNdt6XQa7kUn3lCuzHQiTszqUIqiWoWuRk9M3NCl2bUGcsOFFP+tSDMr2wN4seaB5NOlNP9LnwOOtrNS6bSpOzz+LOh/CJtOK6NmW3Az96Mn736FSHq6yrJ8R0ZNGxUGKQNuZDeLO7gb3CgIw3Z1b74yIkcS7dzJZI3WMLTReTPm+JLMVp8ChUyXfjCSUVRnbiDJrkFzhlltu0vKtuGibVkDaesvnlgWNtb8ghZ0XljQjmN6E7/0Uw2+Yg== 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=Gtnd6pWCASdz/Xr+vURao0lJiPholEOlIJyGz+Gk9lA=; b=Kcx1YQVBgaN+XVzYj8iAWJxjxbgs2+jxKEO+2rvSt/NBBRxYfEW0yDkePec84sHNvKkE1vWL18fHNSXIlxMW38iDB2aB8BdIyoTFzn7VU6vFfWySmZHv95v0vM5G5WjC8i/J3KobL8Tm7iud1D6ayP6HyblHvSxeISgQuYkBcswI//QGxOSlkpN6EaDeiCnBpHqdkkad1r9Tp9ZhQMGam1gQh8hQgZAzMyVJsstdbhBkFHJ9zkYRrpzgnWbAeeIgf8wz2zX42s3tSoBT2RrvJlj6dYC8Dp/E0VQiBFyWMP9mdvy0EU9+/8GAQg7Tc9D5yzqnyq8KQn+gF4kLSp0Ulg== 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=Gtnd6pWCASdz/Xr+vURao0lJiPholEOlIJyGz+Gk9lA=; b=WpIu0lb/07RI8yjqFW9QAqy/UX4tg4KLTNm3LZC0z1LNFzsYq1SryOkQkOoZmCLvqEkaBsfl6qYHgYZVmQ487xPk/gtmckZwgMWs/iJzAjnG+JUaf0Ij0CpwDssRopbR/kgGRt0qRrttB3qmOchuFMeYAt0Mnx+0hFjvyYWAsU8= 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 AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:14:57 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:57 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:03 +0800 Subject: [PATCH 5/7] clk: imx8: remove MLB support Message-Id: <20230912-imx8-clk-v1-v1-5-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=3291; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=/kgTg1oPdo/WAsx0j/xnkO7IJZdijR7A8gWhop/DqmY=; b=tNAsJojuTOtIapGBP6VTbfwhi6FijlaE6ttYFj+6LBX4iPzX5l1v7RVjlEoIKn230vRvELQJ3 zsEHim9nlgQD/zGhdNqDdnAUIHNjy2h1DR2Y3zeCOoFxR+2WNncwZW7 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: 0be80d6f-5e6c-407f-e8be-08dbb370bc00 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: NW/Eix5SWLjjDYsu+qaHUoXzeKHbSCdpOojYHSQUlX104it78i7/L3VTo0ib4WWTWqkJRHvj/n4rd6fH04XKkU7Ew4ywxkt1sxnwWIjH8YEdb6MIg6wRSokCDZeunsbQ7w3mk+ZaobCYwpurncJYsIdnKDGwVOxAPHcUz6fgPHORH3I0DO8t4DzQWmIGOLOozkLoKIWKLjMiWRB+EAot35lIPi44FlpMPkmmMc6icKM06dxxPGicCh0+0Oo8p+aGDZbczmuYU0MzY9uyz14g5M7lVtr3aKBhCGaq4wwsXqPZLwZnpMDKCv5PXOxgzfea8/Uzdpw9d0jM7YUgvFxM6Ja72/RTtxRdXbwJqBQI5IXJvR39MKDfGJdosmUbn+4Rz4a3AfO/9fYaQGRxnS84jvZuASokovCoOHvNerNyupXWtQzo+fd8WtT3Bs5DzJcmP+NwROfT9+ReuBcspkrnZ6SEvB5zftpOC5cs7JUQmLGyO6VTNLqNmRBhY4BN97YWLtvYi1Kd98tWodk9hmUd3Ruo3HZ/iLhqhuClItnz0htFycH9u1OfxxV3rtMsEGLkdlCg17ZcosAlUxbFH3H3X8RKOemPncZ+PxZhf30qez/oLIBQrztgfGHd6kJWxWo3sv3YvSy6+azx7cPc9KQC5w== 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(83380400001)(6486002)(6666004)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(38350700002)(38100700002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?h4+ocquUt3oQJlekIAcgS5N0qqj+?= =?utf-8?q?/ltwU6uWgO6DV9ng+rGVqZr3XZPzdliX8LtevB9tx8fmrC2ygGSs6SIgPhIHNMTwL?= =?utf-8?q?xR2P6O88Fo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IDnJOQf+7PRv4bFfsPC2GqaF7TFwVgMv20SgulAvAfP?= =?utf-8?q?CMRV/8UNt81qxmE0Z9zACOk6chaJ6F6xAY58HyQ35Vy+HXeLM18sMEFbJm4xLAgts?= =?utf-8?q?D6/BlchVVTEBvDz+7XUX+M2pgdQJ/rHv9oDG8FkkgEgkK03BRfBAJhwZ6LcI7g6jq?= =?utf-8?q?oZ8S+uFf9W77ml/LMeipXuHWvJDvuZRpu6QiefeekQwBr68GT7XajFJzz6KsADTA6?= =?utf-8?q?cQLCs+9pdsQy64LpuMy3ac7K74nvib9rMgo4uaDRIURM4TqrxhsRXq85cuqc+0uyS?= =?utf-8?q?+UPYuvHUFYAvsid1JebGnvo/svWdV4ga3uaJOMDCB1s7F77/XWgmtEKEUmRoyPIVq?= =?utf-8?q?a3hSbsns4Jo7coZpPU/0yGZYOuyhVL1kFRAWEJzWwNosZ14TiTsXmUeh+1vGCwRoA?= =?utf-8?q?+fVo5LoigI1Dn+qdo8eDIkLpHf1icHlJLls/Zu+lXybUEypFD8EpoYePdsZdOYO1e?= =?utf-8?q?iFWRtJLmLh/L/qYuJ/DZM208cxBwBgslraAcs/vNfDewfkaJE6lc8MQzBTutC8csf?= =?utf-8?q?yOrAn2M6OliH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0be80d6f-5e6c-407f-e8be-08dbb370bc00 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:57.6263 (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: G+D9L1INGBDDrzRrGq8XO/hNislRvAs01v7z6bjx9ORKDzsU3yMf1gPe77o2xT/PJykIHxU75KAbrMHseAPizg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan MLB was de-featured, so drop MLB clk for i.MX8QM/QXP/DXL Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8-acm.c | 6 +++--- drivers/clk/imx/clk-imx8dxl-rsrc.c | 1 - drivers/clk/imx/clk-imx8qm-rsrc.c | 1 - drivers/clk/imx/clk-imx8qxp-lpcg.h | 1 - drivers/clk/imx/clk-imx8qxp-rsrc.c | 1 - 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/clk/imx/clk-imx8-acm.c b/drivers/clk/imx/clk-imx8-acm.c index 1e82f72b75c6..b96fdf5f84d0 100644 --- a/drivers/clk/imx/clk-imx8-acm.c +++ b/drivers/clk/imx/clk-imx8-acm.c @@ -77,7 +77,7 @@ struct imx8_acm_priv { static const struct clk_parent_data imx8qm_aud_clk_sels[] = { { .fw_name = "aud_rec_clk0_lpcg_clk" }, { .fw_name = "aud_rec_clk1_lpcg_clk" }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, { .fw_name = "hdmi_rx_mclk" }, { .fw_name = "ext_aud_mclk0" }, { .fw_name = "ext_aud_mclk1" }, @@ -103,7 +103,7 @@ static const struct clk_parent_data imx8qm_aud_clk_sels[] = { static const struct clk_parent_data imx8qm_mclk_out_sels[] = { { .fw_name = "aud_rec_clk0_lpcg_clk" }, { .fw_name = "aud_rec_clk1_lpcg_clk" }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, { .fw_name = "hdmi_rx_mclk" }, { .fw_name = "spdif0_rx" }, { .fw_name = "spdif1_rx" }, @@ -122,7 +122,7 @@ static const struct clk_parent_data imx8qm_asrc_mux_clk_sels[] = { { .fw_name = "sai4_rx_bclk" }, { .fw_name = "sai5_tx_bclk" }, { .index = -1 }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, }; diff --git a/drivers/clk/imx/clk-imx8dxl-rsrc.c b/drivers/clk/imx/clk-imx8dxl-rsrc.c index a36e821ba807..0f940335d83c 100644 --- a/drivers/clk/imx/clk-imx8dxl-rsrc.c +++ b/drivers/clk/imx/clk-imx8dxl-rsrc.c @@ -47,7 +47,6 @@ static u32 imx8dxl_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_1, IMX_SC_R_NAND, IMX_SC_R_M4_0_UART, diff --git a/drivers/clk/imx/clk-imx8qm-rsrc.c b/drivers/clk/imx/clk-imx8qm-rsrc.c index 8412fa349569..634bc3058657 100644 --- a/drivers/clk/imx/clk-imx8qm-rsrc.c +++ b/drivers/clk/imx/clk-imx8qm-rsrc.c @@ -65,7 +65,6 @@ static const u32 imx8qm_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_2, IMX_SC_R_NAND, IMX_SC_R_LVDS_0, diff --git a/drivers/clk/imx/clk-imx8qxp-lpcg.h b/drivers/clk/imx/clk-imx8qxp-lpcg.h index 2a37ce57c500..ebca8fa9268f 100644 --- a/drivers/clk/imx/clk-imx8qxp-lpcg.h +++ b/drivers/clk/imx/clk-imx8qxp-lpcg.h @@ -42,7 +42,6 @@ #define CONN_ENET_0_LPCG 0x30000 #define CONN_ENET_1_LPCG 0x40000 #define CONN_DTCP_LPCG 0x50000 -#define CONN_MLB_LPCG 0x60000 #define CONN_USB_2_LPCG 0x70000 #define CONN_USB_3_LPCG 0x80000 #define CONN_NAND_LPCG 0x90000 diff --git a/drivers/clk/imx/clk-imx8qxp-rsrc.c b/drivers/clk/imx/clk-imx8qxp-rsrc.c index df09f2a7996d..29868e686921 100644 --- a/drivers/clk/imx/clk-imx8qxp-rsrc.c +++ b/drivers/clk/imx/clk-imx8qxp-rsrc.c @@ -54,7 +54,6 @@ static const u32 imx8qxp_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_2, IMX_SC_R_NAND, IMX_SC_R_LVDS_0, From patchwork Tue Sep 12 09:19:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381143 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3E21CA0ECE for ; Tue, 12 Sep 2023 09:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233558AbjILJPd (ORCPT ); Tue, 12 Sep 2023 05:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233322AbjILJPU (ORCPT ); Tue, 12 Sep 2023 05:15:20 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2088.outbound.protection.outlook.com [40.107.22.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D069C1701; Tue, 12 Sep 2023 02:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVclAdQU2ekdPKfBS2ikIV0FjxMXA+b/taXdOMSjm+cpSAE7jtPuch41bKi5erJdYRFBtw8E9uCMlpNcp3w6I8FPbMO4tGyDHDHi2YBoe/FPH1DrpBbVKu4QclLc1Yt1LevL5PfUDneJOW3m3nmAmIlLI+bcYN2hZ+KVlDDNtbXYoDuWUmToHICX7tWCBJn/KpRkWmYv360ohBMzTTG88XJw+Qzps9VndaIE4POZwMVv2TwUjEyKtynvpzjqBHRAvVMbbIaQYAXGBuCSx+XbXMBAzagnjkgbEEQZcpXtlUzymBcxVNiRbxgD2OWoDePwvJm+gnqyGYAChhqZNMjgtw== 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=WZ6MxPoO6pbOIdCJN+Ls8KBvrIEJlQmdHp1HxuzDBVk=; b=C+1+l3FqNosEwWahab8wwhzWT43z+lEsj+gJghr0Afyx5ourDwZKKAAnzECuZYgLxMdDc9Z0UJlW7qbTLexGwNz+yQVodTADgsoxzVCiykuQfUBuNtJxDHjyH2N3tRIViSJ14S3q4bkVXkg4T/OXDiyLB3UE+khfN3jVO/hTggTmNf+w4qKkSaM5dqSqgNHugwzOhLMvV9YSv1+5hDGnvhamWnriw6gB1HtMGAAId8F024NfODjyGf6dY+zSVf+jjJPIoNiaedpZtsUVpwOiZ5cnvHyKjAdb3FOp7VGAg5ovHzD4nEoxUsXTLFuQsXJlglHLrhG9SzwDnjs6z7wL6Q== 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=WZ6MxPoO6pbOIdCJN+Ls8KBvrIEJlQmdHp1HxuzDBVk=; b=YwOOlPv9UWHqC5hR8m0VEzqLMQmsKyVCJQvvwsA6FsLvwimwttnkznDW1/vO7PchPXmkfilcvSg+jTnMJ+fJmN49olIUURNQ2Dc+urkTOsfAR29s86wB79mtVWj8nTabE734Ynf91aJAXS9J98rFH8izTi5meKayGkZ/tPJSag4= 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 AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:15:02 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:15:02 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:04 +0800 Subject: [PATCH 6/7] clk: imx: scu: ignore clks not owned by Cortex-A partition Message-Id: <20230912-imx8-clk-v1-v1-6-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=2416; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=nH7n8INf47JK7uOfFevP12wS6LNZDQbcsvG6Nkp3f0Q=; b=VmYbYTuGv8t2IfT0HGAa/H/S09PPzDDaLmIbHkTOOnrHLbQ2U4PiUqemf1OsxyuK+Sjm/AjlB s/Yp+UsdQnRCSI9wQE3HPvT4Waw4S3LVtZdohFxBJXhQ202v4lJxE6M X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: ce467042-4639-4f80-0efe-08dbb370be8e 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: GzaN+Hv0zpHq2X4MGtq4SfLgY7jnGZR/6MVZzhLzpItrCZI5TZFJl+U9RRNHXdwV014hkRvsVPJ2TValGqNCVhXgnSPTfmC7e7zVB4v+M3/B4Q7Ee422eVNJsGF3t/ruFHxqgV495eFtiAjAU4HB1VmpTEJWEWIt596M+f/Pt8ygNoeeUCrUm3w9DcrwZIkR/mMuU+QDEVbwH7kue3NtbQgVPsDiWynk9/DB0epNZRC5iTSurfVhbYeW8llRyyQVkHfNZwQ1Vqv//OAKGY0iKe9RL1w32utDcJp6Y9c+wsNRW89e7TAQ+EFH2R4s2NTpAg+UZWeeuGmtNEhvuMPl7igBfYPpwFXfkRK0O3s2LJH1og1FGO0wlMFaZytbcqPdqWqvROu2D6lJqD5aWoJVh+BMt3vsEOxy1V045jlsCT3pygVWBcQK+Ex/TX0kOVyZgXWTxJIoTPSuHap7TMevSoIBC/Q44ZNSHdgjSUwlJGA3vSRavTDyvhsj0z3K4c0P3GbKJ006Cyw9zNDEEZVsPneVATyQvU38z37RnWLYED1KjVBfGnDnOUHwQV5EWIu97IKBtzAiLklq4GYOZda+jTDyBQUGei4vTN5XRXPyILhlboZs+KGE9p+wKBfPj5eA15QCOK+ZPmSeoW9QUKyEUQ== 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(6486002)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(38350700002)(38100700002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zW0dTd1V4ZJ4j4m8cCNSo46/xsvo?= =?utf-8?q?hCR7/6OXfAKUBSfrVbk9UdORlCqvc4XGjKUgbpequ6JOIT5Jn4ISjlpvyhgmcPlIt?= =?utf-8?q?tphUoBe+DXEOC42no5FZBddeKzzPH28CVDZr/PIfuyfDtmAiF5JML5ARdXk4fF3EK?= =?utf-8?q?2zJOQXzowh8yFUv3PAGm0ApjGaIJA/6ximnGA3ywPcMulfiW8b3Aun4Ni/+nsbJM7?= =?utf-8?q?NUFvJgtK7WNR1TgHnX7AFvtyLgYcb969hgHf1gKWmbgsgUiWY1OALes+ymZfP50cJ?= =?utf-8?q?CKQ1RyUtFQvuyS1IGKgHegjSzoKraWdj1//BUf9gMrw+EOfpmKKKrtqeZ4bO1ojVV?= =?utf-8?q?gL3xbN3s45tE9kvL/wno+LcDeij2cBnwEFg27zHPowm1xHjtK7SSP1VpS4QDqFPZh?= =?utf-8?q?kpIEyUoAQw/6AuASFmV+bacc6u1GWoRpCS7svi7ABDe6kQo9gPhjayLw7SNKzOVtk?= =?utf-8?q?gcBlrtW1CA64FvKM2n3IDOkioBSK+0TRhsRbw/iuwIaRh9yvXmeFqQg45z7Ztxq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Ixf?= =?utf-8?q?NYbCVNY9i5mCKfSye+czVXhA1rUOavVV2dGYvTPSpr3vckHYqeAn+673rGUM7pb02?= =?utf-8?q?T4dSS9j1KKEZW34hWpc/EBUyoz3v0V/0Sfzs4uPTKo2Ab8WWltQY/FTa1KvowoWys?= =?utf-8?q?iC2/uvp/KQHR?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce467042-4639-4f80-0efe-08dbb370be8e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:15:01.9649 (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: VS0c6VQoMeGFxWwD333bANGOxSEMj8Lo0/WqxQISWtmvGefTFGRrzsFQgcsq+HmqIxxY4E1RoJa99h+2yRxSmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan Not register clks that not owned to current partition. CPU resources are specical resources, it is assigned in ATF, not non-secure OS, but we still need to allow cpu freq, so return true for non-secure OS for cpu resources. Otherwise there will be error log if the resources are owned by current partition: [ 19.387291] cm40_i2c_div: failed to attached the power domain -2 [ 19.389305] cm40_lpuart_div: failed to attached the power domain -2 Signed-off-by: Peng Fan --- drivers/clk/imx/clk-scu.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c index cd83c52e9952..be89180dd19c 100644 --- a/drivers/clk/imx/clk-scu.c +++ b/drivers/clk/imx/clk-scu.c @@ -10,10 +10,12 @@ #include #include #include +#include #include #include #include #include +#include #include "clk-scu.h" @@ -670,6 +672,18 @@ static int imx_clk_scu_attach_pd(struct device *dev, u32 rsrc_id) return of_genpd_add_device(&genpdspec, dev); } +static bool imx_clk_is_resource_owned(u32 rsrc) +{ + /* + * A-core resources are special. SCFW reports they are not "owned" by + * current partition but linux can still adjust them for cpufreq. + */ + if (rsrc == IMX_SC_R_A53 || rsrc == IMX_SC_R_A72 || rsrc == IMX_SC_R_A35) + return true; + + return imx_sc_rm_is_resource_owned(ccm_ipc_handle, rsrc); +} + struct clk_hw *imx_clk_scu_alloc_dev(const char *name, const char * const *parents, int num_parents, u32 rsrc_id, u8 clk_type) @@ -687,6 +701,9 @@ struct clk_hw *imx_clk_scu_alloc_dev(const char *name, if (!imx_scu_clk_is_valid(rsrc_id)) return ERR_PTR(-EINVAL); + if (!imx_clk_is_resource_owned(rsrc_id)) + return NULL; + pdev = platform_device_alloc(name, PLATFORM_DEVID_NONE); if (!pdev) { pr_err("%s: failed to allocate scu clk dev rsrc %d type %d\n", @@ -869,6 +886,9 @@ struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_na return ERR_PTR(-EINVAL); } + if (!imx_clk_is_resource_owned(rsrc_id)) + return NULL; + clk = kzalloc(sizeof(*clk), GFP_KERNEL); if (!clk) { kfree(clk_node); From patchwork Tue Sep 12 09:19:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381144 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40FA1CA0EC3 for ; Tue, 12 Sep 2023 09:15:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233543AbjILJPw (ORCPT ); Tue, 12 Sep 2023 05:15:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233553AbjILJPd (ORCPT ); Tue, 12 Sep 2023 05:15:33 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2067.outbound.protection.outlook.com [40.107.21.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43A6C173E; Tue, 12 Sep 2023 02:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KTRiNrN6Z51O9TvHzQvfEdqS9vjYaD9wABlbEE9u17nM2S2grsBvyhOYQzf59oc5iFiEZMZkR8eV+c8TQemYC3jDoQHw/6+BxGG7+Umy3+vv7HdUwgfQTRAOzwEa8AxSLMA97WAZ/IJDMG6tCud2BIdXPsRD6CY3HsW8utoVwiRVgFJnTwXbD4IPrBERjhsjHv1rl04bS87OuL5tvMuBv2LRCkNzyNZt7q4dKMEPEmvjy3kD3m6MscrLbAUpC0sTcocgnKYn0mWDtmrILISA468w09gZ51W3StKgqBcqjqFC6QLtVMhzS7mBigVZXiv5p95GZe8OS3DHk36jKUxifw== 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=HfsC8MEzULGQZV38YPuv106MVBSjBgDYtneqmY8F6oI=; b=Ix545zN9tnu86akJpoG1Wh5wjIuFF0f3UvA9zVP7gcFvTMULoMftSanWEtHWWPnbS9vR9vqW3Ir6KogJ2aQb1hG3qujhNo3ug0HXxAlmSJ+r7finHbv1pOQWTuutCpbiH1jbSTn8Yrj4eAS9Gw0FgkgfWzer6lL2rKcq9NKu5k68hgb3nC9w8jymnlo3RuXeTOOm2/AR45Q7kQdUj4gfRAwAIcFjiEyOI8NXe8fNIqOehcyZU8LJqsyuRAyVcD7cansEvg0CA9MOnqIzduF4ULNGqNC6V6tcB/d1Hv1l0+iMH7Wfb1FoUfI2CqTrU6Ug1T0MoMM4SKOTDqDijvgKQg== 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=HfsC8MEzULGQZV38YPuv106MVBSjBgDYtneqmY8F6oI=; b=Qp2iJaaXsg3V2a5wGUNXCxkuNDFaSPfJ4ub/XSOiMgCaiSyWmq0xC85boe7p+KGM7B4RqU3p4y2vGLxeGDjd6zqkdfCQqkyu9aPxaHY/AkmQtKqfle5HpIiykns4r226qVmroOUmIUoK535EqtfCkP/fK8PdF2nGkzvVDuk7pBw= 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 AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:15:06 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:15:06 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:05 +0800 Subject: [PATCH 7/7] clk: imx: imx8qm/qxp: add more resources to whitelist Message-Id: <20230912-imx8-clk-v1-v1-7-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=1280; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=JzVsxHSliJ+8+mkqHOx1O7ZdaS1GjwoTEQ7ca9cgwUw=; b=UG2u83ud0nK9LJI55Tjyq+riN+T5//I6DJWtv9WUhoY+WCkXm5TFMwP4nv4HC+PQgnRxJdbIg Xpfw02SdpoEAS6NlTssCvnmcfO1IHQYnblR2yRBiJpG6SvLnL/vzIOx X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) 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_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: 90f92fdc-f6f2-4d2e-2061-08dbb370c127 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: Ay8VOgCXRIatCIcUqK25Tnaike8kyPsC2/7mxModTDHYSR34DmV5qjsg00KQYQi9ayU51aNPtVM7qkfqS+D6TiKFQwo5MmB52Ic+Mve7GDAUzgmpoNCTe4gUYPfcSiHqTOzWfgJZeKLOYCUct8AefINdlVKv74v5CfmxPt2dp+32o46G84gVnqp3YhhtGmMr+1SbIDR+y3MjzIz4FP5KoYvOMoNJLqAinQi7TnbBlinbywFEfX2vKdcXxWIAcOSljDqVqZNccIYvDvY0HwE3Jx4LSjyikqbF7RdKJCPmo4Q38OY2Pb6o3aS08TvmMRenK+YBQd/YrWdi5Gk/6MgcPW8aI5CIG24tPasVtHVqx2LpFRkRRdjf999xE5+rattNpokqXfEuG4VdP04ktiy9+/QXvlz6TCrzPvFykjYMQMBTmrz7MUHaRcol3vP4NBS7NUimrm6/H+WlrFTxKJdIm9o24uJBHYfzjd3KUa2LEI5RIocxEg2nV9wLzZWYvONPlgtscnfmDTn/VR/QHk7cyAITVUAhWAYORTFPcRGeT6SARiq0N0KcFGWg1/sQObzU1ldQ6cCJ+p+FebtSD849R/nTsZtCofJBy6PeLCmmSPlfo669RslifCrR3LsXyDcgPPB/stQaDzU+18RC4HSP1+ghh7lxgHpRedims4a8pSE= 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(6486002)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(38350700002)(38100700002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?jsLeMGHwaGhecrlIJnjzc/9yEld5?= =?utf-8?q?t3JfG09ylB/hS4pFBrAaoqHzLEab2ozbT5tuCBN13R8QQzD//VK/ALn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iKq40ecERlI0IAyb9a?= =?utf-8?q?u+GZ6mqJBcqPbnp6dKhe5Lywp0nshCW2IAZ+biM5IEpg8U9ZbkcvNYuhgWtJ/6WWe?= =?utf-8?q?tMpkskQ3DoRlDyOjcmhUZfxxl/4tMWzEQTd/yfmNqm3eITslISOJRXEWHdKEp73xz?= =?utf-8?q?iIKUbOe3yQI8rnY4DzSG/xxz5XHMLjDZgV1Oa56XOWVAhns4aFHFtooDCCLftukPW?= =?utf-8?q?JYu7XJLcSgIayoxNSsb661tNqnzDfrDU8XisFoDS/4Ww72aQ2udhTOweJ2PVyFLeb?= =?utf-8?q?nbpZcsql189MaB42X7bq2LMvhfI2L5F1Uin/CW19cjEXvqkfySE2SBpiIr2m0qbfK?= =?utf-8?q?ergf1BgIAQ0uZ3Zgzl9M3AtMSdsW4nnU0PZPYAEfJfTiqtaBHJZ2bqiNLmKD6vGEX?= =?utf-8?q?hbY5p3FvgFAwAWIjypfJ0O+4j4Sj4e7f7wKMVULflTAuADY2YtzjphP9G4o71W8uY?= =?utf-8?q?2Oqj2u3Sx8Eo11DuK3huerGR5DYjgT5lLOfSseRm06Ehi9utU/bBH4jSj3f5nXQwb?= =?utf-8?q?fmZ6z2uz8/xHsDByL3dDJzOzT5uN0KSQH3hYpdD5c2aTrpjydaVeNRxzN5XMIBDrf?= =?utf-8?q?0IFdBsMUJnAN?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90f92fdc-f6f2-4d2e-2061-08dbb370c127 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:15:06.3002 (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: pac3VdMg/d/bogmWvHy0nR15mPRlrsa7orizprcQHJedKaJJhNT3MRLk12GzrzHBVDSrr4RjNEnNPEg3YWcx7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan Add CAN_1/2 support for i.MX8QM Add M4_0, PI_0_PWM_0 and PI_0_I2C_0 for i.MX8QXP Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8qm-rsrc.c | 2 ++ drivers/clk/imx/clk-imx8qxp-rsrc.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/clk/imx/clk-imx8qm-rsrc.c b/drivers/clk/imx/clk-imx8qm-rsrc.c index 634bc3058657..dadfdd9a4541 100644 --- a/drivers/clk/imx/clk-imx8qm-rsrc.c +++ b/drivers/clk/imx/clk-imx8qm-rsrc.c @@ -43,6 +43,8 @@ static const u32 imx8qm_clk_scu_rsrc_table[] = { IMX_SC_R_FTM_0, IMX_SC_R_FTM_1, IMX_SC_R_CAN_0, + IMX_SC_R_CAN_1, + IMX_SC_R_CAN_2, IMX_SC_R_GPU_0_PID0, IMX_SC_R_GPU_1_PID0, IMX_SC_R_PWM_0, diff --git a/drivers/clk/imx/clk-imx8qxp-rsrc.c b/drivers/clk/imx/clk-imx8qxp-rsrc.c index 29868e686921..585c425524a4 100644 --- a/drivers/clk/imx/clk-imx8qxp-rsrc.c +++ b/drivers/clk/imx/clk-imx8qxp-rsrc.c @@ -58,10 +58,13 @@ static const u32 imx8qxp_clk_scu_rsrc_table[] = { IMX_SC_R_NAND, IMX_SC_R_LVDS_0, IMX_SC_R_LVDS_1, + IMX_SC_R_M4_0_UART, IMX_SC_R_M4_0_I2C, IMX_SC_R_ELCDIF_PLL, IMX_SC_R_AUDIO_PLL_0, IMX_SC_R_PI_0, + IMX_SC_R_PI_0_PWM_0, + IMX_SC_R_PI_0_I2C_0, IMX_SC_R_PI_0_PLL, IMX_SC_R_MIPI_0, IMX_SC_R_MIPI_0_PWM_0,