From patchwork Thu Aug 1 21:46:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1968056 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=vN+yT+RZ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=GBlh/kAm; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZjGq4352z1yZv for ; Fri, 2 Aug 2024 07:46:57 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=A77xe1B3FkrrMgXn7yhhlJ5cv/cyGPs9QbdPegAiBj4=; b=vN+yT+RZGhhvXN Uyh1Nid/zPa65P5b9jQuLuOrNKMxdR1sYGstcYNOzukQ7WMwBJ7aPP7Zg9FwzO2vtdXBYzAEUOmgo z3pqhMvHxe4Bce9lzUfsT2YypOHfuIztPfdBEZlunst1abNg15GeeySikAnKdhIgQdfY34kwjfPP2 gKvZdPh6VeDl83SoXDXl6/GiN6KUxp9meA0pmyl/z28E9Y9+NCF3FKOn6LALXvWiOP/kLZUFaJUvg /DuRl2ckJth/YGaDi4bkn+cZfbsiaQEowOFYLzDtj2NenGRxhlTjbuIVgMrMPmyxmzei7k3BfJ+Rx 3BH5OpsGa4scnU9U5DLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZdd6-00000006nKp-12fX; Thu, 01 Aug 2024 21:46:36 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZdd1-00000006nJd-3BQ6; Thu, 01 Aug 2024 21:46:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=x7EF3BQZPqqefu7EOQekREJBIAOJ28yWzKqWKudYuVg9qSTlzfenQKIxzPbo8FWAz1QPAmEEVJrFWPCMt/nmcDHBpoxjB96MOLJ4oD5jfHr+hnyIsT3llY3ts/WSjXtD2gY6AkSjZNMVQ2WoDMON8N4HE0tqMrS2eV0BJoKqJVR20wH3GVdKGQbHaTkqqqmXd7nDiawfSwhIHjmaCNXOA15POHYqiIpbrsxmhboygZevZb3curv5vtacG9M1wnXf3Uv8eo7JJW6wHQ3HFRJT2byZEFMfhw7RCCm2x11Yl+dkJdU1sUL3al5iEjI7jPytXRyJyLr5cTNB6LqaYehVgw== 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=nQZ18REK7w96bypl9nZZBt2HQdeBX+SJo8zviafjmTU=; b=vu9JKRLSZnrT5vVxlzmk13doLqtmQuoORtsU6bf4CmB761BGd5S63aiIvD1eZk7fDXogRgwF/0Dg/PFqQ8ekUMiTmt1uoVSPJeb4B0kBfqqChBIN8njCUKOoCQRi/O8enxMNOys5W8828r8Qx8GmGHSn5D8tlZJf916aaG08uNTPVl0RhGW6/oUHNqwqU/OSy0d7leqvhmIjaXq+C8uQcrJnEZhbJbsrt+bTndmLdUlzcVyRjeM9YhEjSoVY6FrVECv8PYShM8F44VwrDNo43MiNGDlWow7Ndj2idnxqYrt2sBPeALM/yPtrEzz4Cp7dv6lqQXPCD4wrtibWqr0Dtw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nQZ18REK7w96bypl9nZZBt2HQdeBX+SJo8zviafjmTU=; b=GBlh/kAmgexPDT77C6ubhXVcwzRS3vazB42dZBPQ0OpNm5xYYV92UwMNWvUcBv+16dEuaWaTQaeaW9sT0ZSxoFSLvQF6tTXgabke2kxnQd8Borm90ywWFC0WOufvdlC/CTj1K40SGQ3WtaHHEJtgmbp/r2H0r2GFq/RZYSi+BjBNwB7qy8iF7l5htpotQWwIJes4uyCnwvhJxZLikARUpDS1EGNLch8VorMiTjt/orxuJmRl839uv+i2hDql0EYXemC3nd6seRzQKngwtqI3j60H+Oj8vdiCIlNJQMo/pp5P+GkjAPqi4yKWI+z1m6zt6iYWut5Z6wWayuVvEFSVtQ== 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 AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Thu, 1 Aug 2024 21:46:20 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 21:46:20 +0000 From: Frank Li To: miquel.raynal@bootlin.com, vkoul@kernel.org Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, festevam@gmail.com, han.xu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marex@denx.de, richard@nod.at, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, vigneshr@ti.com Subject: [PATCH v3 1/1] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh" Date: Thu, 1 Aug 2024 17:46:01 -0400 Message-Id: <20240801214601.2620843-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR01CA0028.prod.exchangelabs.com (2603:10b6:a02:80::41) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: d0c19056-b313-48b3-e537-08dcb2736155 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016|52116014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8wCDvBDT6OZdJh7J/L1jQH43A3AVcE5dPgn3941mfUxE60bTWRmJXiFmFRCAetYjLbUst9wYy2QnBACtbBct++vk6vBtlGoqiM67XpFbA5ztGnN7IONx2YfE31DjmewCCYurXktsBSSXiO2zceiUiYCJqo3IKs7c4yJRcYUc7RP+ahYZL71QS6rzWZoWnLanZ63BTvJIPjNpJlCCN3JUFZlVo9BEm2a8cZiosxn+A3Np/pN2MtZU3kcybg7pwrTj3Nc6FhcAUuThwoBF55lySxe2robgt9pL5rJDWqa4aIPghd7c+TMMXx+GV4Q555kshA5vUq3vZl1ti5+lHVkaJs1XJUbI= 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:(13230040)(376014)(1800799024)(366016)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hfZS33BTHqDVfk0ynTqST1g3io5bEM7beeru210CzHXAJH93O9A1x4n27kYS07ECi6dsG23AN/Yj+9yKy6dyDyNHA9mrlFaj98JTyZE6mXMYWwH3a8i8Mv54tDsF/77PGro1WkGvm9i4RxyS3OpuKQuJdQJNDKEozUlE2ji3Vsp2Vnr6EJwnM5lm8KUjT5hGTVWpWEpzPtnyuMIGlalA1V1Awik8S8TQMpHs7BeUlr+MDbkvQ6ybHgnpDIp0SiSDtNhsxNzS6DQRuqdqFvYLAXxMZ4VoeyGyv6CmBEVFO7DCWwBoYjZL4URwxi8uODaZkwaA+iryjraG9QUnXm1qcT2Ri11YWOooTB0aDlCL3wKY7SfuvgtGBGyyO6tM14B8v0eFM/fIvot3sDK21NDpkEJVGNjrQc7KPbjD7waTPoUM8J2ejn36NbWGhsiJBbQw3Gx3XDYz4+BJC9FKPD/eUXUVKvG2r8zhurEiQtZmGHK6e4Nb0Wz5miPfg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66OIwlH2yUQnDsrcbjM4TZB X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0c19056-b313-48b3-e537-08dcb2736155 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 21:46:20.5192 (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: 5z7fNjO3YaKrZmFAxFWIi+nTvHFojhr6QEWUJYLmTooANU4kxDaaA9v7WvS54qIFyb+Cx0g/fUV/FL0IciHK7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_144631_823502_95876938 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh". Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it. Keep the same restriction about 'power-domains' for other compatible strings. Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 ARC_SIGNED Message has a ARC signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh". Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it. Keep the same restriction about 'power-domains' for other compatible strings. Reviewed-by: Rob Herring (Arm) Signed-off-by: Frank Li --- Change from v2 to v3 - Add rob's review tag - resend because it is dropped from mtd tree at https://lore.kernel.org/imx/20240717103846.306bf9fd@xps-13/ --- .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml b/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml index add9c77e8b52a..a17cf2360dd4a 100644 --- a/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml +++ b/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml @@ -11,6 +11,17 @@ maintainers: allOf: - $ref: dma-controller.yaml# + - if: + properties: + compatible: + contains: + const: fsl,imx8qxp-dma-apbh + then: + required: + - power-domains + else: + properties: + power-domains: false properties: compatible: @@ -20,6 +31,7 @@ properties: - fsl,imx6q-dma-apbh - fsl,imx6sx-dma-apbh - fsl,imx7d-dma-apbh + - fsl,imx8qxp-dma-apbh - const: fsl,imx28-dma-apbh - enum: - fsl,imx23-dma-apbh @@ -42,6 +54,9 @@ properties: dma-channels: enum: [4, 8, 16] + power-domains: + maxItems: 1 + required: - compatible - reg