Message ID | 1594748508-22179-8-git-send-email-yibin.gong@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=fh7g=AZ=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7DDE813B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 14 Jul 2020 09:31:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 54729208C3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 14 Jul 2020 09:31:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MTKVLGKK"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="P/HcrS6j" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 54729208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4D/KprmK2CkDCA7LsYVo3hvKnC+ualsa1mErXH8rrs4=; b=MTKVLGKKeFzhK/uZPej7BX1On gCUqBaa991nDd2YkCCb2mdeqXnAhwRCofAPFku0mf91gw6iQ8/zjKQ7llAyNZyzLvrjv9gQ/zTGze gTy6w7mnKEvKJlyZSvv4GA776xVyt4RFuAOgQFsQhmQtf0Mx9tELIui3TOusot9SHHfklDfLR3ru6 OJfVv1zyGRqud5omrkHgg1S1pmU1s3zMxcQ/mQIdT14AR+lyx8a95NOycSD4G5BYPi8rR/ePl2vel arVz4D4CeJpmtuakZ/bJXO6IA1sp3mgqarycLbEhNVoz03FSoyBTCHwBu5nTToRjjMa2JgoXV7yiF ailj0X5IQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvHFH-0000zM-Kw; Tue, 14 Jul 2020 09:29:03 +0000 Received: from mail-eopbgr50064.outbound.protection.outlook.com ([40.107.5.64] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvHEC-0000JU-6M for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2020 09:27:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qo+iaEMkZF3jTXVNCQtWQLSMYrqgjIAUGcSUhjCBhVYS22eRahciGW9whBLhD4jMQL2GIIe7pIwaa9gNZLnolvnnFpc9DApqudwZ6hVHb86bw1k03AjjgqfizYuUce1pnH2iEGr7UcZviNPkXW5j/FbOyoa5FJwkVJgCjQT++RzGtQBwWRSKtiUXKvw0E6M0R73m8Vbu0+0xbiS1jIQ3mN3ZvpYc7abrdRViej9mToRv5N5eT7EYPx+EF9otvZ/E2drWHunW2WpVinMgm1iZYSJVtgpj+0zG3aw0IklGEPUwK09P3NIo+Fz8xHEcD9sd1mwkt8eD3oj8BRhRZ6XEqA== 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-SenderADCheck; bh=2oPNSBxTNY2/skpU+HftgqZlcyRxLbDifUvEbmUW7J8=; b=cqorzGTIeZ0UC2AoC5yisviMZJ+SCpxLji4c+pdqQjo/C0ov4DDYC6dYsUv+v+67MB0I5o9MpwJo41wIqWa0rUBHfuTlOWn4AakDZq2Kq8P7lvfmnUKdU7ZFvWQpFStLImhHgGJc6SwYbBUpEwXGvotCF3O89wfLk/j2EANxViFAvyhwsq/p9cidTF2Ovk4WZavR9X4TU793MooLnH/X77isi7IobRD9+tiuYd7Ik7IbMCDfF4O2BDkcgxjY5NlEmVYf7vohQX7NsoQbkNyjmHOwJPU2XvDSJMy+U2ddscGCbDqR12d1nC1cAGhSfSC+XfkcgNoYEX5Rfn7QHDR7EQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2oPNSBxTNY2/skpU+HftgqZlcyRxLbDifUvEbmUW7J8=; b=P/HcrS6jRpXhbESdhYldQbFGyHxBYQ6gIBlcydpa4VJbS3hBhxQpzR9VCdtXROQQ2P1QUduRZwWAP2qp2+XAA5RTfVUaNos/MmPtJ1kYEigL89PPGFixJtj0t2V+t2FfIa2513VzHPHukXN3ZVJAtTaYXQuzM8EAB4pFczZrLTc= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) by VI1PR04MB6270.eurprd04.prod.outlook.com (2603:10a6:803:fb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Tue, 14 Jul 2020 09:27:50 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d%6]) with mapi id 15.20.3174.025; Tue, 14 Jul 2020 09:27:50 +0000 From: Robin Gong <yibin.gong@nxp.com> To: vkoul@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, dan.j.williams@intel.com, angelo@sysam.it Subject: [PATCH v2 7/9] firmware: imx: scu-pd: correct dma resource Date: Wed, 15 Jul 2020 01:41:46 +0800 Message-Id: <1594748508-22179-8-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594748508-22179-1-git-send-email-yibin.gong@nxp.com> References: <1594748508-22179-1-git-send-email-yibin.gong@nxp.com> X-ClientProxiedBy: SG2PR01CA0092.apcprd01.prod.exchangelabs.com (2603:1096:3:15::18) To VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from robin-OptiPlex-790.ap.freescale.net (119.31.174.67) by SG2PR01CA0092.apcprd01.prod.exchangelabs.com (2603:1096:3:15::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3195.17 via Frontend Transport; Tue, 14 Jul 2020 09:27:45 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9c2b7b0e-a675-4c40-9a97-08d827d82d2a X-MS-TrafficTypeDiagnostic: VI1PR04MB6270: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR04MB6270F9639F64B420EF954B2789610@VI1PR04MB6270.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:538; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mnREYlnwy856cwh4u4RHfg+9/OuzVPBnb6ddspjQVbZfxxJEMgpqKlXVCVqrRmP73vvSnVeQ6SDiR9n1BpI3pRgQd1XPrF8jXpUBaZ5Kq4xrDN53o278NfZffw191JvlTxNuiW9ZQBP4LLBnTY+kv0fZKagxdRDXHxkmP13iLCfvA7BepqJiC7gYLMSwbq2yWCRyZlu92SFol7m65+NIHeXwjH7sLbLce4LuWg0H4QqKVlh19ykehj2P8wKYRP6QlGWpPNAS3KTo+24ndb9YscgtA1ID0cfbD5BQ3SHHSaVOfgIY6ZoUrbUyw4faeRIPMQz0oI4l4IXg477U6/6ksw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6638.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(366004)(396003)(136003)(346002)(376002)(66946007)(6486002)(6512007)(66476007)(66556008)(8936002)(4326008)(86362001)(2906002)(6506007)(83380400001)(478600001)(36756003)(16526019)(956004)(2616005)(186003)(26005)(5660300002)(8676002)(52116002)(7416002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: uNfSVcq+oWkfE1jFmvf56OmD7n+Vk15X/Eq1bv83Mb3rj/INBnOFGx+Gf90sL0T/r/dnURukggIhXzHW8Wxd6rWmpS0woAFaB4k64dSiHJrZnJB3jpjcrTTRAcLOBuJ168jE7J94F+Zs+uvwpYEKfInoUUGKrJ9wQtph1acn5uSkQn8XTzrkXxlYOpG9wJ0FsQ5kQuQ0ENiRD4fm4kZyho+5uQ/GCTOiptFrxP83etT5IvSENnZxqODkj8daW0QxTE8LNdK7VWKnRYBXZ8wkhLIx3X2e0365otD23aff6nSylFtlVLho/FNYIh+Xot8K2GAW3gpsNgYPuiGly1TKOWhYF0pbsHYoC5BidmdeNntapli8z5TnxyLeFkykTP1IZDLw8jXLNBxlxfuWGVHgek4Ogg4XUU/esqrCeB2YYuDWCcLeox+/aNWDBwJhcXKAxmp0tws2oEByQEDe5Wnemjg50kjrrjuYAwxaq7yYIPY= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c2b7b0e-a675-4c40-9a97-08d827d82d2a X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6638.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2020 09:27:50.0809 (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: +xpsjZKPH7UhF96i7GuW/mt4O1E4xemBzMldJayGZDIlkI2q5d3AwDMZF5dk3VWc9z3qixT2erdFakJbttZ4Gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6270 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200714_052756_321881_D37E2B71 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.5.64 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.5.64 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
add fsl-edma3 support
|
expand
|
diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index af3d6d9..9818890 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -110,9 +110,10 @@ 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 }, - { "dma1-ch", IMX_SC_R_DMA_1_CH0, 16, true, 0 }, - { "dma2-ch", IMX_SC_R_DMA_2_CH0, 5, true, 0 }, + { "dma0-ch", IMX_SC_R_DMA_0_CH0, 32, true, 0 }, + { "dma1-ch", IMX_SC_R_DMA_1_CH0, 32, true, 0 }, + { "dma2-ch0", IMX_SC_R_DMA_2_CH0, 5, true, 0 }, + { "dma2-ch1", IMX_SC_R_DMA_2_CH5, 27, 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 },
enlarge dma0/dma1 channel resource to 32 and split two parts of dma2 since their resource id are not continouse. Signed-off-by: Robin Gong <yibin.gong@nxp.com> --- drivers/firmware/imx/scu-pd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)