From patchwork Mon May 20 16:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668454 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) (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 BC73713791D; Mon, 20 May 2024 16:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221403; cv=fail; b=s7gDu3u54SAMTCTs6rexlYYK8LWMaBG1Fn4NmQBVnYFjuM7sffn/aMeK5tP2ZKu+qPBR7VzF5ZMPJlxKO+zlwSFoOhpbN/k2qULcthocxm3n7m9X14g65yzMF878VgAFhJoVRU/0X2pw78CGS3br7Bq2n7HGu6/UoEfpQt0n4fY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221403; c=relaxed/simple; bh=Ue9DoiTmBK6eu+g2lWFajA/J9GaQ6d3UFTf3Ewes2Ic=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=BJJ0omO3axlvpQoQaGSFrH7s6u7iboiSdDFHdUeHsgBBwuixUXxaESMvBTMyp7P/rUoRlCqVJVP/PaUB0e3tp8bax/vR2IeKsBcoTgJaRkBd5WdnVLwOSWX5+nY27GrtrUVdinWF+F+/ALbg93B5xXpEnp1o7nBmrEYvprHTpPQ= 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=lYpqeANe; arc=fail smtp.client-ip=40.107.14.51 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="lYpqeANe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=npBx5HPiG3lVWZJ5gXasauO88p5HCEsfz/T0HsKA1jBGwTNNgOsCmn0EpwbsEazwZZEWpsyl194tBX5DVhZ3z6N+5jYHNZop/ojw6ATO4B54k+h6FFSvwmAcxv/H7VBKwQbtEEKvdeHxkUiaiVriolAwTlp/B05yzKWkKXIIGro1L4UGLGeWeEOCzjSHm2sVihZbyL6UQN0CIIJmEMSeLnKBa3bHGgx0tQIxV3y6TCSRYxNyb+dYv06L/Nd+DZ9Kx/XYMkPgKucbIdIsJ5aZReGyHVBrRLg2bLU0WwUoOBDF5DF8u5acrr8OBg9SZtYGoawk8QsmxnAXZm75OaCNMQ== 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=E9emo35KxtTL6sVPk1TwtZvPbPKn4fPgKSyoEMmO3/QMjzxCpIevEqsChMPIMmWDCZABo1h/oO4sdAFSb42C+reRkETBA+VJsJUpcJlBJ4sKgcjSsj4AWPvmmSloqPOWAKxaQvKESmw0/VhgBnQlC5TO0sINsbARYkSK65vWoX4H5xO5HsaiRk+HZnEpTwbM4SIy+zTD5Ge8zy6cKqPhQbMrHF2JZGnTLe7rf1B1/3uBzfXxwbVIn8pLe0ebdGAUxxOWvfmoXP7vUd/voeYPf00nhAJZNklwf7JbTszfuufB16A/n/MdmyegPs7M8pNVfl99mDUilqt5LH5tIE7T3g== 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=lYpqeANe1aba3bWfS0n4YqRnCyheyzAbhG1VpVXdiFrZqT4Oj6FoWvpUo1sWy9gv5jdJWaV9cRXm+LORA2CExkKkTOsGhCKYxqPRwHre6lt2irvUVTokeqgBbyjlX9G0328C2/S4UYb6WwzrAUUpkbrAwatcWRjP0uI56hFYFEM= 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 DU2PR04MB8535.eurprd04.prod.outlook.com (2603:10a6:10:2d6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.30; Mon, 20 May 2024 16:09:59 +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.030; Mon, 20 May 2024 16:09:59 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:12 -0400 Subject: [PATCH v2 1/6] dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string Message-Id: <20240520-gpmi_nand-v2-1-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=1517; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Ue9DoiTmBK6eu+g2lWFajA/J9GaQ6d3UFTf3Ewes2Ic=; b=N1UcfsKGZk0yIQVrPMrzErBuP20r7w/OLMzY9vu9sxtb3lupBd7iC01wpTsT5b/dSJsiYPLNB zfCE/uOel6lA+bIFpNGhidXYu/Zh1jJKEODIbBds49vtNWr44/rkj3N X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|DU2PR04MB8535:EE_ X-MS-Office365-Filtering-Correlation-Id: a577120f-6dc6-4b43-b079-08dc78e74c9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|376005|52116005|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?NBtdnbyu9KzHnQHyLZl/8EWXlu+RZ0h?= =?utf-8?q?ni/h0IphTngNd5/Bu0vreTDG+qoiMFns+xCBrOtngnQ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r6tVAiK+redjIu?= =?utf-8?q?pXhylRUprGnbmq0dgqGdqJAVrY1iZu1SPuueUyg2tUSgvdmoWKx38iyTmbhCMP1lm?= =?utf-8?q?pyTI2BBPzbtwUlFZtmKHkikuF2rjXL/Sl5vcBQwdZu9tzObllMIya4Iaqbgs+6uHj?= =?utf-8?q?vZhQwOU0Ai8L0RwaXhDzVnI65jR5/nZ/Qs5BbgoUfxqU1TnpMNf0OEe7gnX9jWqm2?= =?utf-8?q?QJPG9HAX95vEKydPj3X9nKrKxR/nKO1BKWFqQbujp84TV/4Jl6+z7nO/0gQbo545B?= =?utf-8?q?ORJjgBQXErk73A5T9Dd+THfzRDkbm9Ekciun7BnPAfD7vBL9P8ZrIvSonkU1KIHlL?= =?utf-8?q?OBUvBnRI9ff1hsFZzORQ73ZmP7jKAb6Q5MxjA5Yk39CUeRktoo65gGnk=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)(366007)(7416005)(1800799015)(376005)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?AW0TnAjoV5e8kWZyXyawIXlVW4Jh?= =?utf-8?q?Y0UasiEC66dbeIlagL9F5ltMiwEV7uQJx8hy8mlICsI1WrWKU9fBLjV575BK1WWHP?= =?utf-8?q?AMyB///qAySy6zy8/IG6Xv+xMhmOXwjD9hapVdsjVEyoQqGOvHL74KOw2MIwqnnT+?= =?utf-8?q?P8fvRvyUas2T7P5YUBMJZ6P6bvH0ZvLFoubYvTghls/69H8ogRek5gJ4uHFqSpkGl?= =?utf-8?q?TrHkqK1INfqPaRqhhZpuGeOKDu2cNwCpqo/Qt2tE/gJ1Ndhx6raYXcwH36inUOnpK?= =?utf-8?q?7+HvIQ2NY3A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YUmNDL5IJ+oqQchnmXOZHcuoNRnLjPMwZEcLt48xWF0k8KZ0BzdGC?= =?utf-8?q?Hivqz/FQKJIN69VJRieSVbArzK8b+uVHCXLvcxq6d8nPNI2+lOozPGq5TojQuY0DW?= =?utf-8?q?hlIW6rbTbqMH5FZCEZMATh3I48y0R+tBh6XRQheO4VFkyGXYH3+DyzaDgOUIDnDwH?= =?utf-8?q?M/vlVVrtVA6QYIVIw/8H7dVlFSkBcJ0pwfRzs0PhXM5dtspjXOkxD/zhWuxCDZ1o8?= =?utf-8?q?A1NzYjB5vusADhT1WN8alKQObXxEW7Zu+/ZiCsBYdMlykCgKtyWjvM36PdYw6wJSR?= =?utf-8?q?nZot48Cps960+NoUbP3hUizirahDWlmKsnQruP1xRmIJr62u6POTj0Mc=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a577120f-6dc6-4b43-b079-08dc78e74c9c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:09:59.8755 (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: ZtWIdDDpIoIZZMP4JiVTIVyFua2JoUEZF0o8d+K1KEAsEil63Mtc3Zf9kO6FFdCuHZ9FsHkjf8z8EyGTUW7PfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8535 Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction. Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) --- .../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 Mon May 20 16:09:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668455 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2077.outbound.protection.outlook.com [40.107.14.77]) (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 1F19F13791A; Mon, 20 May 2024 16:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221408; cv=fail; b=gVEFldId0+Tm0DzLEIjeAKA7bcwlA4Aq4XPiEO2u6gqyvbiDgT+P9WsU/ooW+USuXhNlyAIW7NbLlhupmpSQR6n4623L/Dbx9ysHIdspO37WaBbyeK93SkJOnk7JuhPiZfwsngdSJsPfCRcLZCi3kx9lH0KrvR4uf/R3Xc6s0AY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221408; 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=ZFeOY89U+C+YmUiORUPk3WZuM03YxZ1Yvm/b7S0DCsSZDXGtgK+bSpc1skY47yg+uIpspsaJZNV6Gf4qMEStqKkYRJwX55h/EeKEDqgcpdLzIP6j7Y+tJh5qUTL1M1N3BPGqkHtfpY7KT+9+RlqdyBljmdkTOEBdmyXuTJW25lA= 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=TO4B5EW3; arc=fail smtp.client-ip=40.107.14.77 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="TO4B5EW3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CT8X9PgKvbx68arF00Lv/Mm4QLIpmzNeguBiA0+3IjloH6IOqsMH/nQ0QZ9t98c/j5IxvR12ML5SfTf5PdEJNxSz9rykuAE+vBbFISQ/Zcfqts78tr6aPPfDHvFplhGc4J02asi0dvc+91krZd/+3JGvMlpYjoFrhCpvVC6LUCo4Jz0L3F56mgcfW1tUibKSsPl4LB6hN8dwuNsBH1ipfWnNbWORm1crSBM/GW+PxfjnhEyu9iHVyJgd+Yzf7t+7vkZ8FEIzBiJdUikIJ/FncryvxcnwphuiM6GOJhQPBK5+Ur8P9ZqRaSdr8zDxRX6QV+wd4dkrjWOjV7veBlBfVA== 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=c6I1i5ekS8DeAcO5q2RCcJDBtcjyUhV+DoQyAxdSPopJVN6ShJFsSpEo2KIppc3HvVFKq24SycMQtSxanRgQhJJfFwvGifq1K+27Cmq4g7XWti9yIU50MDWtKvHcauoxAyEpwn0yr90TynUQubq3u42hnUdNIzgMJSRGefA7RbQXg9gd7J/8aUHVDNXZwkpUqPtd5WvOOUdqeNIO9/y53sdEHVidoU5q/1ziJ2inpQEGezGB2sHvcj1/7Jdg99JzFb3YV64Bx69Gp71TFfP1DQPHWpCLAlXs9ZDyz2D0kdayuQ/KNzKz/PqhTH/r5/M29JH3OxW3eTFKPosZORiTnQ== 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=TO4B5EW3xx4pKp5amXMWKVoOMC2D1o1j4DB80GceCtCc5XyGMWKBtZEkesIwDGpXejkJR4qtNXH8WqrWif92ItPxNirrkgRWCvQLLlfd03mtbtiP1ZCePxvJAObT6i4jgbWuUXLmWJjZJTpG92qzTQdEMVBkKUDYbkDBHZMtcBM= 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 DU2PR04MB8535.eurprd04.prod.outlook.com (2603:10a6:10:2d6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.30; Mon, 20 May 2024 16:10:04 +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.030; Mon, 20 May 2024 16:10:04 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:13 -0400 Subject: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh" Message-Id: <20240520-gpmi_nand-v2-2-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=1519; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=8gM8Ady/cecQ90Pmy3nAQ77+C59Vc/wcv83Dzng1DKw=; b=kwH0H/oC4AMT973jjRiIE/NXPKvOcOf8PDMB+UI3/TlI15L3i6ZCHwScJD5fHBgCq5wYb2IkU wbci0k3XxyWBEqe4ighayUB7YRLhVy/9r5pAx+Z8gj+F0saF1xTIqJw X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|DU2PR04MB8535:EE_ X-MS-Office365-Filtering-Correlation-Id: 165446dc-c3de-499d-6e4a-08dc78e74f59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|376005|52116005|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?oHMKCjJtcrJqs9pUOg0noLtDRvzw5yc?= =?utf-8?q?+GEOcPOSzUQ4tN5m5weSX29VPP26vZoFuAgPnljl9QsTvlI4HVnmI04Jt/uOjc+Wz?= =?utf-8?q?5dydDLS4xfYF7KmlAJYwhHnRgNFb8UFvckBkLzlpQiBqahLSey08ibv2zYkkNLFGf?= =?utf-8?q?wLsU3LeNMyWUVObzZXKN3x4QXZ+BNu1dTxTyAcZF105iycnfQPpb2thIH6YnFBgCY?= =?utf-8?q?rKOJ4r/mZCZq3cOa0ksrFa4zcv0e+5LZvJg6/fRkw+w4DTa/akMm2NFVQYy1MyDyI?= =?utf-8?q?zEj9yQqE6Vkrc2nMv1WqxG3WU1hNaLgGO7EZSuOhvyZsCR98fM1znItnQGbNl0DeQ?= =?utf-8?q?ZdmZsBkzTy45hY83DWKkZN0bFZdXFldjh4+QiyCnww88Bho3fx+YLFaWOEvW3Kn0f?= =?utf-8?q?ma7lAjY8tD+Ig3nOFVNcHkCef4eDa6d2ON1W0Xv7eunTsWBOi6dUcDF+So2cq+OPD?= =?utf-8?q?GWmZ9CYppSprxhiBg8Mul3G4Bx9wCg5BgEUGq2E2xPzh2YP0ORPV1BTgME150QOQc?= =?utf-8?q?+nAMFpSgk2EXK2FnVH3umnhDAcuOo9SLHfp/Ak/7gKBzSCnxz77E5Q1QZ4AeD4Si/?= =?utf-8?q?aJXVTDGrvr5kAc+5NXY/hCBh2cquIu+wysFQCqRVekhds3JiAt3mick/e80JjOFAG?= =?utf-8?q?GT8IkD10I8XqV9Uk2mDtGTivalQcqKDEglyeCZmWpEphSM2vvPTMqvPFZmXEeNKus?= =?utf-8?q?fVXUWW4UGxYXB5DNKRK/agn1Ne9YGWvDthTPHYteUY14Vq35A8hK2q6S9aMQl2Oc1?= =?utf-8?q?uBxQoGqE20H5qN1ze/hFkTNXPLwY8RHKgnNCaYcCQq0TJP36mYHFQCVIZFDxnFWxQ?= =?utf-8?q?tJ5elouW78dBgKAiHB+JU+oWSDZA4O1jIx8SeRWzk+3h6MfAe2hBEU/th1CChLCSN?= =?utf-8?q?44YtsmRrLApznZufwg+/zctCavlVDNBswl4Rpow3DC1cvprgpGrZmGmS4DaVWDMBC?= =?utf-8?q?T/Q14Z1o2t1/BQmNw9oa9to0oYqOcb1KxjjeXMu1lCIjDGtaV65vrJN/DzsXVhDo+?= =?utf-8?q?FWl368f1oQdF7NoKd9+vyLiB9Lzwnn/SzP4L8+wW6GGOOkun7n/+WOixlcoOghush?= =?utf-8?q?b+voDz/3IAvxFhxIxni9VsvptSZUTBpbWLwc2CY4yZqDBYYSSj87JM9+8ha2lZdld?= =?utf-8?q?6qi6EMrXvyzVBkq6yMXof/r82Q5bbG7l+Pn99PV2b7pdAyY8pawJgJs5ad0byzpBW?= =?utf-8?q?WXSr9SYOSlAkm/p4zwi5sRiutftogQZpaq4PIEr/irk7ufjAeMrkGuddw+G6PiE0C?= =?utf-8?q?yQsckKTUkjlfS+TAe+y5J7+s15L53izKPAIouFKNLwB8n3WjHGajPc+8=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)(366007)(7416005)(1800799015)(376005)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?sT3i5V0D9Vsyu1De5v0MOjwYYJn3?= =?utf-8?q?E4lX+tuduv528KIq8fafdccB5mQ7Jr4m+wmzacuBbPaDzr6A7WBqtUFtzx5Ie5Ct4?= =?utf-8?q?CZxau/sLMgoDE9Ze7zWIG9rK6mKlx2Zg6xS1fSouJVCe2/uHahzzRlsUy51v06hNO?= =?utf-8?q?rdr9Mvhq1CLh+jp+dSkK4iQ2OjZXOXK5yd0VmJJODLty7IfpQiNE/4jiKyjWWZUF0?= =?utf-8?q?SpePctc50C/0l1LIsI0lpZ5+McUJV0J6dbSh0j2Ta2x7+Js+E1O11P6V+lcqky7eL?= =?utf-8?q?rvvX2dISJChssPGC8Eb7Wtfh7B086g99IPk4whEoXDWFJoHCcq3rJ8hT8LAH6mFfO?= =?utf-8?q?KTU6kuUa8yGJ88PadRmUAX8+H2McZE+WyI6wT+yh4YiUCnOW7hMKECpBzQw04VUpy?= =?utf-8?q?G3bL+iA8m22ypqaoxv6Dq+n0ETyqCBtsjdEaFCvKZK+QraLq3MTkDjiLr3qAyGx44?= =?utf-8?q?gERJVTTIedIeNKqWAZhI94FskBuTMqu+rTMM5IKlv6GLSt9ZfMhDRJx88kCLglY32?= =?utf-8?q?tHuOaP4BJvuqoAtQ8r3t9Ns2JcfiMBvIF/P/gtIuZIu337s/9Yu6hPLLL4TELZ8Wf?= =?utf-8?q?xQLv8Wcs/9oE0pnPumSeNNuRT39Kx5sIYbsvncTMe7omicB9a9h3Cd7qxoYXKgPIi?= =?utf-8?q?+Cdf91lAaDMIgthYMpH4s/SV+ToNNsYbuUaB9tBgohQAnsRJqwKhmS8PwdJiFdUon?= =?utf-8?q?2aiFfEVxaNQJ7ve3PlxsLR24gjBsoRvUhKRH17zlmuWAFFxyvLMTiUO/dUF6o4oNS?= =?utf-8?q?fPaHw1pq94Eot8GPBnwTVG88yqMGLnkEiiZp67PskdGf4tKpSRJkwQkUXgTm8uEC5?= =?utf-8?q?JDh8C3mcP13HMxYiJYic2fbXW7nxFVovgmIKE90J49XE6yPMbHCDkg1UFrHdXNEaH?= =?utf-8?q?b0HsQlBNQstHM/1GHthblgjJsBMfqzScWuQ015GYVwwqxWwcSvm1o4Cgj5gdwshDJ?= =?utf-8?q?RCCLyGMlD/vxluAdDillwNcBEh982DRp0N++8kldDDW11D/aCVhM7S0Z0Yn0cJ3Dg?= =?utf-8?q?dnFD3KOEHLH/UAjCcDNoXJrlsTHrErcrrk4TDAk4wH2JKWq9+PKBszVQoFkrjGQLg?= =?utf-8?q?K0zatT4rVS3xnClqcb9+oviWHONwDeN8oWAbUrMbIxp8SCvlAZjc/0IuvXzrDImHp?= =?utf-8?q?Ubsf5SobT1++o3A1tK70Vz4Y7SVmOdSs5iyMJscv5/gV5DidUqsexHbpCn0XkyEuE?= =?utf-8?q?BHGBSGpsJTO25nC0dpj6M9dsjh/XMj/HX92BiUCtdTOwTeXyxPsGBPTNGatwQ9b8Q?= =?utf-8?q?lmUNahQ5XZVx7id4nN+BbE2m/rBkmk90pIOTdqq6ASqhPikcimRzqM8bHOtlkTjaG?= =?utf-8?q?VGBO9x74XzeAIINWyOIf3iaaUF8/ch4nUTbeYXxeGI9BP9/dqudRnGGDt0bx+SiCL?= =?utf-8?q?eGbmt09ixxN6KJQJ1tbfOEd6E9XHF1Qjp7TfvOqbEtL0iR6J88p/lZtRGEkOCBNsI?= =?utf-8?q?DwKKO48dJGpGCI1MP1TLxcfDD+PqQvSXMRdpsCUi5KmIj20GFxtBMA14=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 165446dc-c3de-499d-6e4a-08dc78e74f59 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:10:04.4687 (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: BeMWF45uvWfcwi+El8zH5X3Kg9siEkxdSf62hCbCpgMTpYKbIgZ9itu3pzDDGYfEdHwIseVPdtCXqN5ZnDxheQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8535 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 Mon May 20 16:09:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668456 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) (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 82C3E137C41; Mon, 20 May 2024 16:10:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221413; cv=fail; b=H+Ey9KqPayoJeyxKA0//kh1HIFZdgvbBpGz1h0J99uR6nLPezxCwBl8nxfrFomj3rXNLUkFk3XZwie5VW+S47x7RHqNEJMKD3CyrvthWKvgEl3HMUdqNBNubh8ZA4xJs6PPbhc2faASbCkbBJZUkAy7XkMjEYuiraRcTisxrKxE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221413; c=relaxed/simple; bh=wt57gsZfa3s3Z6Q569TN9f6t8idnkZsgh/XKjwvXUOc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dSoXNctt7xIjQRiv0YbuPU1bFlVe60CO99g/wY0IqDeBRGsGbRV21ewxm5hpTj1V6dtANm9D9hxB80Xv2OjHry1RxyBSHofMEXeHZyafzb5anNnnSuAoe7XyJ3560cUj8mqgPFJ/kH3BLysqdh7h+SUJcmY7Xl9Vbde+kQqGerY= 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=I9MGjIwc; arc=fail smtp.client-ip=40.107.14.51 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="I9MGjIwc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cl0T8agZ6mdXpID/YIGWADeXrCqK4nmOvaOmNuCAJV+hsH+l1DniDlgbMbymHLK18yaKE5F6bumGXmr9FP9KbyxVZgCq27HzXchCxeogjo2eZ7EAshoCI2oTx9teXqs1drA0zPffTTQplOV7BddL76o0C01CT7NVQ3LHOHothM4lWxHe6gFoMXDjoUZQpnJxX5wo11fMIRrriyBhCP05AaRXbJxWUab+ZO+J/bj6/XtjLPPQzzv3pmNVPQ4P4pntlhSiM3Jq0trJO7xT4b3cYJntLUcpaNdq+C+SLYzgtWkBgu4H/Cy0p4vLXHcFULs6xgajIfZZbQjDyiH0jn63qQ== 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=XLYmqQJGX2KIl9hOQmg5dXxOXeYjkDMz3QvktiBUt2w=; b=HZa8OdH+DQD1LnK15U2IqchPWhuZWsjqQmq/ZPRjKDSsRGMmA6KiVZVmqCJLQ0P9fTtVodob0l+xaObRMamez28GXrjt23Q7882q+xTZ+WAFAFjS6FRR5xCUQ0owX/NCVTH20ZPEoH9RWvTRoJabeuF5OU4Wqexi/QSg9I0Aa2nu8XiiEbKXbvuYj6dpWvyLByQ2QuPKJSQZ72AlBEke26MRj/pWK8vBbxZGYjzRi5FV7Edt3Fp4Ap6ny49dDWX21Tc/UEeUHTnjINyWbd4tfdGXq1eVGFKg7qfS97k0ghABXSkdiUTTJvhASZhp7G+gRogyEJ88Y6qzmJtMai5qRg== 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=XLYmqQJGX2KIl9hOQmg5dXxOXeYjkDMz3QvktiBUt2w=; b=I9MGjIwct2P40N2w7D3I1ydMwd5Q6w9bpbkVe6gqnKOJo2zF/r6jbeStsT6JKp+SPrT3xBIrpDhdRz0mC9X00Yct/pY6UCPbsyFdBx0M90PQNzEkUCjq3YxAqzoP0B4cbpdvppsK+C99w7gqd4iutA2KZNa2EaJjDTZwUuOCAkw= 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 DU2PR04MB8535.eurprd04.prod.outlook.com (2603:10a6:10:2d6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.30; Mon, 20 May 2024 16:10:09 +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.030; Mon, 20 May 2024 16:10:09 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:14 -0400 Subject: [PATCH v2 3/6] mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata Message-Id: <20240520-gpmi_nand-v2-3-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=2587; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=wt57gsZfa3s3Z6Q569TN9f6t8idnkZsgh/XKjwvXUOc=; b=QaO43pC66xRkKK1LdzO7pbm2N8V/6TKHLuFFu3WSfXyQjCaJ3stMRIn9Ep0O7p97qkGaH29ph 2L+gBRNIrquCnh4T7mLr/WGVL/AIbkKy5o29qb99Ba/zO8+WUwPf4w8 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|DU2PR04MB8535:EE_ X-MS-Office365-Filtering-Correlation-Id: ba2a5af9-2db6-42a9-6a38-08dc78e7521a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|376005|52116005|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?138XOYjl0UTQmPLjZQ8J6V0GwWgv2/a?= =?utf-8?q?Dpf748IuTxijHlhMb62Nf8sGpOKGiECRjiBBWoJwvhODFOU+LG+gxIp7pNXwOfzyT?= =?utf-8?q?jfF4TP0C41ocHEeTNbMwt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304KlPfaYQPUxG1LoVa1ugIlQQy+FM6qApfvtyay?= =?utf-8?q?pNCrVET6lvJHJZNUtEduCJ10v4MX5WXXiRjo0Gc7Csqkj2qxTgfO4s71IQd7KxdsI?= =?utf-8?q?GmHfQr7WvXAQm6CZtvXNH/2dsypB3JDD+oWXsiyqPMFMbPCeY08rDjp/aq/3xNKNx?= =?utf-8?q?UnSUvZ8odhiXdl89to5w7/C4C+Hx3jAlzDLCOLkejc3gYj5+ypQUnFZFUQDlR4HIA?= =?utf-8?q?vKv1BgHTlF5dIhob3opsdYPPHlbqQgDVaERDpP92/S93umXy/J5QL/EN+ytyGhMY0?= =?utf-8?q?RWYoT5xMLARhbmxFpg04TaoiYzSg0N5+Don7qUqh4S+licYbYg0Cuk+w=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)(366007)(7416005)(1800799015)(376005)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Nq338ex2nJytpgGDudJzTrPg8vni?= =?utf-8?q?x7zFnnG2zK+8S285IIc+pXMMcck0UApChrv6nmePP2/Bo8woOvCB7ZcSyJF7HdODq?= =?utf-8?q?9FNDBF/TVx3bT13aZKBWjpxRauB1b+RGQVTQmQQO0uqjC8Z7GjqY6NFCTbvaiiZeB?= =?utf-8?q?lCG7HuB626Tf6Hb9fNqXs8MzYuViI/Cw+lwu2MdLCVwrESsaoxYDl+MFhfBZNq/r7?= =?utf-8?q?vauKAuO0EONo01eQd58lZReQnFjvsgryevSWqAXN+lAZrIM6u19Gvu/64lykBgig+?= =?utf-8?q?Re4pwQau6qIE5gNvVicu16mz96mPV5iX2nRpBN0EXBYWGN7hzQpOwnYMUyCw0h4X+?= =?utf-8?q?78rSa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q?3bRGdCKgIODY//GEABHrF+sME04aQNCTKbR6/f72qUnnddEBMpuE8NMESfkymt/pr?= =?utf-8?q?DuR+6/pZPQNDpSsxeKY0sx1fVzLR2uzX/eirCRPAAVSh79VJA78zcEBoA3svlKB3E?= =?utf-8?q?3abXaPXUKzaMnSv2jdmxxBBWR6AOcREsU1v/ZszBLn0AD+9CVSj2Cj80jqLOFPglZ?= =?utf-8?q?KD+rwh9etqPZFnxWCxK8xt9MeQew4Dgw8E3VPhxCbPq00nC2qHTMgZvVrolyABBzA?= =?utf-8?q?clCiJLlo+RMsdFHpk96J6SMO2UDgrPqMNArcGlE0ETr290f1aNFvvZMo=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba2a5af9-2db6-42a9-6a38-08dc78e7521a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:10:09.1093 (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: OtpD7E8dHTEyXzZ81J5T27QPFyf/dJhqpXSaxp+2hjN60zd/2tcKMwOXnFbKmxvyciFPhPRak9y50X5A5ZPd9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8535 Introduce a boolean flag, 'support_edo_timing', within gpmi_devdata to simplify the logic check in gpmi_setup_interface(). This is made in preparation for adding support for imx8qxp gpmi. Signed-off-by: Frank Li --- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 6 +++++- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c index e71ad2fcec232..fbb1f243ef129 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -983,7 +983,7 @@ 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 && !this->devdata->support_edo_timing) return -ENOTSUPP; /* Stop here if this call was just a check */ @@ -1142,6 +1142,7 @@ static const struct gpmi_devdata gpmi_devdata_imx28 = { .type = IS_MX28, .bch_max_ecc_strength = 20, .max_chain_delay = 16000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx2x, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx2x), }; @@ -1154,6 +1155,7 @@ static const struct gpmi_devdata gpmi_devdata_imx6q = { .type = IS_MX6Q, .bch_max_ecc_strength = 40, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx6, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), }; @@ -1162,6 +1164,7 @@ static const struct gpmi_devdata gpmi_devdata_imx6sx = { .type = IS_MX6SX, .bch_max_ecc_strength = 62, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx6, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), }; @@ -1174,6 +1177,7 @@ static const struct gpmi_devdata gpmi_devdata_imx7d = { .type = IS_MX7D, .bch_max_ecc_strength = 62, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx7d, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx7d), }; diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h index c3ff56ac62a7e..c8a662a497b60 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h @@ -86,6 +86,7 @@ struct gpmi_devdata { int max_chain_delay; /* See the SDR EDO mode */ const char * const *clks; const int clks_count; + bool support_edo_timing; }; /** From patchwork Mon May 20 16:09:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668457 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2043.outbound.protection.outlook.com [40.107.13.43]) (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 9AC4F13849C; Mon, 20 May 2024 16:10:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221419; cv=fail; b=BxwJ60vfSVk83PIsPqKjA3NaBaJS0besz+NEm/nyO7Pxa6+1iX6IGeKfSk+LcjkQ7l9oq/yIMG7sdd5nPg7s+bxU/ALMK1J7v98pL2vKG7k1ffmwxZNfhrENMPwLcC4R8mntfqdZXnKwP3YsFmy79ghFiL6LB58E0K4VwdS52o4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221419; c=relaxed/simple; bh=7ZsvV955QQilbaFQlIcmbK8f2wBN0bRJw8ofxtX143Q=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=s3JgWWASaje3YaTmLOkYmsOzE5yPgdSQyY8uzYjFtyB+BRYj+Kj5reyUP6D5oy30DYRLDuc0YjapjIPaxXMoDS4rpLJR5gwIT/EWBV2/DGVzrTgEkP47sLlPcvyW1QRz3gqvVIVmN4B5RqvU69uC+arPpMykFe9NViY3znebzAA= 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=p4g/Al1K; arc=fail smtp.client-ip=40.107.13.43 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="p4g/Al1K" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bl9u1W6Li+Evq6iJE5LlAoEjoQ32MKnHNz74urZi/0WvlaqPseL9e55+olYHHr3YdGnpHU0LslniugQOMJyfGE5NCtPJjDuaVGbyVy6T10eHaTQiaIK2xfvf6gfQu2B91+J7F6ORPXL5If6LIDsXR/bW/sXPqdkpmH+yDnqN4uuzS+uxLCymc09ne1iVZ4NwAv+hf0LGyP8oqECGW4zC6UXMXA1SpqIXSqycmaizAove+hmKn/xJLMl/xWxa58VpYW6ObwgBAGF/t4kTdUPrZQQIl9tayeG+MnubOx3SOV7W0oob4r2tecuueQyLmJ0x9UddV7PfwESJPWKKoW1w0g== 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=80+G5rfR4UJ7cIeK7XS59usNAcPhX3aXtU2yQgCr3qc=; b=YtoxUFIjkfF9psKelgPwXr90SJ8Sr8s+LvgyZjNK7Q1E/VpMS8ABxo7xKG3vYj2Dm5zvz0ij5E4QDN3SzhSDo961Hvt0ytdXn5xajExK0aPYTQjOhKY7HYG7cpigbDZmCkV7QAhMjjRE1US7RMzgcVbZegMlQ1wIu1o1yg3M0vIJ0lj1YTP9QP9UhK9c4r7spPWarc5jKs5Cb7V1aGHmsQ5Kq2KSsyNa9+bGh8fKjKMx7kw7QWD7y233kagibYarsg3tT6ryyVdjAyZ/CoZwjOpVcqcVEYYA38MPdKogczqBiRNjlBVXSS4FXQLbI7Tl6YRWtfw3ZzwqrJKQO3u/uQ== 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=80+G5rfR4UJ7cIeK7XS59usNAcPhX3aXtU2yQgCr3qc=; b=p4g/Al1KwIf5MomW4gk81bxt3o0Jghe6nJIpZeYFnUT8aq4huvcqH27xR+urTJa0wP2D4SlSKQGUAtzAWZ/z2XCk+yku/Qwta23iutA//yeyzogcYAB5gz7jZlfyEsdp+D/2qB25OSLQ+d6QVfLt1xeBcp4yB+qV4Icya7KIHig= 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 VI0PR04MB10164.eurprd04.prod.outlook.com (2603:10a6:800:243::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Mon, 20 May 2024 16:10:14 +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.030; Mon, 20 May 2024 16:10:13 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:15 -0400 Subject: [PATCH v2 4/6] mtd: rawnand: gpmi: add iMX8QXP support. Message-Id: <20240520-gpmi_nand-v2-4-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=2622; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=S99Zfd/uI7Z6lx85WydpCjMAFDAr+eaO6X5OcqTx/po=; b=a4d9H0EVSwd1S0UFegRDrmsC8rpx2XJEZSeJ+8Igr98vGKrQZdhATNT55o2IukuGz74i6FdQ5 ZjkK1VE6jY8BKOSZf+/vpm1BrI+ZXOIQ01Ux5TgJd/YJfYfif0khtZ1 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|VI0PR04MB10164:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e608ea4-862b-49c4-b30b-08dc78e754de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|52116005|366007|1800799015|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f-8?q?oge3wbI7s6Icqm5heoIEaJArAX4aENiM1v+ixgr+yDmJpbzky+c2WVgmlLr2MqegC?= =?utf-8?q?Jc84lhZl96jvKMwxeDQG7JRR/fcmSWVf2VwGfVRWoSI7NuuglFct8M381WUmM2f6u?= =?utf-8?q?V632eljV1vHElg6AAxTySP7DFdlZQkJSQIm3woRO6qPoyAtbfVfJAfomBgUaC8SIs?= =?utf-8?q?LP21e/tc4RHFBPqn9dYAvLyy46ZqPN2wNcfjb4/JQ1yJCcGIi4bX3g2Dq6EXh415j?= =?utf-8?q?TFZhXfJkHooY/dD5/Lyk/tHYqTZSyAU7/7IIg/cbJHnzJ1NC/a1rL/4j1D9ZjqHyi?= =?utf-8?q?0hzUtaKgEc3YJqtocGBXMl8VtkE8Bmm53u5ObB/R5fN/9O1IvVCTt+Aqjw9kexxjM?= =?utf-8?q?rCgK29fomaWNU/J6ywIXj+WJXNoNdcDlVZFgAdL6Oemgu6WL+NPajMzQkqEqmkqmB?= =?utf-8?q?H2IZ1TzGPax0XXyXtRpoFySJkDlMpRh/dWVpNVIHLhxAPF5LnTSJya1Y=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)(376005)(7416005)(52116005)(366007)(1800799015)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZRF6S4jgXHGF9jJttgTua6IzQK/o?= =?utf-8?q?EJXXnQemUu5g3e8ASfoSHLoUnYsx7kQKZyga6c8DZ/aLHhsXvgN/koPOw+rL02VOq?= =?utf-8?q?6MCNiwmfOFddZiZ6K++RIJ54qQNmwByJaRVC/b9uV2Z/d7ukN5xaPJd92hkuNg4b0?= =?utf-8?q?eGeTj39ieW/mx5n4kE0Z2no14HReeXGeyQ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FQ8o6VMvf3wUVwbS5A7u0ABstWmdiI?= =?utf-8?q?hSOTuLPuXewSu2347Ft+yJ5PgWjzT6D/0aqlAbdxrtYxlfstzIrEP7Bfqis4HY5WM?= =?utf-8?q?qSAjEMDHJxrzjN1zd0lzHFgkopUJutcBxmYtoUjxdvTA4b69T5F1gZIXB6KEIs8+n?= =?utf-8?q?UF5AQixo6E2DSiaaE0rQdVgITt/BNInlkxPFxuFP3waePYMc9Yz5wgc+EIQuJFulF?= =?utf-8?q?ELm1MXeiX7OF3S91/OxSnYIEnhNQxFutMTaQ160JU2/JlFPfjI4Z6BHxl0JBTGX+7?= =?utf-8?q?yN6rA8wRsLufRNqB9CXuMFn23+mFhd0f58hemhWWrCTUbi98SKaCoWVcqF8DEOYxH?= =?utf-8?q?MzXYF8mqIZCkn+QBy3+/EHxlcCP0bNjZ1KKdmhyWN4nrsoFHUO7F1F1J3uABcezfy?= =?utf-8?q?R9aNjv9FJQ5ek6ufCl9p7BWdKqWmtRrjhEXJN2UW9gjl1ryXMj8VFtRs=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e608ea4-862b-49c4-b30b-08dc78e754de X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:10:13.7130 (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: iANiWmnoLOMMdmQ5q+wMjH83guSkxsnuayP8Q3HiJzm0ADGMxrvHNkoi5FhHt1FMPsr61TzhVU4yHWxPM03xdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10164 From: Han Xu Add "fsl,imx8qxp-gpmi-nand" compatible string. iMX8QXP gpmi nand is similar to iMX7D. But it is using 4 clocks: "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 | 14 ++++++++++++++ drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c index fbb1f243ef129..e1b515304e3cd 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -1182,6 +1182,19 @@ 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, + .support_edo_timing = true, + .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) { @@ -2725,6 +2738,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 c8a662a497b60..3e9bc985e44a3 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 { @@ -173,8 +174,10 @@ 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)) + GPMI_IS_MX7D(x) || GPMI_IS_MX8QXP(x)) + #define GPMI_IS_MXS(x) (GPMI_IS_MX23(x) || GPMI_IS_MX28(x)) #endif From patchwork Mon May 20 16:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668458 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2043.outbound.protection.outlook.com [40.107.13.43]) (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 D9C361384AC; Mon, 20 May 2024 16:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221421; cv=fail; b=aPAKn1PScwvEBdx2VPRjZCy5apCvRuSUyBPDYKoCzCoWWy0bMh/so51r0i08TcQQMcH2xTSGTBwxzIDDO3+jIE7Len5td39kx0LMHmGWVO40AabiCZ10W0mw4hqN81AC0WgMd3QSThK3DA0hsy8MXhVJlDqvJHrZO211aTMzVw0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221421; c=relaxed/simple; bh=tEWFhDjhtUKAug5WAg7nPU6hg6Eu3mFZf5v7yoTqdyg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uIz4bfHAwMThlYdx7y0Sd4Ygt9v6qFUWcCiksj1oY7lfLHKADrwVdcKw/yNmSJ4J3ETMcdN1Q6zrCpX5jo6xGXwnzLRdeUpdZkzdc0QOfWuHAHE9e2oUd2eY4oxee9or2zdPj4IBqR3nwywnz45B1DWjZNrKxJZumyTyVl5bAOM= 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=leyF2FLg; arc=fail smtp.client-ip=40.107.13.43 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="leyF2FLg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IznKnwfRA8mXeII1WCa9YZt/pWBM70ksdeXLvL7RrFaX2u8mrDg75pFoMNZYr5u73Rm9IXLq7phwUGiiBN4gkYpG0bA7+lhH5+zbAVWPtEU7V23F19vsERa0ShmVPuDETueW+C1Us/I23hKvew4kbGz3L6KAsyrc4GA6CYKWUUAkjpwODs7fjaONlBEEvghUPbuRuAlhztVa13pu25HJQktmSVGlZIoGw93URTJA4z1PPRPJdlTSSIHIY118I1ZJadWK4tcMg8uk0PxntV3VtG5ixwJ+G8jOfxmDvVe43DSvQKcdaCw4I8C/gMtFaWPybLVyy8/Rv+ddOqSeCIcipA== 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=QoH/9q9DpuyFAP3JIN9t3zAJ6tL8cy8giSwSzJugEyVNJ+5uaXCLeRQYZkvTZT2156mmZCW7+U9mrpkTRKFT5iBXnRAIWXqqgX87FscMNgXxdLPYeFdo3Bt6bI9M6oY2Ql0t6582iG6ABmR+60jciAuACFe6rmrs4LrDHbQRS4GyCTMOMjOG7+RLhu5zepFWS1UYHxXYWYLqe3d1XzGNCCuWCVAY4sFseOvjvKdqs3KF4zht0pppEvlZFPSxd3K9mkZEc7nzWUcEasAsn+a9aRbcMTOgwbQQz8SXDZX4FhevW+pusKEqfALUz4Hj6biQcT5JzhzS4RYWkso5ERlnbg== 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=leyF2FLg9V3EcxVzcnJ3dAfgkC+AtfFZxigJt/Asvpqqz9k3XBswbq/G5tPpfKe9wkq02g7TMncGST8Vg/vNQH2NL+g4dikD3T9H7xJghGCmSEtGd+Bh0fs/vjuFwY3AZVlcn5EFxq2z2N+LgZ1N2sdeWesaKNO2UWpl/R9mSSQ= 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 VI0PR04MB10164.eurprd04.prod.outlook.com (2603:10a6:800:243::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Mon, 20 May 2024 16:10:18 +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.030; Mon, 20 May 2024 16:10:18 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:16 -0400 Subject: [PATCH v2 5/6] arm64: dts: imx8-ss-conn: add gpmi nand node Message-Id: <20240520-gpmi_nand-v2-5-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=3045; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=tEWFhDjhtUKAug5WAg7nPU6hg6Eu3mFZf5v7yoTqdyg=; b=+80kPjSQ2gaiJ4NdiRjCgEP8xbeFyONptNY2mAx+rCy/WNaA9OaG+qls6s4fNW6oSX/0/hovs wqbQ6vi5ffvAlIJHhVrkgunu8jSHxaOSygj2Jridg0Ka5tcxXYEJHNi X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|VI0PR04MB10164:EE_ X-MS-Office365-Filtering-Correlation-Id: 06ef792d-8d66-4f80-ed80-08dc78e757b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|52116005|366007|1800799015|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?fdGf+OH6kKHn6J8F5x3s11cdtcL2kdc?= =?utf-8?q?iL5hV4PnByncBE+r8+JkQR/cztZmPhKdGwkfD16hY76wanoCfUDMEnhQEuC83nJY7?= =?utf-8?q?6FpakN6fqzrpGbHGGBJg5GoIAQ2C8mZdzFHNH9z2AUOcrM5lXwWZq+wiH1+m0Ezy6?= =?utf-8?q?UYb5qRNPp/Qx+vRc+4BWaCJF7CdeGW5euvKmz+1UKZgI4ZSR/6f54mteAE6fb5mxk?= =?utf-8?q?yWAJA195UJBcml8ahNmfiwAwPe/vMkpkN1CzmiDc45W6KOtunn3WdOP/wKNK6IJoG?= =?utf-8?q?8zh7/4xWmwwmYngFX4QUPr0Ju6XuSq12MbpSRlU2ScI5pByMnFwI91rhCiLjtHEcc?= =?utf-8?q?JnXAa9yBu+PdDRUFxVB3XdpuFOI5Ni54iaFxXpKo/01DoiClimP9iWdsYDDHsc6TR?= =?utf-8?q?UDEohyaN1476TFjFDQjDy8czhdaFDwFLPEH4iF+TwBo4Nef1yykCS6aHd6+4JMkfR?= =?utf-8?q?kQ3E8Keyms0MNTFYj+gb2iOSsb+fxHoBJKkZVdeaHpzV0oij9XDhbQ/5+bhlx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d04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(52116005)(366007)(1800799015)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?eMZw6EDMvEoDSIlP2R3trskjWca0?= =?utf-8?q?SMAA7u6Eg2KZxzgjG7Ey+5Qz9FxlsRefTtqRlKxv16FDEqud8T+bVLQ6jQeNGlOXO?= =?utf-8?q?be0La67k6GgC1+S+qPB+6WsTfJRNkX4VNPKPwoyY1r58YnwL6J9Rj8W9zuLiRAJKY?= =?utf-8?q?zw+Hro2txm3Fz4w6oZJ7QMFWNbDe6vXuagAQ6VQMjJDES7bQV8UIqXGrK5bKQuhtG?= =?utf-8?q?1aJCoVUlpbehXUVNucObSqCbpMK2I74mGVc8UPTy5olncEswy6g/MdKuOdKzXieBv?= =?utf-8?q?I7BIWFtP7qYpgb5ed/XE5DPKnD2sJc553TjbF5W5W5qwEXI/cpbcHo5FAGQhSQh6Z?= =?utf-8?q?hvTaTbXiHVwE2triX18VlntAlLoUivaOJc/xxuXEtHbuB6SIBXwM7W4be6mPgp4eA?= =?utf-8?q?zf4y2KV9OWFoTNg0Dsgzo1IPd8A+otJHCSbPkkAqbw7Ih8CoZIj/sDa2fHL3pixTD?= =?utf-8?q?AvB0V7Rr0i7M1urwVN1cIJhKvK5CWdEeE+Fwft2wDZzOhe0E4a++CWerwI5VgE7gY?= =?utf-8?q?Lr2Cm6BK0Xe3t2uNq+39PfERDJLcxxzYRyiRoypH30Kw+mXikx4iNQJKiVnZV0ltg?= =?utf-8?q?bZfFPaza2LRcBLEIWuqkG4W4JWc0MeU1Bk46lI0iezMuyw5nILHjohc6Xzobp4Kpc?= =?utf-8?q?uA/vLh1hOX8xqA+Xe80k7W+c2eNBEUl/rqdKmiyS9i5iObgNkqEYySeEPPGcrnmnH?= =?utf-8?q?AS/8lUT0bQKbCrtn54G6rDs7f4Ld/U5X3CjTRwo8Ylc/mbUqkFT9JIvUWNQjmT0jH?= =?utf-8?q?Uv8xBcF10u/IExumn6Hh7uKQQq/WEHgCoO7Ux9QLuVuS7T1hqU3Z/samyXVMBtNSx?= =?utf-8?q?bW3X82wByTHdWO9lQnNrOHbwM+dsa5Atn5MJfUUaL9toAhjh0YjvUt5Goh3tQ6BqJ?= =?utf-8?q?/he2roejOjkNgilpIUnxmCp92cAhNpJfPJgqEG/K+wddL2DUGIvSllpF0uWtCb8BV?= =?utf-8?q?9GSwV6GVcDtDu+s8Z4PUWFv8hW7uHoenJIvfmzi639sawpuiTRC8JEsnlS4GqZ5tr?= =?utf-8?q?hHNGt9KBU5iWSxEZ8DR1UzwRwFVG9plaU8b4tdhz02M9xbFsX5kJeS2vvA2R7y/7G?= =?utf-8?q?WTZ6DmJmOPNpmqA5Paz3TGsIT3q3H2aVC6hSMBspPfp8f41F6ni/VvBIVQSa/NoYj?= =?utf-8?q?fAlhWzHJeTWiPrB4r0zmwv0WsBNHD+eJzycf0liKSxV89WlrN9572RQRFdRN6CpHw?= =?utf-8?q?pk+BC7VNAg0VrB24oTD81iQEUXlhYKe14fe84Gh72+c3vGkkXNgaJMl3j0zCBuByH?= =?utf-8?q?yn4QF14yl9sQ8uaUM1WAUv4BHNNpvBVhGHUXXjxdLGhFBYYe3BvdsG8kHwwTMkeEQ?= =?utf-8?q?QEgJ2WwnykHLmoO8cy7MfwcVneg0XRRotozoWRP9wNgwiMutiQzdhOAbQIaViLaIN?= =?utf-8?q?VCMotZU+eJZAP/WrRg4ceQMQXwZgF+CvtGZ+rshfYxV19l7cA8P99GBc8CaD2lcR3?= =?utf-8?q?knZicpSYLQ7jTyfDFAy6lVMlGiJ7pNR0wqiD4xCgeJM0OidJ25nvu/90=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06ef792d-8d66-4f80-ed80-08dc78e757b8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:10:18.5000 (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: XXqT9edscaPzS2vwHsdtM420Tk1mlz0ppxBHIr//BUNm5hUU0tFaPeGnKU7MXl40MGdR9t4r8rkrzd7rEQoP0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10164 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 Mon May 20 16:09:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13668459 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2079.outbound.protection.outlook.com [40.107.13.79]) (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 9B2291386D1; Mon, 20 May 2024 16:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.79 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221427; cv=fail; b=cRdocTnu7euuGzlYroJC0+5EMse0jbc7h58cyxqNlqQ7pSyHgeOkzw/ALTKJmS2+8pMgwMqhAKDFkci5OTn+/GRKUuJKcptqtOoK0IJZ8HsBKUR9d61TMfaJUZSrOj+c2SW1WNO2Pbq7gnw5aQKY1rY/o3JptiKGhqOdPHre8sw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221427; c=relaxed/simple; bh=Sw93A6LU58pwgdnzIBCjouGCoo5gK8ry/LgTrzVBlm8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=mjAGslM+FWLr0pOKkC4HYTj0hsBeXLBJwCeIp93UfEODwWI0r0aE3iyqRfJbxHSWInra/RNGH0XsYWNWKvn7ZN94Cv5LxtmC9FpqSGC5CpSebJf2dyw69X4Y5HbdRSAZxNUYGfzzOBG05jESWpwc9VMV/Chs8mTs6KV7/zaXavo= 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=gMnBNFOf; arc=fail smtp.client-ip=40.107.13.79 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="gMnBNFOf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IiOrtIdwHvamzgLzSqJEjF/9M2JuogJ2+Ie4rFAS81fODPaFELwNVOhgm9nZxU3wyXeVQhpKp0Y8kC3PjuyPSr0pSMjtNIFJeaTXnQO72MCHxCdH93/jLWmU9u2EtDVkv1aa1aYeC5rb8sTtTPH2saBM0fNN6dmXPQmQpYl9l1kIPo/HbrS27P19/7ugo4X3pq9dW/1BoeW8ipOWOcWS1vuTycIXdJaC3TSZzo2gQou/mEO6FE2JwLQ1d1hsi376JOgWJS/6UwcGzIuf6yugziUU3s4alnKLnlVpCTl1avs147uP2zxqtk22qWbPiO6J8e2ArW56Mee6HR9HhTi1EQ== 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=LlW0Kb4rtALA1IOAJQIlleFm/iKUnauiOgklpCq2LrY2TjMbOCGG+UTAP6jikExVETa8GQaTNTDYqmOfx27zyM8H8kwbDf0XmFnisNNzt/WdGzEO2SiUS1TWpkFZnd2r0wtUXScxsjinC+IZa2RgQH+uLTPwMEqmjYO8b1Q15bcYaIiMO7P65gUTQBC7kQS0jVuB7QIxjcNr+nzAv7jSGsb/DnlDo3yOeEBGXPQNvuufTHTofMyPaHUaIiei4ySB1OlEnNrSFhmn7cTKhaZutYtjzzlZtUhjsa+LxeEOb4g4ZMa5hq0RCbfti4VQ3qv+n/Y3lQS1JL+kRRR3qoZWdw== 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=gMnBNFOfIOSnch9+9J+Nbc5Fhy1/9XO9Sd5WV4L5pdIWk41TTFAikUL2feMQew79wKW8shUwzyFIut9BbLQo/TgnVC3nt0viYVkBCQpp/hjOlVRP4qU0QrgQJKLynaY3cl82Y9UVqogVJ+qn6BHTIZ8UXFcOtbYZ5vNmmyYV0OI= 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 VI0PR04MB10164.eurprd04.prod.outlook.com (2603:10a6:800:243::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Mon, 20 May 2024 16:10:23 +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.030; Mon, 20 May 2024 16:10:23 +0000 From: Frank Li Date: Mon, 20 May 2024 12:09:17 -0400 Subject: [PATCH v2 6/6] arm64: dts: imx8dxl-ss-conn: add gpmi nand Message-Id: <20240520-gpmi_nand-v2-6-e3017e4c9da5@nxp.com> References: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> In-Reply-To: <20240520-gpmi_nand-v2-0-e3017e4c9da5@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=1716221390; l=1138; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Sw93A6LU58pwgdnzIBCjouGCoo5gK8ry/LgTrzVBlm8=; b=upZ07m8D6i/iO/oD46qx8maIkgr5h7E8WR7Mqy3WShtHlqah0hdDt6PgjvHZ437pCzAXjArfR kvIwSV9dHWWA4QXMJnkju55EMy1OlwPoOixTCkaJFnivtoNwmo6BVEm X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) 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_|VI0PR04MB10164:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e493966-ea42-40c7-e432-08dc78e75a7a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|52116005|366007|1800799015|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?KBoUB1wI0mhEewAbJr/VXDKL8zvOa1b?= =?utf-8?q?WJ1DZmBtooEfjnMFWGd7pPLaiyFUpQxsMT4WoirKXPuGO+A5yLjS6AxL2964IC+yq?= =?utf-8?q?Gq29YcooV6eAbQiCLaoP0Niq5d+bM8e/vDJsl6iqNG9Zf+aQZyPsfWElccH3v4r+s?= =?utf-8?q?WuhicBsYpjb2v+/UvYsmmyNo5K7Aw4dU/RKBMM/O8rVicWNEZILs52Irwb30NO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oEtKTgbB?= =?utf-8?q?dk0RSKcKJxdtQNjBtYwk5ngfg5oWL+4FNQb7z/CSzYwwLgxqbzEwRBOuKp3I31bZr?= =?utf-8?q?+tUu5MyfdtyKhSdipvWP+nAlM2i/H5+8kTBnFgBxej41JkGY6SzJjlh9vWRN6y3JJ?= =?utf-8?q?oP5Xx8GVx9NnRETPoGt5/HEp87RsrUmiimpEL25i3Ih0qeTxpfFF/YuKhAh9tk8RE?= =?utf-8?q?G3YIr5k56lRKg1X9WWwX4HTD8eRpVevvAIwPnao0WIxb0WUKza1Uhne8=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)(376005)(7416005)(52116005)(366007)(1800799015)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?So4uG3LmaBkLnrmkQIbzYyYv94yu?= =?utf-8?q?/AlXfSIaZNOzboVmZVptB6NMscX1zWhtr1HvTIDGjKMTemJ2+g1tuHbQJbP9F43P0?= =?utf-8?q?CS/ODelopTlfGhFoMNLMc15jLIiEA8RSQptJTvj2//t6lbRyWqJYu9VJmMhHuw9qb?= =?utf-8?q?ileRABeHF+9+8vMUY/PMvXwKsXGvzwJDNhTvZSGUPXCb31owP+06hYUSIjCHCJcO3?= =?utf-8?q?JBLaWRZ5ZfaBpcYKt+Xqcq9dW2uf0OEptFHOTk8TuKgQwfiolCJ17yZsozH35ECmu?= =?utf-8?q?y+KIy+sVYJSyJa2jf6OUnU26StkdbvDIFHp8h6UG0M67RV7kdWbgCr6b8NyPaj4uA?= =?utf-8?q?z5CtfmYwMRqSjh9DQgAP9MHe1tLFD/pg2BFXH6xiLn6kMyp6MGLXWqaW4NjmWuo6j?= =?utf-8?q?D5x/a6fEmEtm8FMjtEi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7zmiCqAtEcA2ChPaK6CazMvnGAKvWdWozDzi5Wi4zEJnzwuAgMQWX7?= =?utf-8?q?sfjkP0wxrg5V1wDcrxczSU1VarzdseBSmoBBedPDfrM+9R69y3QNjF2uQ8dCQy9u/?= =?utf-8?q?lNZsIQvxhpVzhy9EcyQibqM5RZn98GDQqtpuL8QO3D4hO05i7EiTdYIUGdbhZGuh+?= =?utf-8?q?F4EDRF630rp7+fox4zmZ8zOXmM+wN6+nMCe7tgUCmFLlTbQ8E4Rzj62E=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e493966-ea42-40c7-e432-08dc78e75a7a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:10:23.1202 (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: mgE0KgUPbwNJivB8TpQEIyBcayj0CQNuj+EOFpjkv4g1HpxHK8x18c9e3HZAm6syyCM/Sq1w6qKI5po7Qn55/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10164 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 = ;