Message ID | 20230720091701.517197-3-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:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2994439vqt; Thu, 20 Jul 2023 02:31:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlEFUuoNW580DTDlxj7+RtRFdwXWjaMyIeIn+BL/nSN6AI/9yZTjbGBkkNmgxhC1JFbnabpS X-Received: by 2002:a17:907:970e:b0:965:6075:d0e1 with SMTP id jg14-20020a170907970e00b009656075d0e1mr5672963ejc.72.1689845491558; Thu, 20 Jul 2023 02:31:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689845491; cv=pass; d=google.com; s=arc-20160816; b=rRmQiFLA9in8wdL1zt8xmD6ESy4F34ao8rzBXo8q1RuCZHo8h5wo0tklrY3x27I1Mv z5YfdNa0YvwfoltyGI9lXM2f7Ou6bCxFBUSMWXofS4v3xQmDAhi9Krb7totbGcrYnX9f G1+9tALCPgkkGjmKcmr5w+LFpVOzshUOtSQYFqdQshLre7k3KYmgrTEIM6XYG0rrR8AC 3WcY82tazKI/OAbUjcvVju8dDHDbG+k3ko4PlJL59SMqMiItClMn64iGK4is2PPPdlUE RDl4v2sxaKg8aMQrncd/4332LzTU/Kvg7HgWHSWnbJuqwjVRKE/DIVky1Aoi/ll1ipqm Qx/A== 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=DCI4WIe6yEhhGlu6R0iR/S3ux24YmGpMR3uN9NMM6dWncmT93SuToya5YVxSBN5FZA DyQMBi7dtxZEij50dp7A6HSCGcnZ9tz2BkfFzTsJ2G9CRvwGdnnMP5dDd5FCOS6aeZyZ J89ioCOeTB3Ts2wAgAK2FIZcjHFwlMhS5edZk9ka/hErOsYliAqanATB0CzkchtZMCe4 BfH5NZLweu0wfTLh1P9YM9LDFq87YZp4lnfbeOsrTs0o0VTIxPmbrQwg7rnvwWt8mM3S O5cIynq/TPbl5KJGN7Myks7LF69qkSZSpnElcxhu0RwwXP5zzDnmlsDmM/kJN1hvgt+v XRUA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=COiPJhz5; 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 o17-20020a170906861100b0098e08768a43si393792ejx.408.2023.07.20.02.31.05; Thu, 20 Jul 2023 02:31:31 -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=COiPJhz5; 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 S229868AbjGTJ2C (ORCPT <rfc822;chrisben.tianve@gmail.com> + 99 others); Thu, 20 Jul 2023 05:28:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbjGTJ1i (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Jul 2023 05:27:38 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2082.outbound.protection.outlook.com [40.107.20.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E4D449E2; Thu, 20 Jul 2023 02:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aNqF8W1NYLuw2Gz671TDZZZjmII0BtPQNBhRDkaWSZ9HMLwIzuCewWDGURhkzHUn1kJIHC9/fysBBq6Eer1rvOrL3D3Gxr4sjRp35MgRt6QhlGRON835VkKbA56Ay9VNJ6GaqUT7lJXQi0on2swPD1ORr40ClZHc9UX1ATLGkU3bLnptfvoULIbv5Z+b/jcyEJSUSkmwXoC5WhwBGWi2LD0fVWqNaAIJMvZuK6JenNizRDtYmHbXnEt9yK9DMhnM3cKgCzw+uO5zOxMHJ7+mH9bp5OeNiCIQdo6yuqaq9QbC3/JRXTLAntqPXf9FeMeT0W4r8pMMhM6i36C3lurY0A== 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=ha8Cbn6AHOAtlwS2+FL813qvYkN1w4/lsY/S4XsUIiwhzqtbc79sA2EGN+N4dlNATYlU2xMEjtzpJPy1LAwxt/wJlnKEbaoQY64gxpctV+Ay5puqmnNYPNQWDZVTkIkFrNpx3jdxoQoVgyeEWQLStBoUyN2YvJAFNKKV/7SxPYQYplYCWmTknKu02pUxVOTtB/sBlyRJ0K6PC9Eqxlwc62qWPdFb0hsOyQ3KcdOfvoWmsnh4uw2vBUiB3aWWkTzua0xkVWlWPF7vedOGKb/ne6w3vD9HBt+GDk3d6Vw4dEvbEoD4YH1qk63mv1EGyMtTSqxUiXev1lSKKBk0CECj7w== 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=COiPJhz5T8LFqGGo9EQIHhtI6yXwUI3JA/mGcowHAxar3IWdKZ7Brrhjqbs84/srNH7tc2DETFoG/gevDvwSeYR9Ne+ywc0T9hp/LvynaYBvQfnK4SYesZNusuhFZUYABLGZ/gexAUKtnNPzm4W4NDOcG/+5nmTZLXc7S57vDJI= 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:22 +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:22 +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, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V2 2/8] genpd: imx: scu-pd: enlarge PD range Date: Thu, 20 Jul 2023 17:16:55 +0800 Message-Id: <20230720091701.517197-3-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 52893e0a-81ac-49bc-747e-08db89016d68 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: vIrTWDTJwu75+YzgGPdEAK9UqVtD8t+em26jl0TDsvk8DfpfZISsv2CanE3XHtqdiMzeUAWXTL5oRQp3IDgc0b0+tTywS7t4xEXbCuqSyO4pli+FGf7mp6W13r/wfB1EPNDg7YGf7AR/O/7gkocv3dskYpbEnukIm9HlDoi2w5a4mo1zYw+QVVO+FqNY0HrIUtxjwZa7cReWlBCgYcHQjc4KgpNovuuITH1fxrgNxnHCNjwMBplm21+4a5z9O1ZtVguZnkf4//Q3xvgNirN2FY3jswaUfHMZRubuEMGMD4sFeAMCwC/CamP1FID/K/tyoK7rRhE/g7aJ3QfE22BiEHbYCzuRh6nO+dyBTardZMi3da4SjS5cYyzkyYLmQKk4QeP0p0RRfAdj1JZsZ7SjDP4LpJdPuk5RIKpL4au3d741l88Y1z/ZyS3gl8rWQHc8eg51xuJU0gFal2zTN7lf5+STXB+fxwMXc3jvUbA8lpW1cTh7Z6NXPIAig3Sk+RCJGa6NdSkdXpwfd0UYu5egyLvukQD7lCami0GSUA1Da7FLlhs8rQiai+K9ZPLpf7I9uMEMlOxX/l+IcO8+mVc7nhMAHXoakinXMAQWDm37rdqb4OWyi10v7xfupMkRaRikczOziAUV/uomX4PK58Vsng== 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)(2616005)(83380400001)(38100700002)(38350700002)(86362001)(147533002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /IAYcOGw1oH1g5+r4HZ34QA6BtNcQ1bGS0rJMzjddpI0yNXRrytHxsUOAtcbvvXVWgXULKBXZH2APD9fK/ZkJOMd1F3lLf+e+JNs2hUIchbJPZo04FIvewETc2hj/F9jplUV5eFFP6bvA5t2FK/Md8tPXijOuOXvVcuu7FBDFpsrxUteKcHDEV2/NdX9ajcZHZZJ3lZmcPEimcs3Nvbksz8uUlbFoSSF0CWcDINCJ3mRFLJOjnVsnspKWvwKRLy6o/CjmhK+1+PIw1zpYk2XStuIgcWNui/dtwZqCdKuvgal43+y8W1T87jhfPuVBisviSez3VEiKA/CJYRiz3vktTxt4QUzMbZi1ZxfF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ZCoUjYoqb8tNtcYeq87dzwPuxMA/MC5/ZC6dZePcc0spyOWgvG+DXr0h0bMNqJNp1YtQ6A8RJ7TZ1NGq8numdXh97IHM3TbpkLWfy6VgmERlAO6er2hFzq3D53Hul3gETjB07c9wqbWnO4558WU13ZVg5Av21Ru6JDKdPVvKkK X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52893e0a-81ac-49bc-747e-08db89016d68 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:22.8119 (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: pcTUSacGt3Y6HdfF76VIFjdMAV8GCIISF0IgAzrckr1ZzFOJNKBnUZSHxqQs3b36tv1haA3S/FhESonvO6IaHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8943 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, 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: 1771931425955368089 X-GMAIL-MSGID: 1771931425955368089 |
Series |
genpd: imx: relocate scu-pd and misc update
|
|
Commit Message
Peng Fan (OSS)
July 20, 2023, 9:16 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> 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 <peng.fan@nxp.com> --- 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 },