Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4078462rwb; Mon, 31 Jul 2023 00:24:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlFeDGCjITykVBKo/3wH2wt1cxWqhrJz3j4KpbTFzDbfaB/U2lz350B48UiJ182zvQ2bwGqW X-Received: by 2002:aca:1b09:0:b0:3a7:221e:7a3c with SMTP id b9-20020aca1b09000000b003a7221e7a3cmr3699749oib.52.1690788251509; Mon, 31 Jul 2023 00:24:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690788251; cv=pass; d=google.com; s=arc-20160816; b=fe6t2kT8umCQHhipJarpr++h8bVWrv/F5rl4Rp29b9JYrdCDkAt1Cg6nt9Gs5krDWh +LHumtJShpAw2VLGcBfSWKmSwYmE1PRLGflj9/Yhu/lCYgQlLpDkBGkPGObfMjwv3ESK KHyd+yy48wovOeuLSGiVdMjCgTCbXDZXG4CpfYIuJw/b35S9UFxH+qVuE7yVVUVjRr/0 PNSBoDxX/WIrczfhsmOsfM2mMDfgLPBI1lkaSlgvmCAQtxOn2c+j2Uf5ZsFQ3chVv0xn RirC+UM0T8LzJdRokOwRGO6UAU854a1hq76PMhWBPYZ0A6pMhT2A7ypD4V4BRvMeW06B 4zTA== 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=YhQoD2TPdn2oyuDeTNC+2pCtRGqQB5NBDr8lpk9WY9Q=; fh=TlZEgCjOXNq8CKSnQ5emAFoUhkQr53TmuXUrJtBtV5c=; b=SdQYuWO7anYWXJwx9fg4z9V5FLzN1EtQsuw9TAun8mqairjvNqVsWrp1sEb9hhYz8o 0aC3QV6wTDgs6GabuSGwN1uA63YLB7bWJitJCm4qFWaFUEWC5tjtnTBY51VYiQDU096h 8izQxa2n4up+5dEdECyAxtO35QDOYeAGN3m9RCgS3FMHffLSbSz+eYBIyxmP8y8LpxHO 10J+uhdguhtoH/uunMBfKmKaosZtYUs5O+FKgTTgwR5ifefyh4ENUIRF6/yx0/5HugH5 1wX12e1UgDm+1uFruzjhO3bGOV3T7z2d5/CrBG7fAVooI/zwthYij0/yHV2EJPJNA4OW yYig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AabOEozm; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gk10-20020a17090b118a00b002676612ea3asi6980086pjb.132.2023.07.31.00.24.00; Mon, 31 Jul 2023 00:24: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=AabOEozm; 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 S230239AbjGaGnV (ORCPT + 99 others); Mon, 31 Jul 2023 02:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbjGaGnP (ORCPT ); Mon, 31 Jul 2023 02:43:15 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2077.outbound.protection.outlook.com [40.107.241.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C06379D; Sun, 30 Jul 2023 23:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nv9sa6UaqDSAgSMEgRKHiALA2qIO3JImwAbTer5kLG4Lu3S2XsPLTNmh2ob2+ckfUs5p95sqSBy96L2eo1hITf34EhQTb2PXfUqDkIOKHWjwzfgCmp416XEumYMwTcJBaG1GbJDipuvHkp/umhkMKQXEi/foobUwSYTrUw1BsViAjS+LwkzOsQvtm18fbrYyBrztizDlXdfJ5EFW5A2Z2UXEsk8yF26SjcYOvg5GyyiiPI+3NakxFymTxNUZ2PHpgba8MGN0kCvZmmL4DdyU3eHIwhMSLD5cXUZrvkosz0WPhhrKXd5jITXNBOVqsUHnFDc6qbWis/+a94j8bFe7pg== 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=YhQoD2TPdn2oyuDeTNC+2pCtRGqQB5NBDr8lpk9WY9Q=; b=EVIsfA5BjkPAdLdFyLvx9yjD8cDedGWitbM8/uMqBUi8jIMQS8KD7OxJInXmet/645RFYY8DNuv7muIR9t2IEYlZ+IkgiXHnfjnkZFElIRpgeKCi3FUOnb2gsUgBJaj9raWZskpNTvPY1BoVjAHo5IZ6UGZJk7351TxWlyWFEga7ptmVu+dBEnNVcnflOzwUIJs0FAofSWxyq8VMa7xaqlOJpCj03MFbzAo07ffhxFyas/EMHywhF00saxz5jn03jA6zt8m/t22EHBQzNgusbncTJpMGfR/wGizVnknwt48XVmWNLAssMxF57ivmJ9wo0sk0oCI6aWnyHH2gTLkJ7w== 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=YhQoD2TPdn2oyuDeTNC+2pCtRGqQB5NBDr8lpk9WY9Q=; b=AabOEozme6eDOhyj10cU6S0zZ1gwUG2IrSDajSIdjBoM7H4Y36zHHB5GsZQT899H45FzfJwbW1wacm8o+G6QLoKwt/gXETMCc4KxabfBp+a/WtJDhf2x65MEQf0GVbgojwrNzwIJ1yI+9kwg5nBB4N/6xiTpDBifkWU+Qy1H1lo= 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:10 +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:09 +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 V3 2/8] genpd: imx: scu-pd: enlarge PD range Date: Mon, 31 Jul 2023 14:47:40 +0800 Message-Id: <20230731064746.2717684-3-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: b19362e3-b696-46dd-4f84-08db9191678e 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: zq7KXu2bw4ntQ1C52QTtvj3ds8uv+AAy5FaidWOaK6mWzDPopdFQYPz3bonnEhqWeCUVfYTlIOGeVnlSTmXRt2J56g66kXtQNPYtZ3Saq/2dR0KdK4f77ApxGR0zMzg4rQq6s5o/RZLv3GQDvSh8yTlMyZc/Vl/Jbfz/9xjDOQa8RcbSkqPlEAsYN2ySxZQddHOhqKFqfBAlJws2exgOQ8S2SfotRrXoMkxzHRJNrSKj7/qLMxvBwRXOgjV83MZt/InxxqztaE21eYpVI5/yV4ylDXYQiGz2tYTIGY57NTrpfLLnzwTSfkxaj9rPieaaV0jncJB6udVAf3ZjK7DEqg8GomIVqwUJS4cMOVyiwu3W5BdVnMHYd/IOSdOAemug6t71VyevioonwuS1PbUwrdzfuQNHx4hNnJsNMQmt2onk68CJ10jjxWEn+pvcx3g9G/FjLGMI5dHNztJFjyJ+MUarLZfBAUInxmrsmMefhCwBRH6v1CfI+Sxg7/jYG5sjwEIUlfcaPLeoTFKptpafhH9H8pbTfaTDmgk7e7xbKzA5DKIWEMkAaYOXdJWqqhaCGiX6duP1aeYTr9zrmehHcLdstAreD7GSm1YhVch1xGySsgNLXPuYWmA9OQH+sC585W7908cgSxVp4xNk/Hd8+g== 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)(316002)(478600001)(4326008)(147533002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?17YxNnsw6nQvGmA1ulXCQMWYzUIO76aN4EP56gHWJSmM4nzYYVg7hYo9eruC?= =?us-ascii?Q?kzsim2MgUpYK4akk3ThXWPo5e1lS2ezrqNZxckvwhI5eQd4D2ZMoVtZOJ5A1?= =?us-ascii?Q?ftjTiqSXMV+NvZITUqo53IzRRug0h4kyIDDcVfQR9L4KJYVC/av6sqPPSSXo?= =?us-ascii?Q?UFNR8OO0cuAxuXAmPHNtvoNAqgaRnMM0qx+Xf2XeP+oFhngYOa4NpegpRnPz?= =?us-ascii?Q?5LZ1zDX8Of3/3XIYnkhbNxBEUbJVir3SzVHJ9vbYOxiofFZm5yvfEjOdSzV9?= =?us-ascii?Q?/vInH6/AdMrTpHBztxWt69PsoS0wzglDPKommoc4cXTUBRRUYQw2g4WcVTXF?= =?us-ascii?Q?WTIRJqmUAJtqfJRBGW4JXcCmtKV339eMLwxZvtlCr22xIWWN4jZR0tvsHICt?= =?us-ascii?Q?h76KL+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BIK/AjW5gAtMSv49oQk?= =?us-ascii?Q?gm0q9K/Ns/CViGMqwujxDftO5ZgFzivlYlyvsTfuTlIx3OCs3KFlCezpDvzP?= =?us-ascii?Q?apWudH/oo3MU5LKkwkTcJSV5JjiASU0d6PT2ZNorTtaWQPyBKxN2eiilYLso?= =?us-ascii?Q?xClWCAeZZbkwjIADyTG776dK/x9miBj3sH+tYBksyHI9N+6M9PKggRMzY/5t?= =?us-ascii?Q?ChY/K089XryePYtTdyH0jv6ksWNntduEE6+/ftBzq8NuqdhWX9/W88D/4JvI?= =?us-ascii?Q?nfjxiBO8CpF2gdwG2WFCoT6Aac5GQRLNSZGETJS/?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b19362e3-b696-46dd-4f84-08db9191678e 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:09.9297 (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: PL2H5nV68GIAJAMGUS4t25sZhTJuvc/8//YM9M36+8m7PMryxRD516zI8l2RvXNPlbMB9VVuaz8YIRLIQc2SPQ== 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan There are 5 LPI2C, 5 LPUART and 32 DMA0 Channel resources per imx_rsrc.h, and they are in i.MX8QM, so enlarge the PD range for them. Signed-off-by: Peng Fan --- drivers/genpd/imx/scu-pd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c index 84b673427073..5a28f5af592a 100644 --- a/drivers/genpd/imx/scu-pd.c +++ b/drivers/genpd/imx/scu-pd.c @@ -121,9 +121,9 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { { "audio-pll1", IMX_SC_R_AUDIO_PLL_1, 1, false, 0 }, { "audio-clk-0", IMX_SC_R_AUDIO_CLK_0, 1, false, 0 }, { "audio-clk-1", IMX_SC_R_AUDIO_CLK_1, 1, false, 0 }, - { "dma0-ch", IMX_SC_R_DMA_0_CH0, 16, true, 0 }, + { "dma0-ch", IMX_SC_R_DMA_0_CH0, 32, true, 0 }, { "dma1-ch", IMX_SC_R_DMA_1_CH0, 16, true, 0 }, - { "dma2-ch", IMX_SC_R_DMA_2_CH0, 5, true, 0 }, + { "dma2-ch", IMX_SC_R_DMA_2_CH0, 32, true, 0 }, { "asrc0", IMX_SC_R_ASRC_0, 1, false, 0 }, { "asrc1", IMX_SC_R_ASRC_1, 1, false, 0 }, { "esai0", IMX_SC_R_ESAI_0, 1, false, 0 }, @@ -143,11 +143,11 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { /* DMA SS */ { "can", IMX_SC_R_CAN_0, 3, true, 0 }, { "ftm", IMX_SC_R_FTM_0, 2, true, 0 }, - { "lpi2c", IMX_SC_R_I2C_0, 4, true, 0 }, + { "lpi2c", IMX_SC_R_I2C_0, 5, true, 0 }, { "adc", IMX_SC_R_ADC_0, 2, true, 0 }, { "lcd", IMX_SC_R_LCD_0, 1, true, 0 }, { "lcd0-pwm", IMX_SC_R_LCD_0_PWM_0, 1, true, 0 }, - { "lpuart", IMX_SC_R_UART_0, 4, true, 0 }, + { "lpuart", IMX_SC_R_UART_0, 5, true, 0 }, { "lpspi", IMX_SC_R_SPI_0, 4, true, 0 }, { "irqstr_dsp", IMX_SC_R_IRQSTR_DSP, 1, false, 0 }, -- 2.37.1