From patchwork Thu Jul 20 09:16:58 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: 13320207 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 A4A36C04A6A for ; Thu, 20 Jul 2023 09:27:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229790AbjGTJ16 (ORCPT ); Thu, 20 Jul 2023 05:27:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjGTJ1k (ORCPT ); Thu, 20 Jul 2023 05:27:40 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2069.outbound.protection.outlook.com [40.107.20.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B719B270F; Thu, 20 Jul 2023 02:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XKiNUSoc0xrcInj3h0XcxeVd9cTE1B6fW1TUinvImYdNvt3jf+/1VqG6pgagI3VVnZTMp1ROX4BktoJ4+aeaOSXV7hHn8mbC5l/ET2yX6Je7rdfH5xIlP4lUKBT6d/76iJBfk7x9hpIUkm56MGkCf5F5U1rWhX1itbQLkeHl83YdiOaBbtlKZnfsOGIotPCFkGUCfS9Ylakx7VY12qTK2LMvNWy0A5g2ezUAEtlPm56PbzMdZ3JaTSZwzEiZwIEV0UGfJ/SGYp41AVVqVDBma5VSIQ/Y45aUBf88OV7lYyAhhmvt3TuV7P9w0uQShj10yqpzlLK0hZNIZrhWcxH2zg== 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=ORzNhWeeNhvkI0mNLRqcgjIfNcSqGQffHhzG9ffl5Ik=; b=AP7LxgwDKfCThmkRDCirYQZxuDiDDtwEHza/2BQsJ+cnk9FRnrGtiWhlntDx2NJoceT6NtwUmfaPxi6bRaz06xweI+g10Rl7ojaeaNdFmOEuj7xfzfnS4gvWaumi6bh8M4xMBrVaLkaTYlAfXlALfqzOzgt1Yt0b6V63D5mj438a0mgm1id/hWQfpmfJ5arxnt5BZpU9BiLzCESwEeEYrCfQLexelXx7gx6A6VvnNOAZpZNyUy61yku1GvK6XZEGXy37+gvfiQH1HZHFJsjRg264tHzFnE8E2jswlpAOBABOaLRpa/d0dhEvpY8XKVWQNLC9rrFrtzQcteN+zsBBXg== 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=ORzNhWeeNhvkI0mNLRqcgjIfNcSqGQffHhzG9ffl5Ik=; b=GTHGMReHkHtsYImOVM1AP2KFXvgm7USWd2kYYP+ox/RDb1d/Zi3K4GOvGE82QyD+5g8PA38NdFp7+FQkQxtlEtHsA9ML7gMQDfht0iUar2sYSPmcdWg3iqCmSRVcFjyGZFuxLm4sdAKOhe/sChhogCM7jdTthlKP5c8MpG88DXo= 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 PAXPR04MB8943.eurprd04.prod.outlook.com (2603:10a6:102:20e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.35; Thu, 20 Jul 2023 09:12:34 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c874:7c87:c13b:64f8]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c874:7c87:c13b:64f8%5]) with mapi id 15.20.6609.024; Thu, 20 Jul 2023 09:12:34 +0000 From: "Peng Fan (OSS)" 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, Peng Fan Subject: [PATCH V2 5/8] genpd: imx: scu-pd: Suppress bind attrs Date: Thu, 20 Jul 2023 17:16:58 +0800 Message-Id: <20230720091701.517197-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230720091701.517197-1-peng.fan@oss.nxp.com> References: <20230720091701.517197-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR02CA0044.apcprd02.prod.outlook.com (2603:1096:4:196::17) 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_|PAXPR04MB8943:EE_ X-MS-Office365-Filtering-Correlation-Id: a1f8dc64-0764-4b16-4cf1-08db89017407 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: LPQ6kgH1YEAdWJaoMTWQifCbrjAGZvQyRrmUPnQcwwOLYzuUe2r+EaHwPoBiifNG/HzBcOnCO0Xc69hPq7JUvJh+lYzPlhm6QB9/BNbtK9TEl+SV488jWXT2+M/GzVTJrkMCPhHL5DLX9Ldg5TV/F0vFm6x4gUcJsh4wd+WZwJo7F2qiTndyKxxODzFZ593o/Ft9CiAZz/LA+hD3/ubPNojn+pIjZz9ypX5Y8oxmzkwr89WU17mC2JJ64bpPwgJqk90sHsLt2kO6NiGfGC4fGM+IlZx+mVqPTxnaoXDPCykxeYqC9SKwCHvkS1+h6nMgm1dWp7L8hhd3PiPGIdi3eyN6b7vAI5xHLZ09jpZ748kcHdhr8+JyU1yyHyZzOtAy7XuNrJrtO1OkOaaogJ64wrVF3AVuWMT+oaad2Js1DfFjmg1sd60U+PjVOq0EDpCcn/kZgtNBAo3SB/E3YB5dJvPQH33ZgwplUuO9O4L1Ole06QYTsXVEWBJZhvrXlKk6FXQqmASpfZ+aTTIK4rNnJ7v4vwXHC7C+PZdU2ZVB781tEipgJHz30D2OZ7Dtg41I/NZ/fBqVbbUeNkKDTFg9NsVMTBxRYfCE91y5uRXc5Tbg8yBIqAyJiPWga66oq11j 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)(39860400002)(396003)(376002)(366004)(346002)(136003)(451199021)(66476007)(478600001)(41300700001)(26005)(186003)(1076003)(6506007)(6512007)(6486002)(6666004)(52116002)(316002)(4326008)(5660300002)(8936002)(66946007)(66556008)(8676002)(2906002)(4744005)(2616005)(38100700002)(38350700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LC9ZpAyhf1GJrUgOHTeVTuYwWVn7sKWIrOiqqFqCoF4FyrJULafs0Ss9TSFQZm8oajcfMl6yBuDXdFUtXTDrLdz8S6d+aZO4NV6GsHkeZForynw5dXRWzBist+MdYwZ3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dlISf3FM2CAB5Uah+WAKv0KYQJTsWN5d3IIBEYY1ledtdUn8PV8ywUMF6ZE6zHgw+IYsXZihXOrUvvdKSoaMv89H/rkzwMNs1/sUXiTtx+M9Kauzy31vrpcuEjwiol2qilwDPiCq1iBwo6kv54ny9S2Qj70lHhj7TE+7ajA+lovCFoTZDQknUOH97EEtui7t3HGCHVq6ywQl+49lDByqk28v5eG+erllS0iUWmkf69jBHE6NsebW9W8rsHhBrXwNp3x3tpzWF+1H68p4/I6S6vUqmbTEfkKq4wJmMsGnPdi9Y3o3AWPTP/4VXD8cL1DJZKcGB6zMvG67EI6Hi4aDji/TotH73YuZxnCVjfl9dJKjKTC60BAkAq2Rtp8YcOOj4QH5UHQMb X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1f8dc64-0764-4b16-4cf1-08db89017407 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2023 09:12:34.0778 (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: hN4Z4gCBY5KnxQOfy+JV7ZOmPqp0XiGFcTICamt2bNrnjsz+zEdeot5KpOKWa0fBJPATIoIc1TLVCATeqGTJjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8943 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Peng Fan This driver is registered as platform driver, but removing and binding again would cause system not workable. So suppress bind attrs. Signed-off-by: Peng Fan --- drivers/genpd/imx/scu-pd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c index 6770be51d234..9f8dac7950fe 100644 --- a/drivers/genpd/imx/scu-pd.c +++ b/drivers/genpd/imx/scu-pd.c @@ -488,6 +488,7 @@ static struct platform_driver imx_sc_pd_driver = { .driver = { .name = "imx-scu-pd", .of_match_table = imx_sc_pd_match, + .suppress_bind_attrs = true, }, .probe = imx_sc_pd_probe, };