Message ID | 20241219092045.1161182-2-larisa.grigore@oss.nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2052.outbound.protection.outlook.com [40.107.22.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C2CF222577; Thu, 19 Dec 2024 09:21:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734600062; cv=fail; b=Vqqgyj8nddcRTEzLVoomFtH06EqNx1Ovg8+iSLQd+4CucQDZutecMBwgRKdm5P1Ahq2BqTJgQURbsLETOWsFg4SL9bOEX8eIrIm8/GlkYv+R25B/r/G1/Lld8cFRDbRfr/hQylVpprm9R8HffdB+oUjgcml0+QSOIpAGsO86eQk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734600062; c=relaxed/simple; bh=8BhD0/fjnNlsUFzT3o5yEf/BMFJaWaTfKPf3WYocHFg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=teqVZOOsrfaDODjFU7O0WOTa6UEgiQ1eu2z3FPZWmv64EwcDBEra/Ge6mT1k/qWNA2c3Y8b1426e9wtMHKhfteNr4vsmV+Numi2spUKV6TIKZxV1wWsmEnAqexvSCjCNKzGHHad4eEut3o5c+np0RwEyswXxRZAKJv20bqB3sXI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=YZ/Ro2XS; arc=fail smtp.client-ip=40.107.22.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="YZ/Ro2XS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v+TZt0CCdpjMYkofz/Ro164cSFZWN6lmzTPqTkpuJWuaHz9zixQDZW29irI2IODj0+ZaIGUVZNZRfJyj+wpp13RPvn6xXGTIKp1f89fEJWLxwhlMpp2gu87BwFNWPvRwN0KSG+fK0kSUDhPFpfxkHVwifGYUDfLmCL/VzJaiwSXtVI0BbQI7f5YgL9ZwDUHPU+MRy1SuHoZ6NICxCOROWtlcYxEopxZ1UgzNGV7lIBAIpw8Ct39XDKF6o1uvNC0RKdCajoy9y2lIQ+MzcmVzgR5gnpR81frVZ6PwxB9EdofJ34u0CGXzGKTtql8lrvWx+u8Q3DDoLkESOCici8K7cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=vLIJ+7nBBLog/Fi2pEuYSaG/9xdVGhxe8g8HDmS8MA0=; b=YdNFLPuGIBy9+fPlAy+JqBDPDcEK9UJbJL9RpYAvrY1S3iRrhk7bSxLUO5Ed/gIW+5pk231WhP8R3U+u7+Htyd/u7WwOELpfVnCStfa79AO5ttl2CZRxFRlcbaq0UepITaiPJInwTsO7dw/6qjoLTcRicQA8pz0sr56xvUL0KQyRs8XhhLrgr7wGSWwd4+9AuWUFiaTuYZqlaiHgbdunfEUTHSOlaapQhckIFplghN8YKIzcEQgzCTKNTA649VHjM8OZYdmrCjHfisGpbwOHgcy2xwTLwa2WibRSClIAEvIlT94wWTqBo6jawXtA1eYAE+FmEJSZSJRMVJnuS7Lk3w== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vLIJ+7nBBLog/Fi2pEuYSaG/9xdVGhxe8g8HDmS8MA0=; b=YZ/Ro2XSWvj7r+NQptlesdcC0Yol9B5q5DnOol+tsL6kRZQpdGoSLxt0MKjj0zPg7B7hwVJk+vx0x98f3W3cH8jXkfDcjRqTv8cW0S7LNFutn5/mZ4Lbt6FaRl3PpzmMYxmU1+d7eGhiDF5u9/aYg+ECuI7xCabY7whnqg8TyKff6+By1GRFXGEXjVdcsMnXJKgJ4kLCdGCJy7IckYhA4qUvZNEKhY4TQfh3+s17lTbYD9El/5k5N9dJr85DUPKtJ3wzVIb3/oRgNcYnRCJU2YdWU0kqxS5Dfr1j/fVFNVwTe8GmxFBFMbj+IuSG9lu/TAZN5odVQ8xACALpgL9YJA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS4PR04MB9550.eurprd04.prod.outlook.com (2603:10a6:20b:4f9::17) by VI1PR04MB9834.eurprd04.prod.outlook.com (2603:10a6:800:1d8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.14; Thu, 19 Dec 2024 09:20:53 +0000 Received: from AS4PR04MB9550.eurprd04.prod.outlook.com ([fe80::e28d:10f8:289:baf7]) by AS4PR04MB9550.eurprd04.prod.outlook.com ([fe80::e28d:10f8:289:baf7%6]) with mapi id 15.20.8251.015; Thu, 19 Dec 2024 09:20:53 +0000 From: Larisa Grigore <larisa.grigore@oss.nxp.com> To: Frank Li <Frank.Li@nxp.com>, Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Peng Fan <peng.fan@nxp.com> Cc: imx@lists.linux.dev, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, s32@nxp.com, Christophe Lizzi <clizzi@redhat.com>, Alberto Ruiz <aruizrui@redhat.com>, Enric Balletbo <eballetb@redhat.com>, Larisa Grigore <larisa.grigore@oss.nxp.com> Subject: [PATCH v2 1/6] dmaengine: fsl-edma: select of_dma_xlate based on the dmamuxs presence Date: Thu, 19 Dec 2024 11:18:41 +0200 Message-ID: <20241219092045.1161182-2-larisa.grigore@oss.nxp.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241219092045.1161182-1-larisa.grigore@oss.nxp.com> References: <20241219092045.1161182-1-larisa.grigore@oss.nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AM0PR02CA0208.eurprd02.prod.outlook.com (2603:10a6:20b:28f::15) To AS4PR04MB9550.eurprd04.prod.outlook.com (2603:10a6:20b:4f9::17) Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: <dmaengine.vger.kernel.org> List-Subscribe: <mailto:dmaengine+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:dmaengine+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR04MB9550:EE_|VI1PR04MB9834:EE_ X-MS-Office365-Filtering-Correlation-Id: 2832f585-ca06-46ce-f385-08dd200e6feb X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024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PuNmm1yMzjNptKt6YNuYF9oMtKqJyUIHM2hOsbv/KW3ytc8co00/5fsIQQg?= =?utf-8?q?x4t5QoVD8XQaruTCPpoh7w/kCgaQSnUKLcrgynV2ClaqDUcZM0zy6bstwvn97ayXr?= =?utf-8?q?83DTye010iAo/tITM+76SJMqKoj5UzYcZDLsHqXRXf5AMESHjVLNU1+nQHAM7y/Gp?= =?utf-8?q?bEGtkeSLBOOvnWZ7JsNu7vv06NhZcbgAAH+uUw/ALkiVCAqfcl2Lonse5RmtUG5E5?= =?utf-8?q?EsSWpBE8xmnrd+q+OK5U5TWJRgmc5pY8AN0xZCv6rgbABODWYOAUe0cvn/rKrE26w?= =?utf-8?q?W3ZiC1d6AXsIRtakb4gGclSbXkSJ+nj5zgNd0KrI96rztn2CKllpfC/TxxNVDA5Cl?= =?utf-8?q?TlkAQbg1IQuGUbUW2TXLxLdxMmqrnLEQwqeeX3kXJBT1bLI9VKkzqDIO/P6+1JvoX?= =?utf-8?q?4i1hMJWVN+V80/NT09wI0zFovv52fK7rLRP+5vpD448VZotujFTwUVKP0HxpQUbdb?= =?utf-8?q?IfWEtPqbWA2/?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR04MB9550.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0bA7v4TcJlqRy+CbBNXJxWo9NPKF?= =?utf-8?q?S0ICk1yAjrSslKHvzdMjknYwpyHuZq6U6bbGgCcO/CkIstDd2OAIcJL8lCZ8MShLo?= =?utf-8?q?jUY+0aBb7QYbxTcnc8azdsmRsNXC5U0r3Al18hn17PwFe89/7Hquic10NdhOjbtBI?= =?utf-8?q?dwb869jKwRxtZAdUmpb/BEUcY5MBktwRNKrl5QVv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mqP/+o08OUS6ttdnIENv+?= =?utf-8?q?uNkb64LnIOKCW1iP4bkNa4cagP3OZCRWkeaY2ud3NpRuV52TlhynSONY5pQATj1Za?= =?utf-8?q?Sq92o1GZXSDwc02xl7ebKJwjlN6TH+LphvzMlR9dkava8aBw0zXaKr0rJL7AxKn2Y?= =?utf-8?q?Ea8+yG+C2TWQvwK2bSO4k0X8y0ad1+xrv/XCpYZ7/AHn3ZiDYH9Pc+tx+ZUFxbiAx?= =?utf-8?q?aD34Xe1DIaEkVLTVkhrxmJQpZEhkONdD05S4BCOdiax/0eUorAgAjF5I6IGH3pDg5?= =?utf-8?q?GHi72GpukxB9Z4aQ82ug77ld6P1EGmMnG1CGvxZLBd+vaWZUq+8lTRoE60QKP1kSc?= =?utf-8?q?bWQoINOIF8tkjGk+ik5nSHFI8It+eMBF+FWiMdoIdJeLYLNgsQQAm1pXD0w4xaODu?= =?utf-8?q?cDDvWA05Gt1WmFUhYNau7qjUxLvDBXMVKYzzKaVgSn06kqQI/HqTBD3hQRk8qnVBr?= =?utf-8?q?nIx5MHrlI8Zw?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2832f585-ca06-46ce-f385-08dd200e6feb X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9550.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2024 09:20:53.8180 (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: m4oi/wVB/bLGfsWrVXtHXrZWNaXMf3h7Cc2KH87T+vt1HCQiY3gbNZv0M6+K3LyMBlIKJVRcJPXW7W0eMNVIRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9834 |
Series |
Add eDMAv3 support for S32G2/S32G3 SoCs
|
expand
|
diff --git a/drivers/dma/fsl-edma-main.c b/drivers/dma/fsl-edma-main.c index 60de1003193a..2a7d19f51287 100644 --- a/drivers/dma/fsl-edma-main.c +++ b/drivers/dma/fsl-edma-main.c @@ -646,7 +646,7 @@ static int fsl_edma_probe(struct platform_device *pdev) } ret = of_dma_controller_register(np, - drvdata->flags & FSL_EDMA_DRV_SPLIT_REG ? fsl_edma3_xlate : fsl_edma_xlate, + drvdata->dmamuxs ? fsl_edma_xlate : fsl_edma3_xlate, fsl_edma); if (ret) { dev_err(&pdev->dev,