From patchwork Wed Oct 16 20:31: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: 13839023 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EAAEBD2F7D0 for ; Wed, 16 Oct 2024 22:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=Rf5X24rhlgcHJKWiSrPHY9dKkP vWIGgW0B2RQmXSYwIuLWvUJFj+4SEUh6NccQ3oOBAm1aMTas9s4x4Z1rFGlW0TYPtzl6viDKtmuR9 LUssD6ka1wJEwP+Cmr7Oyz//14exJd1qKEFwlhrIklu8BgoBDRFt8g3U21qdit7KR8FaWqzEdCJj5 Wu/v8ZNrehn5RIv6hj1Db+Gqofim99ilsD4ZPyuHBEV+7+N4vNmvC/je6RSfC3HqyucDy5F/AVD0x SUYQkGqDPnIX2H/Zj2uzuRw+oYlO8/g1p8TS+4v+7Gmfd08hyGzoyJDx6+uVvrvQTAjojI+9wPQvM WIt0sk5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1C4b-0000000D7Uv-1BSH; Wed, 16 Oct 2024 22:00:53 +0000 Received: from mail-db8eur05on2061b.outbound.protection.outlook.com ([2a01:111:f403:2614::61b] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1AuK-0000000CzBs-1tUW for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 20:46:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m7nqWUH3ykJUMUBCJW6H51p+tq/PggE2pKpmZead8JqyQe87PKwuwX14XWZ35wnGc52m05vCzWMQtLl3jeX3URLvNFRMHHRyad4Z47rueJfLrF1o0CzHEhMz2luqSIKuqrfnAlLtYTk6HftYMAojJQaSXvpFH95NoimbWD8on+W8+heg9FE3huvkwFkVME7f8aOJK5bb2LN/jpCr2+W2SezQavKh7+jWnedAUnqd5NW23EzhZuTlGZVZLA2UJEeS3UdaLGyYWQvY4vfpwLZuuMGK6yVTBZnvzNNXIGGfeooV7mEvfgXuKGVmXKxZ0AIxck/2E0FTyrvE0XXou043qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=qdD4WlSPqWNiPSlQYIRawj2Sm4867R/3kSZRX2fGSIGlaufcRyuw3mwrTVni2y84dsTRDlSCabHFxMUjgdux6JalOB9jezLt0spv9F1+7VeOizRQCkssjHX48VR+0XBembZ/OlUqv+T5ab/0WJfsT+BFqBWc7CGomNLZySQo4H+xu7Pc8CYD2t4b4famN08wJD3Ligg0oopGhoSmUCxsVo8QAOCXx9zVeqMGauJ7o/grj/Y/TQVcXx/y/o25hPdvI4FwIC5RC6KoMMw02mgy0+Tsc2mV3vOjkGsEnYDK5fHBNqh7zM35K1r56w+T62aF3csUvWL52jwmzS63B5bNSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=EWp5Z5OCrMn5WTB/Q8OPX70ULzvnXwLEfleJA+OEZNKtPWJ3GQlO4AU3g39EJs+601P/S4KRJtyW+9HP87v47SOevXTWtto2w/+bRkxpaCzo1AiXbd71AmZ7GdtOdG1/mwLSZ+jZxUB2pRSLiohR3mFTB8dHywxTvpPUhKP45GLD1AhNU8ruT1XcJ8VIJXaqxFxQx1Zde8zFx33jX1tPE3rgcdb4henhnoTdm3405CEBiVuZ4aOk+Ypf36kS95fcAjGXlHecbN3DnHdD7gLjUDwbJF8Qbf4JGMTKZEUYAcBjd3lUovYbPT+wns7/3VurtDjNmAq06YavBdrsrGtzzA== 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 AS8PR04MB8738.eurprd04.prod.outlook.com (2603:10a6:20b:42b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 16 Oct 2024 20:32:00 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.016; Wed, 16 Oct 2024 20:32:00 +0000 From: Frank Li Date: Wed, 16 Oct 2024 16:31:14 -0400 Subject: [PATCH v3 6/6] arm64: dts: imx93: add ddr edac support Message-Id: <20241016-imx95_edac-v3-6-86ae6fc2756a@nxp.com> References: <20241016-imx95_edac-v3-0-86ae6fc2756a@nxp.com> In-Reply-To: <20241016-imx95_edac-v3-0-86ae6fc2756a@nxp.com> To: York Sun , Borislav Petkov , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter , Krzysztof Kozlowski , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , devicetree@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=1729110683; l=859; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=79MXg57Cyd0Ls8RHW05eE1dZDeIAJiwGUJukDHuBEDA=; b=+gFAjp6tDX+H4YcIIkzuo7LJNBC1YPQKC7TDTJEGw3ddJQr0Dk3ODfdFOXjBH2OrTcULesOJS voCYDaMaGY1BYjS0gaaKNaAp1/JIYNDrTjZSOlydj0iLjNeJ03X4y4L X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0042.namprd07.prod.outlook.com (2603:10b6:a03:60::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8738:EE_ X-MS-Office365-Filtering-Correlation-Id: 12c8962b-6a5d-42c6-13b0-08dcee219649 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|1800799024|366016|52116014|376014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?jL0sxYS0cs0TcdUrrxXNPgyt4hPbf1g?= =?utf-8?q?9ASBj6ommEuvNSKJi4h6jpmppRLFvz5CXvdUhdQJGW+GHTSIXLMUx8fpVg2hcbGg9?= =?utf-8?q?d7ni4oEF9uGpiVzYGfwi+PJBmqiNrUE5FPoE9lhDxik0CDdriBWkx8UfTicFurcnN?= =?utf-8?q?EqKi7cK8P3GIc/EJG/sQ6AFNOZtf2Nit5sv8hqE4+ARNAoFCQoXPq3zbif/UupQRd?= =?utf-8?q?/7l0UDS7ntrtOM7o07it9HoNJ4zzBCECaAIQZlc+cy/MMhz44FDO4XTThfYB0N/Hp?= =?utf-8?q?f5aWOjjXUv+CMBQ9qHB6BNdxPEjJzNrTIg0FN482y1Z0OpsdB11eTZLxwEU23QXYv?= =?utf-8?q?eytKm3NoGMoiAdZguKQ2sm6g764dR5bpauHbZVcMqTh46hjHzUoGd6ZabFwgS/dPj?= =?utf-8?q?NzDtjbl8hMnzNTdxIjmM7HPoqj0+Irobyeb+vbdAci2of9fYQ7ppiJQrtzWY8SH2W?= =?utf-8?q?qz0UzWGkUXLnjC0xXS9HOoaOhrvkHxPB+WB6wSHeSB2rV5yWz1ZofaOsBBCJAqKF7?= =?utf-8?q?9rrlVxUmWDHz1zlQ2WWWnvzv1wXBtjncbuIsMEiWri+iVHLkRvJYbJisJL7jbEOJ/?= =?utf-8?q?W5FmZeHEh/Il1zIMIS7Vf0/+RfRichUHnGYNe3uS5UlK2EZNZS9CQyIeGb7I+7rQO?= =?utf-8?q?bHFvpXEn6tZaRKMs3ZS9/yylcpncw6+pO0bIZ2iutxvIRnq7BQ23iYRQq5ja3k1Tw?= =?utf-8?q?z6YFWP710mXcp+OJ2IeTmh4OLnojUS5T/QK2PC/Yso6ET0BMDR9RvDFCuEehyErRy?= =?utf-8?q?O55SPCvWrHtDCvYwqUyrD6N7BzL+R9IBnqaEjfgMdaeGdxmYk5GjSihU2y1Gi2xUb?= =?utf-8?q?SOhIs298R9OBgduqNgqhwaijf+XDB4GpHOoKpxKe/LvleAR96N6Ri+DVrSM/Bu6m1?= =?utf-8?q?xzfxyOCRaYRTPkEkJzlIFDudpzvzSZqtDdJ5DthP52nUvRdFz9Z/Uq/tHrYYCT3IS?= =?utf-8?q?FxX9aMu+QmaamtubI9Md/ZBDLJuUiTdXag/A0iz6Bvp2IUVYBXX2t4g2bQWxRbxxg?= =?utf-8?q?/WyBgdtuc+Z2QU+6+xJZy+b+inMiiOD1O2LSntKvh+JfIB2G+81QkhTdOQSxBMrWP?= =?utf-8?q?1/jVGQZMoS0FkNfQ1kk6nBqdKnFNUHCSNd55xUXNJNjBJic6tjeW9rO7Ou2dxao9d?= =?utf-8?q?C8a83pfd3WUM6pyRovsCT8MdHItp+CzEa2zsdXj4L1VJVlMdK/5F1PzkzfR4X8bG8?= =?utf-8?q?mPrsUZ9ln6K0hDZunYpplcFzMiUKej+ro+XcL2/GvMIL0boeD1EZOOsXs3z96Rg8/?= =?utf-8?q?GPK0v8oqVirIg0GZynpMxyUW16u9PvgGId/Guz6xmUj2yCf2HIooFyVxqyHPnWyFA?= =?utf-8?q?PGqXq5XcMG3v?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(1800799024)(366016)(52116014)(376014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Xwp7qNKrDWBqW7dRTjzGp3pCN2GT?= =?utf-8?q?9fsnea24/WjoI5X4UoVHcsEup/gSlQnQ4Vcc7Jet1FGp6Pf7P9OKnb56zlJWWTfX/?= =?utf-8?q?gJ7X57WrcOyUiHY7XCqG2EYgrcvgiIsPFU3N5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rw9BePijqk1i70hO3KqBw4631?= =?utf-8?q?lIzBKtdQn7BOPtUB+Mhbd8mSxYSPAuEv9tfmNAfpqGoTM4leYwI6DvsrU5veZMBhW?= =?utf-8?q?gToBxsimJmg7A7FoH+DMNqyuB18qNGs83LMBEWbeRA8h/17oB1Y08v/gedeJNAzP9?= =?utf-8?q?PgmLIZfkpYUxGocr9pKmzCTfkI1EL2FM9bwVXyuRY1L7yprmhucF9uzTp9akbbJKQ?= =?utf-8?q?6CFpazejsOkUzpBSHrxl37whGiFJcUyzM+uGNQ0XTAMaRQDrjZmjbRmnnr/xzCs1a?= =?utf-8?q?wtZbMChujMoCV3pL226aqOyWysn4jJ3zHR4EzM51IiLZe9rSEHIQ1dfPr0VdWXOXL?= =?utf-8?q?KcWodFYRMr/QiFj9w0N2Ylgnw4H+PzTVTTjGJlPozz2libn9pLaqelZuprZ2coNss?= =?utf-8?q?+V8MTY1Fjg5CvzQ9q/LpFvr8SmM3GbcMqtofDLPmpzmt7NTOUzh4sK37WIg2+Y4R0?= =?utf-8?q?vHDQLv6iT5jopWswtkRhBWN1Qjgl1zZu0zMAr04OXIxtWJrWBo764RvTnJw7a4SmP?= =?utf-8?q?zKBKM2wSKYNe?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12c8962b-6a5d-42c6-13b0-08dcee219649 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2024 20:32:00.3274 (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: 15LK+Gco1OhZ5bkpR593crZ9JJ26C4Bplm0bptiZBvn60qkJOOdHdfJeZiQtIm6kvpqZRfesjdBRPwfm7qQGKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8738 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_134612_510183_627E6131 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add ddr edac support for imx93. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx93.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 04b9b3d31f4fa..ea83e38ae4d88 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1326,6 +1326,14 @@ usbmisc2: usbmisc@4c200200 { #index-cells = <1>; }; + memory-controller@4e300000 { + compatible = "nxp,imx9-memory-controller"; + reg = <0x4e300000 0x800>, <0x4e301000 0x1000>; + reg-names = "ctrl", "inject"; + interrupts = ; + little-endian; + }; + ddr-pmu@4e300dc0 { compatible = "fsl,imx93-ddr-pmu"; reg = <0x4e300dc0 0x200>;