From patchwork Fri May 17 18:09:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667291 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2073.outbound.protection.outlook.com [40.107.20.73]) (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 8000E12C492 for ; Fri, 17 May 2024 18:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969429; cv=fail; b=HgtnvK6TpE/ZSNn+PBrlXODwAyAtVoERA3aU/BCSayKg5XcytnO2RZS1ptzJo0en2qg4JqwMOxkd9Bi3tq5xa2JK4mj6p1Cv3tBegIZUEkckLpBeXeIo1hZ5R/PVAliHLZTxb3wbpeHb/TmrkkKI237NLDlJVcqf3CBTVgzjzSE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969429; c=relaxed/simple; bh=Ue9DoiTmBK6eu+g2lWFajA/J9GaQ6d3UFTf3Ewes2Ic=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=b4ld7z0M7AKXMK8oXcebfx4l7kejtcrLOc+ox0iB+vmYGni+9J9F3VSg3kT+IA2o8RBAQx1yS2boVkKUmOsySq2tlAES7rkSSKQs4K+8fEuRN7tLzyWjG0gGraLi3qCm6fl5UrdXcSYRMfSJQ1P3EFl+Wql9REX6xf9/Zt+67z0= 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=HLEvajm1; arc=fail smtp.client-ip=40.107.20.73 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HLEvajm1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gfkMesE3PdgDKCyaElDytuHac+Gq7x0pYj0dpK15oJSsEKAG02+eUIsxQJI7bVA0oRToNlnnaoClemyHQo+OCpC8J5B69TYElKZw/lBFS9tRI1WwWdBP2O2P09Mv8NI8CN5RBonbQtC5UH7WTMpW/WAMolQ6MaF3US0t+aIC6T6UhuhBhBO5wOb6y2e6ASeio6ZQAd0K2hgXnQ5HYrg4C9M20TvewztFyNoEawZ9yIL0ltoQuUx+h2yuMZn0L54s46FOO83EHIJKnutJ0Z59HrqKxMs51llOhDnhK2Dh4OI92xRWNx7QDUXOOHsEc9QfNDu/st1AB3GUW55SipJ8kw== 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=BDlgFfsLoKEnExBRGn7/MB1Z+OHdzQrEQt8j81qDNrQ=; b=EGlSH8b1/BwCj92RVvgErsHxZUcuyYc8823XfIBoHTvfu8QYT6rKRqxwJGoSw+n1q8BYiUrjot++anBfyCT3xwtDeuhSMkO5rT0MEWJwZX/pfFZjcunoYRdsFco5y9BCRDCxscyboCWvJBisoxjZqeHzJ3R+wXrb/7uLKBze3jaFRG9qcTl5Z9xpYI2GMY0ugXILhk4Uyx6mqQdx7f+tOYiBCD0ESDQRehZB08ZdIsiQ5pg3+VV1C4oQ/0SEjrwx3c/y48ziGrJoY0OVHGXJcMID5WkKDSyIz7scZPYZAdTWEYv7pSWaXTWguOFDzYxWwAD6RHz+5bXDxwE484+kgA== 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=BDlgFfsLoKEnExBRGn7/MB1Z+OHdzQrEQt8j81qDNrQ=; b=HLEvajm12fSAgXX5zhCW0QxdPqhQfKeuKIagx+93PxFPK9Oz8zbVjwc0ausFiOEY8jZS0Us88kgOD2fuETe35MhIhcHLBMQsfzxuriFgAV7tdakdSPmCCjnCIIcZV+1tFZm2hOAgkYT70qOIwxKrSzzOG/d5fFKw6JDwfULjx6c= 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 AM9PR04MB8422.eurprd04.prod.outlook.com (2603:10a6:20b:3ea::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Fri, 17 May 2024 18:10:26 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:26 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:48 -0400 Subject: [PATCH 1/5] dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string Message-Id: <20240517-gpmi_nand-v1-1-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=1517; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Ue9DoiTmBK6eu+g2lWFajA/J9GaQ6d3UFTf3Ewes2Ic=; b=h3g9vKblkojKvphUerg0u44sWQoCkZo9efEKTHb/wdWZwldO7VSOJeo7eaDbfa/Tg5esZx+iX ATwhYmwatrWAvovcCwLWdo3t6VAab5AW7Lg78alrq6nk3pyVfwGSSEZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8422:EE_ X-MS-Office365-Filtering-Correlation-Id: 11d56590-dc5b-414b-9a56-08dc769ca0ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|366007|376005|7416005|1800799015|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?+IJjii3hy+K2B0SYGBXOBTag6Jlw5AW?= =?utf-8?q?LgwHNpnniYtWaCPkm+cDInpw3oJ8twL8Bn1/T0aXPnaH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PFDnXLBB8Nj4xyT76ULY?= =?utf-8?q?K1/deDU4kb1EKEYQl8o3Pa1VGJSA6dpExO6RuGXq6VFdrC4R5NICUrXuwfZpGJoMa?= =?utf-8?q?GDHs9x2MrW6tzc+xzTGiiQl5Tyu8Dt1NYpEKgGvJA+8XLHg7PKY5SD5nlUOcUfH3Y?= =?utf-8?q?CJdFKN183lVfiMrncGJuRwXvfcDyulwpSNZFK/cfkbEj2O8TKSx4GfrHcHfD/DfpF?= =?utf-8?q?ARsB7szl7Y5zDpVtIgDuI0z3b8NA1QJDbk00b+Uv6JstuGc67nzKqnZUpal8TN7ha?= =?utf-8?q?B9ueQK2J2ZYbXAcOWAnj37BOwicCEW4TSt5KK+ZyvPgNClNfj2fIG9Rx7jqbRpJHt?= =?utf-8?q?f93Z2soW6+iffA7BkhgeEEqzceZnZ+3ucE65jWpkonhVt+RX3vvxEgsY=3D?= 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)(52116005)(366007)(376005)(7416005)(1800799015)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?snwOOO17iKmlZDPg20b+AFGRb1nc?= =?utf-8?q?n6raByda5XEEd2R3W+3bNCIUI3SQgmxUoOWZTpMBkpsgk0cDk/zNXTnNXr7b+gSiw?= =?utf-8?q?htvOBUPOv6Pfjy7K9z3VCyOh4bv8UZmcG1+coxoheyBooz61cWnI5K72hWWlKxXGW?= =?utf-8?q?IXlTrxUgz8Iu0rNRpn6EBOup2Rgj3zAa0mhZaLhwRuJEXQJSMFIwCY7Lc0lWDcEdG?= =?utf-8?q?vZgOD80tkiqjYtzMcQHkxWq8T/315s0vpSxTc4gvjqDDcfqe7C5hNhQa4Udjl7iT/?= =?utf-8?q?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8ZI?= =?utf-8?q?DQRs+dHHQlCoTH9BRFYNZ0QWgEzxJ6nFzV9Hs6dL2q3348AQ8vs6mJ6dAuSg0toDM?= =?utf-8?q?RetpZjdETr1Lhxuj9LzdAqApED9vy9TNnGF/kzfFjQMNhdAfle2xQPuz7swtUXrE+?= =?utf-8?q?RHoCtikUEJ4ChFlfpw5tGUtDdq57jMrrOKnopnHQ2Cjq1ju449xX/U6J2srl7sHZs?= =?utf-8?q?AAGfwYXvo7HC9Ht2LclCtQz+KV0gv4L8W0UpGU4rRoAFhWlZHNL46uXUMxon3lJQG?= =?utf-8?q?cAieCZfo8WypwDtH4iFyQQcgGkInntwxuClzZGLnHXmEG0yH8kGls+QTxD3g8sKjs?= =?utf-8?q?IVkzOWyVNyw3t9P0r0R4XLDHY+5zvsVzEsVESInDvwJDixyaILgxhLdZUmYI+kmv4?= =?utf-8?q?ql4JWbjmMUBK?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11d56590-dc5b-414b-9a56-08dc769ca0ae X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:26.3317 (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: OpAoagks0S3FnZuW4UF/hQCVwpGTK0sx9l99jjFt9p2/ZMjRyaku3rLEagMkbpZlepuAuhZRg8GCdg1fONjRFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8422 Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction. Signed-off-by: Frank Li --- .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml index 021c0da0b072f..f9eb1868ca1f4 100644 --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml @@ -24,6 +24,7 @@ properties: - fsl,imx6q-gpmi-nand - fsl,imx6sx-gpmi-nand - fsl,imx7d-gpmi-nand + - fsl,imx8qxp-gpmi-nand - items: - enum: - fsl,imx8mm-gpmi-nand @@ -151,6 +152,27 @@ allOf: - const: gpmi_io - const: gpmi_bch_apb + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8qxp-gpmi-nand + then: + properties: + clocks: + items: + - description: SoC gpmi io clock + - description: SoC gpmi apb clock + - description: SoC gpmi bch clock + - description: SoC gpmi bch apb clock + clock-names: + items: + - const: gpmi_io + - const: gpmi_apb + - const: gpmi_bch + - const: gpmi_bch_apb + examples: - | nand-controller@8000c000 { From patchwork Fri May 17 18:09:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667292 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2053.outbound.protection.outlook.com [40.107.20.53]) (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 1130B13E040 for ; Fri, 17 May 2024 18:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.53 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969435; cv=fail; b=lj5ZZGuvhnTuFUSV0h1D3pkagJRp/h0DMLg6s+0tmojkNG2cyOu68OBfFjat8VuLmGjcjuKu1x+R63uwUtnm57pFwTN5aNQgB7XeR6ieAFxQNw/BJJ+8hpVZQ/JZzjLEwSOxPJ4Pii9QXfCXKkvMm06mPeXyChcEXSpsZaC35iM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969435; c=relaxed/simple; bh=8gM8Ady/cecQ90Pmy3nAQ77+C59Vc/wcv83Dzng1DKw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=A1hf65ZMD3cdcCEGEw6R7vdJxlbU0f2Beq93cOnHfbAYyux0m6+FZUBLTBHxeUajBTkOLlR2JXSGXScF+R6T9te83CmiiakcURn/fo4oV1J5lBQPWE5UZpKkv2vwdTrUbhF8eRgCchVQSjrCiqXMUfJUqcfF2tcW1rMGnyafRbY= 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=U+wUASof; arc=fail smtp.client-ip=40.107.20.53 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="U+wUASof" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLgYbJV6x9ph7iqg6QUFHOf0mSlcCICBlik8+GIDIvxDO6V+qlvp5q/UJGBKEwUFwVUr1ktW+UlOP6Jz4JO5elwBeMTn9964KqD1Jw/EONWQsbpllqp/eekKVrqBN/p62+SA8DWtRl5YLghkzLzaF3S+rR19/GIp4qTUontIJ+e1Fq9YlHtVLSRPv9s0WmhsaIb9IIjRU0tadrMZJEoD768P/e5BFzVF20WaLKph6jrjGM0CB+GCIVS94xemv9dr10ocBN+ttVo7LqhFmznfNRSRzADQxtJpWjKlQOCnAIkBKtLBNcUWBIdtO3d9PuNdYbB+WETnVFfKqhlUh5tiFA== 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=e8UVwuUsBe9jOahUx7Z3y9k2YIrMSkcSTdZxCLYZJFY=; b=ZfMAS7oahQS2R26WT8pOCpZqwzHeBIAUuRY/J1mAT9epg1WrggEXN0HJrlhjplbOdpy2t8b6noVOHppXoWyLzS8NVLt+CIVuLnwen7c22UiOZH4Cbndstwf+qAh5JPNO9soCxUyTOSDgNzhD+YtuAoh2BFEs8t2DJtuxENCNGebPew7RFP3z2nP1BanG7zAx2QI+4Ihz8bs/e5a7jLVSkhDnCJvAz14a0FopLKSg4OpDwXt3IrS4O1/MkL8rCPVzw/CHjEQUz7/2+Mm/n0fU+g+DxeIOKfPI3Qv15H8A0je2BpKqKBAHgvA2EqE+W50QCW1oYI7+UU8/4erOud9BIA== 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=e8UVwuUsBe9jOahUx7Z3y9k2YIrMSkcSTdZxCLYZJFY=; b=U+wUASoffAENQzovW82YCpOm5LrK4xKAztEU6al2JnL5QN/zskTdNIbAbYGk27yOnZcQfRVFGr38czXK9pFv603WFio5ia6j6/Rl29gleqZcpekInjy31LavLJpDuo8xnzPISNoyuCtsVrvUn9+GueSW7m/cMd4RToCNAQMTP0g= 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 AM9PR04MB8955.eurprd04.prod.outlook.com (2603:10a6:20b:40a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 18:10:30 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:30 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:49 -0400 Subject: [PATCH 2/5] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh" Message-Id: <20240517-gpmi_nand-v1-2-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=1519; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=8gM8Ady/cecQ90Pmy3nAQ77+C59Vc/wcv83Dzng1DKw=; b=ALHB7gBAlI/g0HL8wfvmuO5REVVyVs8Kn0ydIo6NPGdGQrGn8uguro6ncZqcG+yoQFPWqifxE 2ZSMHowtqRGCkbdL36NyEWJhUmLs/DUoyhuYyOJzt57l00LGwSfwDL1 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: 48872996-6004-40f0-f8d1-08dc769ca353 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|1800799015|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?o1QjoPs0iEobZTEPdvIg5Sy1nQzpdFA?= =?utf-8?q?wyAfvM7Z69fuV39hlizAVNoze9mrKG4UaccLShKXcjhrDKRQUzKx6ND6oE4CUvYKu?= =?utf-8?q?QdpzPg0RIn80u17G8eTCspvjB4P38e6B90iWbOEGaE1D5tdk7bKBPGAgayJr9W4ku?= =?utf-8?q?GGhOubcCZ9ZvuBa2rEwLw7X25bPLc6D7L9k7oSk1+P9rlRW+xY49a7BlLNz702U6o?= =?utf-8?q?MSrzrU7iFDtfHJmv1QoFTGc8IB1ySGlax9dbt2ZOMZg/EgeplETuQomSGjXC5v7/7?= =?utf-8?q?nWwI1jDsUiTZVJWfaN4ZbdUFWsAQvnaEb5eAo5wb6E8TFAoeYvfJT/J8clNu/MTNq?= =?utf-8?q?XB7jicwNVTL36bbjtRFDcqnRyXy9IQMrEJuOJCV07flAKqXCNYoODzv3oG/p0bLjK?= =?utf-8?q?wImAiLATWG2/E9pbcoZ7oF7EbYhpacq5LaoO7orPMRFItikj+Oy30FCVz3Clrp9FU?= =?utf-8?q?/4yJ+YU/kv3sl2QTnQ9MtfO1Iq1D69gW9SgPVfP+48Hzq1Y2DFVQNLW8N3tUoKLdz?= =?ut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d04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(376005)(52116005)(1800799015)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lDU+PBew7YUZTB3JunSvSK4Gjc05?= =?utf-8?q?hWL6l7O3/YuAVyAKxsx/43bBGiQvIV0e+qWfQSXQPLwo7lHKUd6X1+N2vbsHJvaDS?= =?utf-8?q?lGwyBhSI7agvD+65ifQ+Gwx0xLNMhDGkH6XuK8G1OVCXOkdE9YRhdNAD/waW3bYUS?= =?utf-8?q?JGwovJzd9Ufz+97k9xvuVLFjTwWFZi0rUm5vjhLAu4u4PXApDfGxb+mFnVvj/b4H3?= =?utf-8?q?bp2BzNteoG3ao/VjMlU7QqE3Cw5POv+3WbsKkkwLqpSfnWAqXYWWYeiNGoTuNkSAb?= =?utf-8?q?FfTG8KJeNOrgT5N313fHbyieliIia+ObW0smGq4h6+wG+bZVDprJao0j9eKRg4i05?= =?utf-8?q?0rpTHZ6NPPyVXMxhlkdqUxZNTCuJe+5eW7NE1zsXi3ywb3fNPkyvLSddoZJZxkZ4U?= =?utf-8?q?QRyD6a5xvTe3i0auQY/V3OMOc6KICwel5ruVVw6XctfrMmYtUDtqlVJk5DsX6RvTw?= =?utf-8?q?pQiCQLeWzhTFzy/A+cXnvRTTT1aKW2FxbDIvE0F370eyGJBsh1zFl7Q/wpFCr70nd?= =?utf-8?q?HMC3fZgOj6yk4XHChZz/eltS+xpzRmrRXK0aJfHc5RvPXSfacOkNhVhsCVLgF8xkC?= =?utf-8?q?tTINDOnxRKquGJUs7PZY2X3HsnN0CO23z+oEcm0aM28SCIDPiEUc53ET8FddxU3Ko?= =?utf-8?q?DVOfg0AZkgjRF7gHqUAhmwfLklSrYw3JTHjrpN9Zd2T1bsl9OGiw6hCjDBhdFXgPi?= =?utf-8?q?SGyFG6zv/jMVHV2uEjIyNh342kv9kY9zpYrmrnuZxY/ImTGyAqK0gMEJXarpO4p33?= =?utf-8?q?bNc0crvZI8QyAnnI8aD8GDrBtcC2g89HI6Q8GicNDUWs2bQykwvfMiuLqCvkp0WCD?= =?utf-8?q?MyHrzk27m9CQ929jB2BTCwYRvnM0JuLxCW6aIcqhK2lo4pcsCwoa4i3lDHLss5NGD?= =?utf-8?q?9K0ZXI1hnTvcQwa3ll98c+32TnXIdhDNcY7f6L2aMxVWuK0hAzMTQpPr+VRsIeMui?= =?utf-8?q?XSYSnCmxQC2R0gEk7kGcQVw9KQgdF9S/fm835uOV2juPtJusHR00NV+IJIaXSLS+L?= =?utf-8?q?uMcNTdLK8k/nc2K3YojP6buCEPcf3u7SFDNRD8eJRVW3TOEh4rhOcXTf+/EdROcW0?= =?utf-8?q?ZopyB3P4Pg17IXJ2MZbzNbmHc0YG+jcw+mlx4exj4jmpw09uExIx6QxPSPuwR8C4y?= =?utf-8?q?C3+B7sY/UOcqjDEgfb30g3w9BCjzdIHxo5Pi6fRHxko2ovwO+Yvd8vuv+c+EiOtTW?= =?utf-8?q?CBROjSGjZv+8v780EZxL0sqtItcWZn8EfV0/R12hVMRN0VEW6Vjuv9cKehrNC/pt8?= =?utf-8?q?2Hq3NIOZ6XHtaU+rj2DOa3Ad4PsQjuLP3tmG7dK56p33dFgyYhp664hu39JQXt8th?= =?utf-8?q?GiQmbCqZIDDcjYmwyW6kHGXrsOg5BnqlyUoyQbHV6Mtm9cr4NGlCRtXRXKij0Hfel?= =?utf-8?q?f6X3yDHbXiAHe/WgaLL7uaWgIMI+O9FMhQOQQq43FbAHA3/F98963rGKI24vZ8DY9?= =?utf-8?q?IPYbC2uZjm0LGv0VMIHI73c6mgq17EEDn4K8mJHVpPpyHk2IhMzOnOfhU/b8vg3XJ?= =?utf-8?q?jm5x1z4n+kP4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 48872996-6004-40f0-f8d1-08dc769ca353 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:30.7722 (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: CW/r+4omUiXTY0VFsJ0vUDwQmGKfPKWS8oCGJAfZfvhDdEyr4hZearhtmmThmoAc1JLjkBp0v314qR5aKdhP3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8955 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. Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) --- Documentation/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 From patchwork Fri May 17 18:09:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667293 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) (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 0F56713E889 for ; Fri, 17 May 2024 18:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969439; cv=fail; b=ssNMyzALyuPH4t/euJyu3R8Gq+7jP7uMpjRVP9hPcPkgGMKWfu10CSSST1AhhV+737a/L4MjdKkcDQLHRHL1uWTETV5vA/eaGfg6t0E6fGnAdxTAhUiLI9A2mcHZrmRRcO+84CinNOaxGjvLH64Fz6sQdGoRryVkvCKrqoeS5Ok= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969439; c=relaxed/simple; bh=mS55mB0B81i2jzK8aFUR+tBesadsu4zXCQs8Ez1y5Uc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Ox0flWgOV1Wv+OaL5ac+oS5TW+qd4HAtSHWaOTM7F6tQWC/Xn+iEQ3NZ2uiAiVzVeqebu3VfJb8qr1BEIemW9Ex+BanQ8k1X15fgK9/qVFUUhe6ZED5sMeUAOC8fB2EvJsO69uLherwBWeqC89jE0Y+f5G4WFs++wZSptlS/E2Q= 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=IV5ZbHFg; arc=fail smtp.client-ip=40.107.20.49 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IV5ZbHFg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mUQwLQL+BitKkw1BBiT82uucblRz/simhhVilBCEAasLLbmM/WSgcGmRAsMHyiiZxTBPpeQvZIt+H0m9IvOCSJC99MUmupfRqtPkCviUD6tuWRpmXizeKRWOAdOm1iRveXyypfj5l6bCqpho8dG+YmEehUNgEZcPhUzyCvTAV3srFtahGmQi8JcQA/BYkfkye8b1YjqwPOmRjRwKBSNWRI0ZAeZOwRID0Kms8q/aN/9ZCRmiE4Rw35w+CPBmo7taXFt2fwdFErd7SookHPRl5LRytlimbnoNUvrADeZHG2yp7gpuvAf3rtgfNImy/mHxRaUSGTDHC5LWUJS7AOJDDw== 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=l4quWV2qkIm5xWoBSTGQnQ1nY52gQwn77fcAR/3/rUM=; b=fbX3gT71Zh4Yn6Prlz2/MZBWoyldRt+jFJFJ5Vxq/TLoxqH+53JjjxJffOrQEosVxxAgwXcnUMgJEwrxyoZiwI+MbESkh8hqh+83WlijUwuY75Zgz7BH4ixHa18bfz0bQqWc1g735bZM0RhIO613XeNxZJqKEkDyV693zS234rVhWZlf7ulOiTln/iyldYsKvwRx0D4dRTNR5aCYUvXS9dgjltFymGb2aZCjQJm2BMN0VWty8m7wQ+Y5wBEoToACV5XczoFFMawMOTZcS8zEqAK1wmoHJqYYlHtYUrhNBZ8PcZuQTu/o0Ej36nMR+sY8s27iTWSNv7QC6Kkz3WvGmQ== 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=l4quWV2qkIm5xWoBSTGQnQ1nY52gQwn77fcAR/3/rUM=; b=IV5ZbHFgDHSituuWhEbrig6CHeQdB+JNDYjyhmM154pzII6ygS6WPCbjNtAcTYqwQY2lmPQVuPl1V8tNX41vKTYLfswR0a1Z6vodwV6hJPMLb03uUisLCUGSVVyB3lVO0DJktygdRd5T09nmt+BCcEMCpnt/9OOkXbl5kCNduIg= 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 AM9PR04MB8955.eurprd04.prod.outlook.com (2603:10a6:20b:40a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 18:10:35 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:35 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:50 -0400 Subject: [PATCH 3/5] mtd: rawnand: gpmi: add iMX8QXP support. Message-Id: <20240517-gpmi_nand-v1-3-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=3753; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=CT8TVOogkiD1sCNEuMtwYfAYmoevJdAWdpfcK3/H/Go=; b=0ySFvdr7+0aWxJEZ8rt/BXV/2UsIkccjO7gGQYlX6wnGAI/cAu2n7sJLRvpDKSkzTx1n5PrPc 1iqLQON1vZLA1K1Qw6bHM2vFRzGXJ/E0+kJGB/TqwQml7VpCU7pdWp9 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: c57aea81-fcfe-4282-aa6d-08dc769ca5f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|1800799015|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?tV7KCyK8ajiCxL88BLtqjuZM6fL+QM6?= =?utf-8?q?vhT6LyjV7GT4iigcQilP6TzMjfnAf+mDW/eBc4H8vVc0QOk6qTM5MpisP27qQAhL7?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utf-8?q?H16MmVwJ8aPEHhr8JdZLSYuIrZOTwpamU8IP/4+HIeWGHlB1ju6K0KeMxv7wyoSZ3?= =?utf-8?q?7NjSrBhkjv5f7oUtRdDUSdbMcUd8kHp2cumPWaPbw+ay4p3iYzzb3kGP8ftS76eRE?= =?utf-8?q?qanaYrsj7fwLjmNRZ6dAOy2WqL0uNzLdxKp8NTJGzEPSYcXTBQRxDa69igsdLr4ca?= =?utf-8?q?Rb1RNyGLTjdOrZt+KU8dFBqTcfJf0Ayp19uuntRZvtOgjxtpnY/jSV7/99vFKiJGy?= =?utf-8?q?fxzinDEGiqPZMRxL//q7bHjnJnUfbVrV9wX2nwBqoV7BDUNNj8TSpXUxVKbYdAVxp?= =?utf-8?q?Bf1U5CFqih5mWZxtF44VlEuG96hWPCDnj/WiDhxX4CYX7aCe9GNcuVKc=3D?= 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)(7416005)(376005)(52116005)(1800799015)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gYuEGSiOPqh+EHlQ/9sEBWbRAFvI?= =?utf-8?q?BWmHKYCkuj534C1NdibK3Ce+8nkfpMQprRjjIs24gPv4imh2YqzB3BREUIoQ8mfBk?= =?utf-8?q?CynMoyt7fvFpNJXTG/5kH7K2bHT6cWAweIsE7NV5yNHJ5ODVZnB4J5Xh0bSnUBmxk?= =?utf-8?q?AL/Ldd2LxzTI1rHxI3ZsTskTmTkxRjWmfh+Ut0KD3LQ38DFbEAZYLFHbqRHX5FQFI?= =?utf-8?q?EbuAU4caIpvp9tISj2NBYhs6npPjqlKeG4WGcewtgjcO81JuggJgxJpjkBgfKwL+v?= =?utf-8?q?V24O3sF2q9tmPVvTP9pA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Anbyurwiz9IAT0TSkXJom/4da/mBbVJ+qXeJ37oEWIu?= =?utf-8?q?m03eOoUoFWu6C+P/boSTniKdqkO+yfrJErrfWcNc12RAFa87Tguk71L6NPm58s4VO?= =?utf-8?q?446IFwFDDd9gzC8LJKM6gj+1X+qZ4mr+kSDWwaBnc8vTSrQ98kQy0scv57RQ32Nms?= =?utf-8?q?2Ohmws6QnDLc8sn0gnoBHN2SH9w+6tn5Fk7makLz+orhu8wMGNOyTf6IvVrq8P9ky?= =?utf-8?q?y32wvQigQTOx/uzj4egFaLsl+Zk3497G8gj7uM51anMLUsBDQkxkZ6S/YHRh4hijy?= =?utf-8?q?9zCENbXPLXBobAwQvkc5VVw9phvHT9aVixkqmQq/ZxsQqsuNwqRxtntltz44QdLNK?= =?utf-8?q?n6Et7dm1Z4ok?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c57aea81-fcfe-4282-aa6d-08dc769ca5f7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:35.2184 (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: j+hpbiHWBVMw9wdJu5cFAEZvPIu2f4mxBGQy0LJodcyLAUPlrGMnbcNBW7OUycUHHg8NBvtXWp56HXfiwCrVdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8955 From: Han Xu Add "fsl,imx8qxp-gpmi-nand" compatible string. iMX8QXP gpmi nand is similar with iMX7D. But it using 4 clock: "gpmi_io", "gpmi_apb", "gpmi_bch" and "gpmi_bch_apb". Signed-off-by: Han Xu Signed-off-by: Frank Li --- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 20 +++++++++++++++++--- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 4 ++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c index e71ad2fcec232..f90c5207bacb6 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -983,7 +983,8 @@ static int gpmi_setup_interface(struct nand_chip *chip, int chipnr, return PTR_ERR(sdr); /* Only MX28/MX6 GPMI controller can reach EDO timings */ - if (sdr->tRC_min <= 25000 && !GPMI_IS_MX28(this) && !GPMI_IS_MX6(this)) + if (sdr->tRC_min <= 25000 && !GPMI_IS_MX28(this) && + !(GPMI_IS_MX6(this) || GPMI_IS_MX8(this))) return -ENOTSUPP; /* Stop here if this call was just a check */ @@ -1178,6 +1179,18 @@ static const struct gpmi_devdata gpmi_devdata_imx7d = { .clks_count = ARRAY_SIZE(gpmi_clks_for_mx7d), }; +static const char *gpmi_clks_for_mx8qxp[GPMI_CLK_MAX] = { + "gpmi_io", "gpmi_apb", "gpmi_bch", "gpmi_bch_apb", +}; + +static const struct gpmi_devdata gpmi_devdata_imx8qxp = { + .type = IS_MX8QXP, + .bch_max_ecc_strength = 62, + .max_chain_delay = 12000, + .clks = gpmi_clks_for_mx8qxp, + .clks_count = ARRAY_SIZE(gpmi_clks_for_mx8qxp), +}; + static int acquire_register_block(struct gpmi_nand_data *this, const char *res_name) { @@ -2281,7 +2294,7 @@ static int gpmi_init_last(struct gpmi_nand_data *this) * (1) the chip is imx6, and * (2) the size of the ECC parity is byte aligned. */ - if (GPMI_IS_MX6(this) && + if ((GPMI_IS_MX6(this) || GPMI_IS_MX8(this)) && ((bch_geo->gf_len * bch_geo->ecc_strength) % 8) == 0) { ecc->read_subpage = gpmi_ecc_read_subpage; chip->options |= NAND_SUBPAGE_READ; @@ -2692,7 +2705,7 @@ static int gpmi_nand_init(struct gpmi_nand_data *this) this->base.ops = &gpmi_nand_controller_ops; chip->controller = &this->base; - ret = nand_scan(chip, GPMI_IS_MX6(this) ? 2 : 1); + ret = nand_scan(chip, (GPMI_IS_MX6(this) || GPMI_IS_MX8(this)) ? 2 : 1); if (ret) goto err_out; @@ -2721,6 +2734,7 @@ static const struct of_device_id gpmi_nand_id_table[] = { { .compatible = "fsl,imx6q-gpmi-nand", .data = &gpmi_devdata_imx6q, }, { .compatible = "fsl,imx6sx-gpmi-nand", .data = &gpmi_devdata_imx6sx, }, { .compatible = "fsl,imx7d-gpmi-nand", .data = &gpmi_devdata_imx7d,}, + { .compatible = "fsl,imx8qxp-gpmi-nand", .data = &gpmi_devdata_imx8qxp, }, {} }; MODULE_DEVICE_TABLE(of, gpmi_nand_id_table); diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h index c3ff56ac62a7e..502f01a8338c3 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h @@ -78,6 +78,7 @@ enum gpmi_type { IS_MX6Q, IS_MX6SX, IS_MX7D, + IS_MX8QXP, }; struct gpmi_devdata { @@ -172,8 +173,11 @@ struct gpmi_nand_data { #define GPMI_IS_MX6Q(x) ((x)->devdata->type == IS_MX6Q) #define GPMI_IS_MX6SX(x) ((x)->devdata->type == IS_MX6SX) #define GPMI_IS_MX7D(x) ((x)->devdata->type == IS_MX7D) +#define GPMI_IS_MX8QXP(x) ((x)->devdata->type == IS_MX8QXP) #define GPMI_IS_MX6(x) (GPMI_IS_MX6Q(x) || GPMI_IS_MX6SX(x) || \ GPMI_IS_MX7D(x)) + +#define GPMI_IS_MX8(x) (GPMI_IS_MX8QXP(x)) #define GPMI_IS_MXS(x) (GPMI_IS_MX23(x) || GPMI_IS_MX28(x)) #endif From patchwork Fri May 17 18:09:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667294 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (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 4C16213E3E0 for ; Fri, 17 May 2024 18:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969445; cv=fail; b=pakE3pX38Rql1WY8we1kBI8RTc3L5Q6wp3iSrXtWCpzZPX94okYyisiA7/V+jdUjlFhBOKzeVH65AWrF7kAFYRzP9HuG6XcGDgQn3uNJWRvvZuj9+QT8a2dtzpW/qH1uKDl+kSHVsSKqVpEMz1nzmCv4HsKarNTFJ1UDIyxc2Xg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969445; c=relaxed/simple; bh=tEWFhDjhtUKAug5WAg7nPU6hg6Eu3mFZf5v7yoTqdyg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=KesY0Wj9egMtBMcl7HugyTroMmqGpRm7Rf4+rc7T5u7vMPCFFK1q2BRXm658wihhoTF+fIv7g5wR8WFCQSvWEaN9YmWFzsBlh2p2Xx4EidKziE/5Y6SO/CxspU4Cl8KfWTF/NSAFcFOdysdqWrJY1xH7Oz8NxYqGrZuVaxCmDGU= 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=r/ktXj73; arc=fail smtp.client-ip=40.107.21.88 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="r/ktXj73" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQ0f/+IggWK0LXT4nopLmIdSz0hM0uX3dgcPxntlzEkW6dFVifNA/6ktHlVwo3C8/8TlvBFn7ekd4KlCAI2+76YXiWSXMHOE4ko/o6mefp/BMLu/fr6IMbmD2XBq37HTtlet32O+357Q4yDBtFD78LQkyigEP5axTYaDWB3PtTFy/yU9pJlI20pazqLLoGJ29MDhK5LSUiZREN2OWtR95rh0X0sPbp4OkBLugFtjayJwLx3fpszTLZS7zJLjOql94jFRxpW69CGd8ekFP17JoIefFRVbh7LmTts3syyfgRIbRoMC0Us/VwudEW/881XKjWR/MIWCyeUXetUlB4ZVsA== 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=frIX+JJp9RbZncA+FJ2gAHvej7lxIMqz+pvAH4izM2s=; b=ia/dSugJe8ttO9ZwK8pa3SH8Iy/C7yOKeM4se78kPXILFp+ARZeGUo+iPOva1U6LLIbpMKoDHw76A/rQ+jASuDdvr06R+WVX2OqSLz9kEgUR4PhdzqXupoc5OXzdmWs85xHV30au0mPmQxygd7s3/6JQdJ+doIFfh4ULwDWrF7QMJXv/0nlcxkqGRUtP2s3L3vPpl2lG+Bb7bCNHklESOzlKe33PQKC7O78WICqK3s63yyLUwGoS26AEvn3+QA8dv8kZrVNvBq5Ugm+myI7qU61FoUum+LYO/BXoRdQVNL/5HJbqYys/hanjR78j0FcldC8SVfcSu/Kb+9JukmTCyA== 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=frIX+JJp9RbZncA+FJ2gAHvej7lxIMqz+pvAH4izM2s=; b=r/ktXj73uy4y9Jvq+FYrqegg4qmctVKZyI5a9wcLcVJz8FFy5nPf2QgONH1BEe6ojSBl+/A6TptkLcgqOsxGq2/RUm2vEE8PM60t1bg83orOEpCr/ZkJToPnslSkNcwaB+aUhyUFaF4sOM4KmK4uHlrvtswWv9hShtqwAcuRW14= 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 AM9PR04MB8955.eurprd04.prod.outlook.com (2603:10a6:20b:40a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 18:10:39 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:39 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:51 -0400 Subject: [PATCH 4/5] arm64: dts: imx8-ss-conn: add gpmi nand node Message-Id: <20240517-gpmi_nand-v1-4-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=3045; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=tEWFhDjhtUKAug5WAg7nPU6hg6Eu3mFZf5v7yoTqdyg=; b=AB60P0ig0zclmR0efXtybW2Ldf9p0om00y3oMQxbLE6UYFohVBbG5awXIvpM6efyzoVBtcNDC 8VIMCVUJ59rDW88q1b/EPq5KEgkm7tusdw0nocST1zwcJNyAhLNLHJP X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e3df053-d2c3-44ee-2321-08dc769ca8a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|1800799015|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?RMgzeCVDbCfJ+X/GZoI4dLf9DyAzNCM?= =?utf-8?q?isSRXcwR1Ayx4xJY0K+O2iv26H9ZGK/2kSW3TiQ1tWZj2JuEl7RDfiX1+FGc+d3iL?= =?utf-8?q?gqIkG5f7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Hh48gPKZ8fizqJT8Ld91ehJBAuavLvPROd7fDFpbnJKWeqmo8YnH+tF4?= =?utf-8?q?ChE3bMug9Hzp6pzrywzorQRfwMeSVeqWwzGWlMpdSPlvRMWmxa9AS61Tw9dejmOf9?= =?utf-8?q?sUAWICubGsEqR4PzLCEHWa9TAFKmgazxEJ/gFZeQ9QOd+UQJVZWObeGE0px05B/9B?= =?utf-8?q?pZyxOz6EbF/F9m6wTTjq/w6mQqQrGG5mkCRAn6+YTCIgkujOJ2QVxZ9b5H1/4E3Bf?= =?utf-8?q?TYfjkJZDhRoVzH1ITrRBjfizjJCgmu+66db7sphj83U6E5SGyb6mfyJT31YMbzRYR?= =?utf-8?q?qj83YHaf6++wdqqushayXClcSpa8uSx8+Ug=3D=3D?= 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)(7416005)(376005)(52116005)(1800799015)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QgGetlrHUCNOW0Mgg2DrtID7qASD?= =?utf-8?q?qRe+aA5PhnRXF3Q6glT8wj8xhp8Hxf00VLz5ZiqZKbGxn+JHxNkxVL1bKrBCI/qyb?= =?utf-8?q?BHcS9trn38kd3n8lc7ysA/o+/DSHWaJcN2dj3EFF331bWmobAA0XGrBm14N7m64Vh?= =?utf-8?q?GQnGqN+MScsQl5UoXN9RW9OiXShQBhpI6zOq740MzW3WrQs7A+ZdxMvlBFaA5mbof?= =?utf-8?q?6GtsoUR3oR39ClwIwHaJM2SRd6/ICA2qVzuP4IKG9C2+4P2mewNYyhChYswHU8b6o?= =?utf-8?q?oXka1KV05eRLKMjGEvEzTqWL0DLa06NoV9aI77QPYsxaxY51fHa46BpTpw+1rN04P?= =?utf-8?q?A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KBScUuD3Jt9MddOeByu8BgFtJI5F/i5wDlYodBNRJDVo5a/2cBiuqm2Sx7Lva2d6Z?= =?utf-8?q?pGJH9Z/HtSOI5h5lRiAOynIGvo5EkW4RL/wNJd1ZbncX0PH9xQd/QNwrOUpMZLGsF?= =?utf-8?q?4/BLgCDkq4yQbsRX5D3nSelAYdAKVMpiIbcP1+iHBRwgTBCT564GWX4K9Q05+mNuK?= =?utf-8?q?0YNnBmxpedvP5p7XozeF2GXJtPDdaKGxNFbPJV5W8xIAI4Oan+6sZy4qvGN1khOKE?= =?utf-8?q?+nzziAZLBBTIio7CpC0nY7WDZEk4//9RXOQjdW7TwmC6ExZfMQrUOH64NQVXlNKBS?= =?utf-8?q?06regVGf9pb6?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e3df053-d2c3-44ee-2321-08dc769ca8a0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:39.6630 (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: 75A6uUJWw4/g8eAHo+eV5oRnIoXP/qco6ZtHwd7ikDr13Y8yW7io1aHCbfI8ZSpc9a/xDIkdV96N0e9IPmJ5gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8955 Add gpmi nand support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 +++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index 4aaf5a0c1ed8a..a4a10ce03bfe0 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi @@ -28,6 +28,13 @@ conn_ipg_clk: clock-conn-ipg { clock-output-names = "conn_ipg_clk"; }; +conn_bch_clk: clock-conn-bch { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <400000000>; + clock-output-names = "conn_bch_clk"; +}; + conn_subsys: bus@5b000000 { compatible = "simple-bus"; #address-cells = <1>; @@ -302,4 +309,66 @@ usb3_lpcg: clock-controller@5b280000 { "usb3_aclk"; power-domains = <&pd IMX_SC_R_USB_2_PHY>; }; + + rawnand_0_lpcg: clock-controller@5b290000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290000 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>, + <&conn_axi_clk>, + <&conn_axi_clk>; + clock-indices = , , + , ; + clock-output-names = "gpmi_bch", + "gpmi_io", + "gpmi_apb", + "gpmi_bch_apb"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + rawnand_4_lpcg: clock-controller@5b290004 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290004 0x10000>; + #clock-cells = <1>; + clocks = <&conn_axi_clk>; + clock-indices = ; + clock-output-names = "apbhdma_hclk"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + dma_apbh: dma-controller@5b810000 { + compatible = "fsl,imx8qxp-dma-apbh", "fsl,imx28-dma-apbh"; + reg = <0x5b810000 0x2000>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <4>; + clocks = <&rawnand_4_lpcg IMX_LPCG_CLK_0>; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + gpmi: nand-controller@5b812000{ + compatible = "fsl,imx8qxp-gpmi-nand"; + reg = <0x5b812000 0x2000>, <0x5b814000 0x2000>; + reg-names = "gpmi-nand", "bch"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + interrupt-names = "bch"; + clocks = <&rawnand_0_lpcg IMX_LPCG_CLK_1>, + <&rawnand_0_lpcg IMX_LPCG_CLK_4>, + <&rawnand_0_lpcg IMX_LPCG_CLK_0>, + <&rawnand_0_lpcg IMX_LPCG_CLK_5>; + clock-names = "gpmi_io", "gpmi_apb", + "gpmi_bch", "gpmi_bch_apb"; + dmas = <&dma_apbh 0>; + dma-names = "rx-tx"; + power-domains = <&pd IMX_SC_R_NAND>; + assigned-clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>; + assigned-clock-rates = <50000000>; + status = "disabled"; + }; }; From patchwork Fri May 17 18:09:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667295 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (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 81B6213F430 for ; Fri, 17 May 2024 18:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969447; cv=fail; b=H858m4lRU4E8U9AdHE14ajNFEWwloWZCIlSQnWlskEiW5tV8NLAT7Iwe6iyDlChjfa3zKt6vKHxEWHzYs68kPA3wQt3V/kuQGIryUduWY3+qGlJqRuuRyuG91nE0JGvKeyJuzMuiWL/WGV10c5sVWc44mJIfUIKQgU+GXlg0T64= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969447; c=relaxed/simple; bh=Sw93A6LU58pwgdnzIBCjouGCoo5gK8ry/LgTrzVBlm8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=iVlHQQcyjguQOh9CMVqVkRS+NsWS9lFP0w90sF0ITknMFi9RxCmAQsEgLU8cw8lwfIUNq7TI3YIUPLZ6E33p0ymW4utgvFpdMm0L0MD8ZPM+AE3/flSeUhEWacNe0nKK5e6VoE9Fq3+B4cbLCm10kypNIR1Dou+6ZwpTWddOxC8= 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=CFGdRham; arc=fail smtp.client-ip=40.107.21.88 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="CFGdRham" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m3nh/Sgt6eKPKw3QEzgSVnV0/hLzG1BI0GGdtHF4mgZoKp3quN9S1p0BKhZ0o14/SzgDZTW24w6SBhMYlXKnEtgdlKzEW2pWhfzov6cof1CuyQAoHyX5kRYH+eWP+l7pnzF2Mz2LYCN45D8aCcfZ0DaeO4eH93RnwdWkj+Om4pgNvSVCJ4Uky5tVhtgzjbu7zvzQpGyOrDJeeo1Hoy8F7L7oC3+HJ6Zz/7rpc9/c6Xz/HypZSKktLdE5A7PMVW7aeMALGSqcaer38a4vp9OWbmLFOJ8LmLWDOOcwNMdT5gFHh53t8gjNCjDk3WxU37rji6bAauXkSp7/QE/xb13y1Q== 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=ym22gS0kdMfyxUPUeSJZsfWqaBY3uJD1o9Zz+PLgLKQ=; b=TqtBFx+yDjDrI0cRfrT8+dadjL+8P77wWdbBKiplEeO+7Xz9MH2HAAnBLITVG2M/Pnn9roa4xs0a52Pd2+G5XpYIrRcETYRPJeWDE3OmZriwtGHGZlO0sZbglwMQI6gFpCT1lVDszdD9tGDyThlZb6n3Qf03MHwiBKs7KQmI0nXHB45y2MkzPniDTLaVcqi33fWPw6s3LQVjNB5R8OZy1SQ6vkE2d0CPcZnv7pYFGBVmwohMV9MAr0WwTcoy07fQHmnRDcs0QeIOVO1vSlXUhAkPCQ9Cjo13VUXXkVSDMAxLCE+Q1xYv6K4F0ljV7XWBZTT1rtj/pGoUQRUU+WThXQ== 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=ym22gS0kdMfyxUPUeSJZsfWqaBY3uJD1o9Zz+PLgLKQ=; b=CFGdRhamkHNPmwW0ftnpRTV+AVamWbitLvD6O1NpUo5OmM2L3859YBlz+TNcikEA5cdLddOW2GuuDhOuDQmtNlWTVAaWGZxjRvgvdXHzC7q6kdkFirRwsGml9/dXwm8BPAsHrVz9wi1NXNDvvVbv9wsPg/srKTvQAlkIMD/LhYA= 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 AM9PR04MB8955.eurprd04.prod.outlook.com (2603:10a6:20b:40a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 18:10:44 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:44 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:52 -0400 Subject: [PATCH 5/5] arm64: dts: imx8dxl-ss-conn: add gpmi nand Message-Id: <20240517-gpmi_nand-v1-5-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=1138; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Sw93A6LU58pwgdnzIBCjouGCoo5gK8ry/LgTrzVBlm8=; b=aW3+VpMQiedBOh4DcfTwepzGO/KQLvlOYcYLIXV1GkIUhR2LYJcwog4CO7b4Dgso2+BBxaU4c dq17ppN58JoC/yecGeruat3i+SCzFLJdUFdnM5gMi5sEKLrscj0yqNK X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: 85ad61ec-810e-46d9-6b37-08dc769cab44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|1800799015|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?5+3QFSs4iDbakb40pN+TeGyUjbeiEGM?= =?utf-8?q?O7JEYEiz0L4lnjimZ+IgKnKngixy2BKnbu/daBusVvGoNHpFrmkXYYWSjuy2ssuaG?= =?utf-8?q?u2Xgh7UBjMjNdx/j5YXQcsq0+ywZgQCMLzFevsTUVe5HD8NPEzygesSAVz7I2g1/O?= =?utf-8?q?DiVWA0gBsueYJW+Wcr1CREBF/l0IVJI6mKtcOgcFbGgP+xPtE6QKKk1Nrm5Ep+6/0?= =?utf-8?q?N1YtfLNqkIKp+tdLyzhrJzlGR8MFlfCI+NjxBiupfd79j2n7Me5XIs6tOWxfKs0c4?= =?utf-8?q?I/FBH9FAZCCsVBS4LeY2/IAlm2PeDqOv2u1yHmsiycCZjF5Yz9lPQ+QFGeYW0/lCM?= =?utf-8?q?k1H3LhW7d+6fOrlzSFY3IZCvd2zUYJMNWDNlzN5euaPieOydIM6LZ3B7QcHdoklEv?= =?utf-8?q?qMC0df6bwkB/7gJy85QYrZmeCy9uiewbRgpxoa4dGmvWEMc02euOX7h0dozUVaz2l?= =?utf-8?q?trAhA/73JdZ+cYx6BshUIg1VRJESgfhUGnTE8ZVLRpBRr9U36M8IRY/rISeNt3u2z?= =?utf-8?q?rFmRFJZ6IOtbyqyDMXgPkzFD/2bEar+aVAWgC7zNoO91t3ygHjK1tFOOxgKed8Lpj?= =?utf-8?q?mc6yFS9QwiINoDEgam9jVVKnzHHGg3Bd8b6pAKdXX+uUyJePvxkLAGh96yHb9R+5w?= =?utf-8?q?FGKWJxSwwshpLIiewlDwQZxS6ZaCtxF4Q3j6XIb1IKLT1X5usck+Rb2kDAUHEGQ9W?= =?utf-8?q?BWvuWp16yC8w+ZceatIkhPx3wAltfqkiXTkYk1rMHn33ELbkUQZFJsmI3RnMd//IG?= =?utf-8?q?tg0/921QMx1OdtIuQbxRmoT7xcEQRVLWZi1eIkhxNEsqhf/d/8EkFSsJoI9oQsv+4?= =?utf-8?q?fUTFeTgLf8fiW5ab68J2sXgyVfn6246FZqkljfUTUf7cB3H997JS0+mSEq5k7Xmab?= =?utf-8?q?+oU2ya2W45uzkSUwiAk7qp9WUJxP25iTmsoRUJRo83qSYCki84ajipWvTbkjgmbnU?= =?utf-8?q?+CZlu8tYj2DsM2LUe4mL3Pk3IHUVEgrfADWwOUQcjw72tcuY48WEGsoUAcjkKqz0s?= =?utf-8?q?8S6z60J9qmefY0g/wKX/w0PM6NIDmPvFkER+PIVU2hLWRH7BLen8pflSUBE+QXTTL?= =?utf-8?q?PMJHLaKl6nNMNcjhjKEtW8TOf51P/bkCDxr7LMNxe0K2yXtZT2neXCwMmTZLI1SOj?= =?utf-8?q?chOKrq2F7KQo/9Gqtb3J5NBsAG4PM1D+aOA/uUWKM5q/uB5OO/AVSakbZhOh+YOzH?= =?utf-8?q?aS9vZDm7CI7OEbieEFnryH2amSKr3iV2/m4KI9YVXB67bhHeRP1JvXv4TifKYQc40?= =?utf-8?q?SG44j5BKz41fRu5e7q64Du1QtlezWXl5l0F1Ddk1YyQ7u29CM1MNhMpY=3D?= 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)(7416005)(376005)(52116005)(1800799015)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XH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ahcSp4ChmscR?= =?utf-8?q?L9xt4TR0KsXY3xtloT+WpB6ZyMFwJUG0pd6mLlLUXYfzbrHNKMl+otYBOIwxv21bP?= =?utf-8?q?EfPvW7ua6GKjDSkUTYo0k9J1u3tcPMu0taZFCnysHgugp2OREONLigtc7mfCUBmeo?= =?utf-8?q?oefGqRlgyES+SZlxmlNxlRdZbXuqiVN6iXSI1klwJNPZ0Wrur+NkM13gtVm7qUlev?= =?utf-8?q?4VueLSj5TNL9e6ykz5tCNoTlnRvcBSjHQte35t7QUsnMtcj/vSE1E87D+RnVZx46G?= =?utf-8?q?q4PioCy4HpsCs5MwRizIxebIecO1bCXJv4MRkvRKFufykB96yzkf4sT0exdFJSm04?= =?utf-8?q?o+k+vw3S6jYj/kuqtPwTnbAb2Yv2JUT+a1+ISKQJuYi87AVjL9BBl1EZD+torGrtu?= =?utf-8?q?kUGECc0Oz99gKp+pS+IGk3G3iU4+ujCfy8Y5PcRDp6WYxVztltg4GvRwiDHrf0ybd?= =?utf-8?q?bhuUcCt9H/Te2Kyabz127Pp9y2NuAAVdN6xY9Eucc7Qv6X9NlYR5CHVW1wHRiccuH?= =?utf-8?q?cThShy471kUaPZGwKHy3UiL+s3wEQInxbcDA6oPtORqdN/3H1vI1H9hWVU0DfwKt0?= =?utf-8?q?SdVbSGVgDZLIylD7UsBnZgrzXUHXMndKFduQyDr26jg5jI74hTG+tAGx41woDr1DA?= =?utf-8?q?j1PVFEKwwBBZ?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85ad61ec-810e-46d9-6b37-08dc769cab44 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:44.0771 (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: 4YRP7cYIConIV1B2uqPVwdKaCRAzn7xN9T6xgoprwNUirr+Ri1XM50DfFutiEhPTbHs6OIDq1fAeKMz8SxjF1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8955 Update gpmi nand and dma_apbh interrupt number for imx8dxl. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi index 6d13e4fafb761..1e02b04494e94 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi @@ -108,6 +108,13 @@ usb2_2_lpcg: clock-controller@5b280000 { }; +&dma_apbh { + interrupts = , + , + , + ; +}; + &enet0_lpcg { clocks = <&conn_enet0_root_clk>, <&conn_enet0_root_clk>, @@ -127,6 +134,10 @@ &fec1 { assigned-clock-rates = <125000000>; }; +&gpmi { + interrupts = ; +}; + &usdhc1 { compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; interrupts = ;