Message ID | 20230731064746.2717684-9-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1849151vqg; Mon, 31 Jul 2023 00:24:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHT3drE0RuBvnuQsibX0eadr8jowqPbOOnynVCjSYg0MDJ3WiEHQ/bgymIu0WCmp49T5skB X-Received: by 2002:a05:6a20:644:b0:138:60e:9c4 with SMTP id 4-20020a056a20064400b00138060e09c4mr5938241pzm.23.1690788243375; Mon, 31 Jul 2023 00:24:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690788243; cv=pass; d=google.com; s=arc-20160816; b=NBiKpZm5ZubcqdQi2FNpwkVJ050/+lAZSAy0ZqaF18UX/+FFA796DyuAyZZ3SArXaf 0k9QjeRucQzG8YCwuk3YH0P9quOo5aL14j6vQc8p+IZbtJL05akGwOQEzjcv7OLlA/5a sGoU/7YcgMNohtt7/IjjDTyU2WbtLQWzgbpdrHGkptgc6C+ysKv2/Xe2XgRMkwr/lljo Jy79IpYg3thzax6D6/R368+EaCxRegpHw9ppQfFLPxMhQveaGMJV+1l92Sm/2DefHF/X qU43JX1QDUC1T17gVTAvFy58H6dRKBgNgxeI34GHiqpG4/aIAa1m/wYzAHMZQD95S87M 9IJA== 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=z6eZg2SXpnwBey6uGP5mOAlS2QAU13HzikrGZ4cybSU=; fh=0xiCqA4KzaosMUrPl9g1fBbNf0iIJCCKz5qq8dgY0Qk=; b=OT4zFFKf7repHY5A4LNZ7nClVGsJFtqRx/9muI0EJOfFo6OLmX7Ptwj30rHn9/ibjF UFCYNSEf93pNtngS1Lslq95Oi9UxzbFOWmi87R+Dw+yriD/e299qyAgMfru5tkI/r7mu yVnkPBqdCgoiULSnt71r5iWyWboWGw7FmmqMXcyAcY+ciYoIneoX6M1zZdYl/2ZWiWb3 /RZOoFp7xvY6OMu7JCaGteRIB8qVU8IYmbXoxLXHqZRJcdRRfKDyakARX5cVD0v5xU82 mJVPEZ59lYzU9gEa1JsIaSCtniUR8nyoN9djH1BYambUij+gpMEFB0SOXXAQDh49uCuA sHYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Uts9sJf5; 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 q9-20020a056a00150900b006828982043csi7166431pfu.141.2023.07.31.00.23.50; Mon, 31 Jul 2023 00:24:03 -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=Uts9sJf5; 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 S229685AbjGaGp1 (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Mon, 31 Jul 2023 02:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbjGaGpY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 02:45:24 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2053.outbound.protection.outlook.com [40.107.241.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C696610F9; Sun, 30 Jul 2023 23:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mMzVwntcOuyQyOY7vPYwt7/q/8nFzOZWd6LH7AklugegoPlqykJu8pYbnDqWr2Wu9sauds4290007BiYZ+vTsH+Ln0IWs/99ba/6GUHPos/zyJqiFVtc1PMVO+n4Ebp+YxM3vsRUJg8hNE80eValTbgvnxAmajwexkRnyH8MEhwPfaPtIh0rZwxnUKPMsfELB4HCQhxB8Dni/S+n2D0InksV60DGiGoPCxYxi/ubTONnybWJ5cKfpCacaJUxW9Mxbth9G0BmAyjgqUMhzEm2McOAYRHGCjUtkaZ/LvDAAg/qu6WZzPIzjyYp6mLJo5+M9DQdozwKdePAyNp6XqKWiw== 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=z6eZg2SXpnwBey6uGP5mOAlS2QAU13HzikrGZ4cybSU=; b=PFRf7asxvTFUszxY0fKO8+ch9/yJIyefvPOC6EVmhWFRrq26k9/uYVXTSMYXSIuRDAD3Thl6NWqyQGMfAfjsuXhKzJL2pdrHADC/vnw0aGWGVO+FrYyV0fU1iUO9EdZHZMt0JGxn54XAaWP2FJSysx4OpFGGmki6RdPhc/3WCl2gPaHft/UbqRlhtq9j/9kqT/8xSLp3VwGyzqTuOl433xuhyHJYW6EWe8cyXCW3YNH5XLGAk6RKVnp3OE19Dp2qohRWMPz58uKqABybZKYcqr1OI99hpT4/Wx+rqlkkFSedTIekTmGELYdlbeF9Q/Ps57cQ7jKtpzmF87NwsI0/1g== 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=z6eZg2SXpnwBey6uGP5mOAlS2QAU13HzikrGZ4cybSU=; b=Uts9sJf5npAbmtpfrTWI74gqT2b9BfDSwlCCmuh78TCsOS3K/5f9SfDOvCsUP0byOWUes4WWBKNyXaevqPsdQBhjT0RP7DNIJjV8gIGPKcLO2Z4IJvoJtrjAUW5H53J/lzdZ6ycnJRWDcPP3vc/4igFEe/c+73mUk6ouLUFtpkM= 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 AM0PR04MB6834.eurprd04.prod.outlook.com (2603:10a6:208:17e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.43; Mon, 31 Jul 2023 06:43:31 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97%6]) with mapi id 15.20.6631.042; Mon, 31 Jul 2023 06:43:30 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: ulf.hansson@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Dong Aisheng <aisheng.dong@nxp.com>, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V3 8/8] genpd: imx: scu-pd: change init level to subsys_initcall Date: Mon, 31 Jul 2023 14:47:46 +0800 Message-Id: <20230731064746.2717684-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230731064746.2717684-1-peng.fan@oss.nxp.com> References: <20230731064746.2717684-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0133.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::13) 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_|AM0PR04MB6834:EE_ X-MS-Office365-Filtering-Correlation-Id: 23deccae-04c8-44c0-64fa-08db91917401 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: o85uwYrncA9W4LHOF0mHB9u0/HgzLyU+RS8TqSZzYtSxHeQyIjVVHOMMZdDlY0ubeRXtvDn5DzHhgGCRdAa6lGRcLw7Pi0kbCPvPACyx2aX9qxVoU8TzQua/yMscv48SA7QC5EeM602AJVXiCPGdL0pK+VGONtfSxkN95QBPkyYQ5BZ3Wu5QcAiIN2lcKZLGDSMDxU9pebkZbdKt3BvJvum0E2KvfAYg6RZpobH/qo+Q6bee9TWeK1F2N1Xb9VSBX5h5/Ci+tJEmDC8xXEtl9XYra2SIFGCjtPFycCRaCODKybxIYmhpY0F2HTiPVCpMvNSHG7ExdUisd2VpfeevjoyNhfc6lZMv9brms+jSONEnb2nPLtEVI0x6Vvj0y3zFo4LJrwTEuSC3HkF8knVmVzJtM1xX5wec5rvAIQ5qq7VjF8lFf6rTGXsz1iVEcWbd7K/UqZRWXgTiWsJbnBTNHqfGkHD6qxGgYzKHdz0Cum14LnidymG9kSNX0D7xuzQSfsBsyUeF5W+Of5to++Eiq1Nl40Jnj+tKzIpRsNirro1TQnq39vJgG2am6DWCGS+cc7+jNjNWSyjq9XG3R5xV2CAzbs0KQGu6BhQUD+5Otra1jL4OqD7Xu8mHdADGtSm3 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:(13230028)(4636009)(396003)(376002)(136003)(39860400002)(346002)(366004)(451199021)(6512007)(52116002)(6666004)(6486002)(186003)(83380400001)(2616005)(86362001)(38350700002)(38100700002)(26005)(6506007)(1076003)(5660300002)(41300700001)(8936002)(8676002)(66946007)(66556008)(66476007)(2906002)(4744005)(316002)(478600001)(54906003)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: upfguargHNyC6PH4SaIWPMy6cxzdw0dTxDN/EwOvhBsFFe3ATZlA2AZJK4SZbrjhTSFmbOzNfOLGE74h1oXKWNNvtDVVRkOuSB+iN1QOwqfyOSUc3O9h5CQyxAD7VN3s3b+83UwO4NGrERG+HUR3svNIE+263SVbUVWnO4ktY7D/L3Ivq5iWhiaxCZVDuCpS6tuSR2ovOUGEA+1X8F8m4f+hmhmHqmhtxrMbvLYqsvsQaFraZXbVNzUD2EbV9e0NVL56RwSsYVhb/stzSeMluxeLFNdPyMEV5r55VE5nSTvjdKRayc/EPhORMaYvacEwanmUrsOd5KJX9epQrPeHd3fJcTenUR43Ct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YEN7oqp9bbNtobQkBsjt9X5YLIHII+NndajMAvav7r2oi+wFn4Q+ToYn6o2/JmRe90T2LwgdCiP6P6ocz/KVZZt+F0f/uzfKTZdjcxP5rGijxP3+FyKR855XU7246cZKq7P7FbT1LZQ1pQFGj0CmMsVljY7n X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23deccae-04c8-44c0-64fa-08db91917401 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2023 06:43:30.8734 (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: O9Cb5htWhZdjZgMZhIRTK6eXbhKHAHwgBswI41PPj7oxsSMq8LPmBCsRLx0DUzxQs2WLAtGJbgTx8ViiAE/GSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6834 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772919972660539927 X-GMAIL-MSGID: 1772919972660539927 |
Series |
genpd: imx: relocate scu-pd and misc update
|
|
Commit Message
Peng Fan (OSS)
July 31, 2023, 6:47 a.m. UTC
From: Dong Aisheng <aisheng.dong@nxp.com> Change power domain init level to subsys_initcall to ensure it's probed before most devices to avoid unnecessary defer probe. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/genpd/imx/scu-pd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c index 30da101119eb..0cda0999a1f2 100644 --- a/drivers/genpd/imx/scu-pd.c +++ b/drivers/genpd/imx/scu-pd.c @@ -587,7 +587,12 @@ static struct platform_driver imx_sc_pd_driver = { }, .probe = imx_sc_pd_probe, }; -builtin_platform_driver(imx_sc_pd_driver); + +static int __init imx_sc_pd_driver_init(void) +{ + return platform_driver_register(&imx_sc_pd_driver); +} +subsys_initcall(imx_sc_pd_driver_init); MODULE_AUTHOR("Dong Aisheng <aisheng.dong@nxp.com>"); MODULE_DESCRIPTION("IMX SCU Power Domain driver");