Message ID | 20240227-8ulp_edma-v1-4-7fcfe1e265c2@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-83708-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2847401dyb; Tue, 27 Feb 2024 09:27:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXthtIg1MKcHxZVfZv70yyROPiEj6I8+yiQ9s/sCaqf1I01nh9MRLLgXQB2lRnhR9+V9liQrXIFJJwOEsDdOMeZWTanLA== X-Google-Smtp-Source: AGHT+IGLk8SMcbvlK2THEO1QqSozG3A3XIG/0hEa3QKgwZHGDBGuQhfpsOreaDFBQ+qidu6K5Nk9 X-Received: by 2002:a17:906:b858:b0:a41:3a38:64ac with SMTP id ga24-20020a170906b85800b00a413a3864acmr7990048ejb.52.1709054849995; Tue, 27 Feb 2024 09:27:29 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o15-20020a17090611cf00b00a43e3f4a899si60715eja.658.2024.02.27.09.27.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:27:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=B7RgPyPB; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-83708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83708-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BBC4D1F262A1 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 17:27:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A32FB15099A; Tue, 27 Feb 2024 17:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="B7RgPyPB" Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2055.outbound.protection.outlook.com [40.107.6.55]) (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 28E1314F96B; Tue, 27 Feb 2024 17:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709054548; cv=fail; b=uurc8rd11ln+nVkpq7soOOnwdvoI+0MTXnmxJ/KDZa9p1ST6jPPqyZfIzfqsyObIaVZ95TTbXgCpGhoPCvhnVKwbx/1iuS6Y3NlUmoM1sB4aoloup7eTFoQKjN/Lt7d83MUFNTqBDQ/+tFidNavZTM3b2QlQcZqsbW/Fhwfc1ao= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709054548; c=relaxed/simple; bh=zLHJgKGxu9Dd0LQIch4VyD83KuBDmBwhI/g6Gh9w5ZY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=JupcE+WQLGyQAH0QcM32ZG2R6saGWC5s8Oi0FkmAP7UVIzFOq1FTbV4yhrVCbM/fn8EP52tiscdiBwWdYUh/JmPAbweZ8A0ynAeAzRReGJ3fImicFTiO+iCn5ePxJRLU9/6rFlZ2Iju8CiJD1GEUiuIydxgqtOStdC9XQK5Gx5w= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=B7RgPyPB; arc=fail smtp.client-ip=40.107.6.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QelHv5rBPil1bvz+7TL9gGr9XoDVbz/94Z+qrXTFIeAiFCpQgLCdCzekcUVt90h+gtqqVPCMZ+o5mIOTdqPIcD5Hwwc1w40l30NMmq9sM68FY5lDXuYMp2WN1iux70V4ALazXKe3DHk6eO4h15ceajvcHrZun+25VUFGw08IfAttZe8o1U1MK4zyL9CLxAph1p5jDAoFhQwwE052pse+yhbcuDqVrYLu2aR0M/5HVJbXte1DKKtDtWEMOu0dNu/WiF0kh64KnbmndiRs0G0E2kBD6D2Ru9i0Xgcm7jOc2kddbhZv4NhAei29ky8cSb5HJbjAEv7rvzpLuDJXhZP+AQ== 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=0Oienn+MSbSrCphiXgPWUGnaou44oVPo8joKzJ6z/6s=; b=Oy1YeEZuIupQRJSVQ9e4aNJMqJzwaLDqVcTi+doBzAxEl5RQQCtOPj621qNfmvV+XDaB5WR9JAjLY84IRaMobwTSQSGU8IKGEGzsuWkeJ+cCiVEO5ejXLxaJohg3wMJWMxfiEX77BQL+e9RFTGLCVtXJ3Ge+IbuUc+U0vXXvgDEMjBTK/lHFRUr0z8kYngZX83E0j0zhqMhY+v/T5QATehwmxC70hP5a1QDtaUjHkYl7hRvbsU91vnX51wld1LfALvNx7yea6111+CIsTWujSnve+l6k6tbZsWQTJ9TXVnYIcQwTjIAD9IzWRx1+QA5e/Db1Xsx5sLc8qGdcfMpBTQ== 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=0Oienn+MSbSrCphiXgPWUGnaou44oVPo8joKzJ6z/6s=; b=B7RgPyPBVuplSbvRtP/Dx26M1wD/Wz/TAu9BRTLL/xERZ68bC1v3UsPU+1uAPQeqLFgX3L/7vPqoLH9Es9aMv5RdKv5PqSkXii7xQQBPXhovfE3eNIIfuepZ7+asQfnWcaRqE/w+xSIr6A2yDHEGfMzPhLT9n409mTaJ/AwfUV0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS1PR04MB9408.eurprd04.prod.outlook.com (2603:10a6:20b:4d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 17:22:23 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 17:22:23 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Tue, 27 Feb 2024 12:21:56 -0500 Subject: [PATCH 4/5] dt-bindings: fsl-dma: fsl-edma: add fsl,imx8ulp-edma compatible string Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240227-8ulp_edma-v1-4-7fcfe1e265c2@nxp.com> References: <20240227-8ulp_edma-v1-0-7fcfe1e265c2@nxp.com> In-Reply-To: <20240227-8ulp_edma-v1-0-7fcfe1e265c2@nxp.com> To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Peng Fan <peng.fan@nxp.com> Cc: imx@lists.linux.dev, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Frank Li <Frank.Li@nxp.com>, Joy Zou <joy.zou@nxp.com> X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709054529; l=1639; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=/ayZNWifeByzbocFCHfeq4diylFnWb7v4U7hUf6Aoow=; b=BeBV2TBdB/ZN36u9SjL4QlUf3wgv1+9fwfA4+f2hbGk9Xly2LOj6pcKIus5oB+mr6C/TMdJ3n SUsy3I/RpASDaKDXnoBLfToJA+r4u7yECksv4xgkfqhfEnnevyL+FiZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0059.namprd13.prod.outlook.com (2603:10b6:a03:2c2::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9408:EE_ X-MS-Office365-Filtering-Correlation-Id: c8a46e96-0c99-401e-df5c-08dc37b8a942 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LltPaoaGE8mSb7usfLc2SdR8ynul/a7yH+zaNk9+fAC845NXUPOUkGogr92qn9BONK9Kvp1ZTXPQe6TCkiyDDlK0PHIFEBTrqSsMq8/csnMogp3gGlDMNRsjE78RgLvDXvEoTGBabwWJBpDBjO+m1VgumkYVrh3pL/V55ZFiZRW/EPkPDSn8tSnPO7UOfsu7uUpVX3XImuJ0mUKKTEAgI6I3T/PpdQtikjgDgndRhC+Yr9gTTMv0RpQ66jCzT8Q+ix5oKwTFO/3tVJzdqewUeJa3hQMmNeYsCOxbEGg6dthFEeHnmPIRL7oTrqd9wmZEcfdSKGecmNgcEYq+0cdMbLN49Ytzzvi2pwaAc4xfVjCvn+qm9VyA5pzfr2ZnpmF2xp2e2+/H0pYPqYKtb542As/14c5MfbbZtsFhH5IvhB2aqJNAnau8TSGMtlfyS+oCED1Keqr0++VwQ63sR90f8l8QaN9c5spTG4nakObGsPX8rsQih/Mbiiv9KCehbhUpphYYZafIpjUPPOtXqE9eKVycNeTNFerU8Ya9+CAVIvQLl0MWNicqEl7F2kai3B9npF+97ylQI4NVwqH95I6SE7JlPhs6i4jCSz1R08ZNAgviMjWLIzQF2BQ07t1dVMHTf1N+/GK6/9xtMjeMnltoQ+LZl26mHIxMxjeKby+IF+Rsis6JCqkyKpA+o11OihZwBcZPg3C9BIczgqbKHAeHyA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8jIc1QBw9jWkZiABei9OCg33WZcS?= =?utf-8?q?pCbAYECJLkVKvaWfWHa8jpqG7tP0SHvyaPQMVoVHZ4ziGt0Fb76DORF4AE0I9pqY5?= =?utf-8?q?hGOWvEvuCF5CzywFyfMlD+eDNGEARxba1+knYvbCFvYFf286OFCWIVlgt6koI0An/?= =?utf-8?q?WcwhhB5Xb+F6qxHe+VAdms1liqZeG+PjtxmPfmbYrFI8AYqb4CdSGKJVxVoRFrr8d?= =?utf-8?q?XIX84FDQffWfP72nsCa/xLht6zEcSUDiDv9qKZNoPWVBZ5eZfqSJa31adnEQSuU+s?= =?utf-8?q?R5Kq91WsWYAWNqwGEHwdTC2LpRC3ytv4xIcNClCyKsCNAKtTVdP76MALcp8Rju9h/?= =?utf-8?q?My2v5ppo+59TETSsHt1l3FPruOgHdE+xe2MBZfP+YZkkOG1nlHmPUj7BcHytrfjIC?= =?utf-8?q?YkNIZ4KAZkcz8ng9Hw5/RDtRs4+77HyQqKPJIhvUVkvUa34e1XItnYJJLLucpjA46?= =?utf-8?q?1vhvkh98hWjFFnwHpu1D4CJDdAhRAL6BW8t+QqMcBSItpe4wSCE1Xh5RDg0Bw31gW?= =?utf-8?q?UaXgy3VC5l2Ev4sqmbsumK+seUdmArIFBiLuNskC9DJm3frJAztvvlVb7vPvqGCOO?= =?utf-8?q?SJZMok99ZEr+95A83xLFS1iohW2DaWA8XIMMPCg3p4PidCAAL75pCjbd/iXSn5OCD?= =?utf-8?q?wZR1ZgubCt+zCVRaTU7TV2Aha17uiimmv8enk8opshq0pz7gp+CjTYD1ufUjWVCGQ?= =?utf-8?q?V8ggAwV/L0+Ss8rDD5wSY2NpwBMtz8NYFUbpVSf7sEfBhvwNmZrz6DaHM9bRlMRln?= =?utf-8?q?ydnmDsxJmB476nyFX/Oko+PgqPs4oaKrJcoWBQ65aa35JM+zaSqnKMYRZuKuQTT4P?= =?utf-8?q?4zCNT2/YPLvTIUp7eyQT5HFD0U7YUeOmiApa8ycB4hMxUvwrP3lfD4eqC7/fIuPoy?= =?utf-8?q?Ojw+IT/Vse90xG5iH492nj/qBFIpopGhpXa1kL43jGK9Be4hD1CycTOuXneGbTRaD?= =?utf-8?q?a/6yC4H+35tat3pWlC969Qbk+bcmtr/pCq/unwvYf5OLK+FR3Jc3lKgDQDxhml21t?= =?utf-8?q?oF0Vm53zPzSw393gJfi6hqNWPXUkxrHm4VjMhyS86gEUXoeUZtqqvKkfBWgdNAlnO?= =?utf-8?q?6pKnJGJmuBkSlm7mlwEz5yFlAX5alM69xHkXug4JbLtgR6PfjB/j8PbG5Sm+p+cub?= =?utf-8?q?tRWrviSXlGkrQntE3acJ7cQDE8lWD2mq6ci0tyhwWojRPP4yL1ntYluXb1Skcczce?= =?utf-8?q?fJe7hp1KVzZeq1KikaT7zKXIwSC2CZCG+kkXtXIkfEAvYRqtIoyIPKagxzsNNEx02?= =?utf-8?q?0uvckR5PCYUa7mw2+pjllr5IuS5ZExzdlIgwFzWsUWy5MVWVBcH2LTsjQznod5mKJ?= =?utf-8?q?+yrZQbA4rSSTkoHiOjPrs8gs+el4IqQRiLn81PA9ebmNrOZe7EmhNnSOoG8V5h5IX?= =?utf-8?q?72MPVLvEsYAKeIqwTBs2Ln2IK/hGZ9Y2N8uu1g8rsDKjYMBlrUVNYysjB7slCOTSP?= =?utf-8?q?3BzEJNqYSewAfECYijRYDRYNxVZY4+fBtHG0iiJPuZ3XeAVl0oU3zH/w5MmU5hpAd?= =?utf-8?q?7ao8PB8MHLfp?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8a46e96-0c99-401e-df5c-08dc37b8a942 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 17:22:23.4154 (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: lXlhquGBXFDyL4tQYr/93xst6EkVgfFgBRFuVgqMY9gkLvPI7ecuSo2sUaxklaWARbnXCPzgxTRgQ4AWy5TGEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9408 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792073897983367299 X-GMAIL-MSGID: 1792073897983367299 |
Series |
dmaengine: fsl-edma: add 8ulp support
|
|
Commit Message
Frank Li
Feb. 27, 2024, 5:21 p.m. UTC
From: Joy Zou <joy.zou@nxp.com> Add the compatible string 'fsl,imx8ulp-edma' to support the i.MX8ulp's eDMA, and modify the clock number. Signed-off-by: Joy Zou <joy.zou@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> --- .../devicetree/bindings/dma/fsl,edma.yaml | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
Comments
On 27/02/2024 18:21, Frank Li wrote: > > + - if: > + properties: > + compatible: > + contains: > + const: fsl,imx8ulp-edma > + then: > + properties: > + clock: > + maxItems: 33 > + clock-names: > + items: > + - const: dma > + - pattern: "^CH[0-31]-clk$" > + interrupt-names: false > + interrupts: > + maxItems: 32 > + "#dma-cells": > + const: 3 Why suddenly fsl,vf610-edma can have from 2 to 33 clocks? Constrain properly the variants. Best regards, Krzysztof
On Thu, Feb 29, 2024 at 10:49:43AM +0100, Krzysztof Kozlowski wrote: > On 27/02/2024 18:21, Frank Li wrote: > > > > + - if: > > + properties: > > + compatible: > > + contains: > > + const: fsl,imx8ulp-edma > > + then: > > + properties: > > + clock: > > + maxItems: 33 > > + clock-names: > > + items: > > + - const: dma > > + - pattern: "^CH[0-31]-clk$" > > + interrupt-names: false > > + interrupts: > > + maxItems: 32 > > + "#dma-cells": > > + const: 3 > > Why suddenly fsl,vf610-edma can have from 2 to 33 clocks? Constrain > properly the variants. Suppose you talk about 'fsl,imx8ulp-edma' instead 'fsl,vf610-edma'. imx8ulp each channel have one clk, there are 32 channel. 1 channel for core controller. So max became 32. I can add above information in commit message. > > Best regards, > Krzysztof >
On 29/02/2024 16:54, Frank Li wrote: > On Thu, Feb 29, 2024 at 10:49:43AM +0100, Krzysztof Kozlowski wrote: >> On 27/02/2024 18:21, Frank Li wrote: >>> >>> + - if: >>> + properties: >>> + compatible: >>> + contains: >>> + const: fsl,imx8ulp-edma >>> + then: >>> + properties: >>> + clock: >>> + maxItems: 33 >>> + clock-names: >>> + items: >>> + - const: dma >>> + - pattern: "^CH[0-31]-clk$" >>> + interrupt-names: false >>> + interrupts: >>> + maxItems: 32 >>> + "#dma-cells": >>> + const: 3 >> >> Why suddenly fsl,vf610-edma can have from 2 to 33 clocks? Constrain >> properly the variants. > > Suppose you talk about 'fsl,imx8ulp-edma' instead 'fsl,vf610-edma'. > > imx8ulp each channel have one clk, there are 32 channel. 1 channel for core > controller. So max became 32. > > I can add above information in commit message. No, I meant Vybrid. Quick look at this code and the actual file suggest that you allow vybrid with 30-whatever clocks. Test it. Best regards, Krzysztof
On Thu, Feb 29, 2024 at 04:58:23PM +0100, Krzysztof Kozlowski wrote: > On 29/02/2024 16:54, Frank Li wrote: > > On Thu, Feb 29, 2024 at 10:49:43AM +0100, Krzysztof Kozlowski wrote: > >> On 27/02/2024 18:21, Frank Li wrote: > >>> > >>> + - if: > >>> + properties: > >>> + compatible: > >>> + contains: > >>> + const: fsl,imx8ulp-edma > >>> + then: > >>> + properties: > >>> + clock: > >>> + maxItems: 33 > >>> + clock-names: > >>> + items: > >>> + - const: dma > >>> + - pattern: "^CH[0-31]-clk$" > >>> + interrupt-names: false > >>> + interrupts: > >>> + maxItems: 32 > >>> + "#dma-cells": > >>> + const: 3 > >> > >> Why suddenly fsl,vf610-edma can have from 2 to 33 clocks? Constrain > >> properly the variants. > > > > Suppose you talk about 'fsl,imx8ulp-edma' instead 'fsl,vf610-edma'. > > > > imx8ulp each channel have one clk, there are 32 channel. 1 channel for core > > controller. So max became 32. > > > > I can add above information in commit message. > > No, I meant Vybrid. Quick look at this code and the actual file suggest > that you allow vybrid with 30-whatever clocks. Test it. Any tools or good method to find it? Frank > > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml index aa51d278cb67b..6c04303dbe453 100644 --- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml +++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml @@ -23,6 +23,7 @@ properties: - fsl,imx7ulp-edma - fsl,imx8qm-adma - fsl,imx8qm-edma + - fsl,imx8ulp-edma - fsl,imx93-edma3 - fsl,imx93-edma4 - fsl,imx95-edma5 @@ -53,11 +54,11 @@ properties: clocks: minItems: 1 - maxItems: 2 + maxItems: 33 clock-names: minItems: 1 - maxItems: 2 + maxItems: 33 big-endian: description: | @@ -151,6 +152,25 @@ allOf: dma-channels: const: 32 + - if: + properties: + compatible: + contains: + const: fsl,imx8ulp-edma + then: + properties: + clock: + maxItems: 33 + clock-names: + items: + - const: dma + - pattern: "^CH[0-31]-clk$" + interrupt-names: false + interrupts: + maxItems: 32 + "#dma-cells": + const: 3 + unevaluatedProperties: false examples: