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: 13750915 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013012.outbound.protection.outlook.com [52.101.67.12]) (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 055EEDF49; Thu, 1 Aug 2024 21:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.12 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722548786; cv=fail; b=jZRxBQ1yLWL6oATDYEU9kcozAoMEv53jNUID01g0mD6qDT3I6JQfLuMCrVB5Gv5Ik6BCuWeRttglyl8+o9ah///5uBNhg2rpmT7G5OogfJnCpEZXuNEUISJWnnN/dt4cGF3swLAwYcPWxw9Xx4F8WGlLLpQXD3BRvfHuycY042k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722548786; c=relaxed/simple; bh=w9PVPq09Y1zIifNMgCXO6XMCDk0dGFT71u1qmkqCAoE=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=nwXJOUyP1MLUpKnRF2wcsbITIglfYzEmVshaTVPi4CHqj0ij6hFa+AX3tGziePMG9jK8R4BpEkfvePx/g8vNSUGHaDUq/CvxBnRtbroT6kO2zISRS+m9RLsZqbyK9X21OPpNmaaaOrSrN4ipdokpsmRw+mb0z8K/yt+utZKoWqQ= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=GBlh/kAm; arc=fail smtp.client-ip=52.101.67.12 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="GBlh/kAm" 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) Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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|7416014|38350700014; X-Microsoft-Antispam-Message-Info: LhNVn38/lmEMwTrXYUzWLZCu6hloz6eqSFaTzq0jvsM3T+zbvzC0d+GTEXWBfQeLX6Uf7Wc9z+BwyUeMviqly/OgqWs0vsSV5Y3MHjn7a3Onng/wTcxaskqP59c/kzIi5AruB8qdFKMRVwsgMnMiyGmIAxd30tZa3cXHxWESYRCkIew/8anwFNDJy4kR3nOC7QthQpISnSyuTnkFATgRJwiYU805YeyBYAB3VTNb9M6TtkQ+3Y/JEYfd6LaiCflfMfov933djGklfR3TvPoJ+fjPDiEEqRA2JpJdjqHPfu80Ngy7bkOIeAsgWsvTFpcAvLQu1ZEC3oD9Oyjt+Yvshp0hgsz7ASsoKh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RV:;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/eUXUVKvG2r8zhurEiQtZmGHK6e4Nb0Wz5miPfgP8tqWryFrUhwE65R0r83VyaHHxNEXZJ0Q7KfF2Pe3r1ubl1iJmQuOxekuCVpDAI/NkyZj0QKyW9TTPgy8+zVdl54X+s0v4Aj8dQtTjH3BxIldSW1PH6wi3laiCLZxB1uFE+8sabJUK+ivoy0PXc9O3jfiBR1qKrSu1talp2ysfZf9A/f0gvzhS9+zIRRgB+p1zIQFx7Ny1fHsFEWSkPi2ulKRqAsMWoaG+G4HBP/B7Rtlg6fAe51ZGPmoNGfMCjx5Rusq+8JWxk5tmW6W8D0jsiqgDHAg0FdvFnr0/DXfNDdCXfNthsbVwRAT6ttzTBfkePj17Tm5+eT4gSJ37RM9i2jb3hUsUC8vr5K5YRP7TimgRmWEZsW62jR1a3tKa1aBb1Fw2YS503EeqjAdllL6bZURQLBWN271LuXGhdBsbj04Dji5do71pS1Yblp6+8DUkx02YyzeHeZQkLZBa0imFZmWcm+bhLKVkMZfgD1TqJlyFoTP9dw1p1JiYieUT5y0AkZ5DDM4EtXF8n6PG0/ai1UlMpTBBa//KgoA3MHhZsy1M0uOqltGdWfCmxRSFgifk4is8qd0SfuIuQBlQJ2oficaByTpBF8wBGpZA4ZoZhQwW6EPDK6E1vN6yWmdtEufDHu+O1TWRxm6y6ffIwP5GhsPqyGH/7tNyd9OwDDQPEYJMXTk3Jz4MSOSZ7xW1Wv0c6w5Y0OvgeFS2Urz6ReE/nMHPud3feiOd9PdiUje6JaxCEGwPQHJ1c20Olz2fz68GM47lg4+CODgmh/0kcU742+ff6emCXl1paYpMpIKpMIkLqdrPV2p9tS2CqBiEAiDgGT0zz4OLmvZRIr6oYmFFLkU0Y8go2T2TzfXxTdTQ+FzutQC11VpZBGNAcVqvUTD6MQDh9YE2WtGPf4S1cQGBhDmsnzuyiw2m/osooRE20u/HwjJYzNozKMDmXS49J06fCYAsl86vHg1FDTgfO6zX14npCG3+F0RgZTxgmlnirO57WlMV6WEswne04zmiN46UnmWr3mKmlJuRceaexlI+oLWzNR/bTEuGfmmzy5uGeIZHgW66OIwlH2yUQnDsrcbjM4TZB 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 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