From patchwork Tue Jul 9 20:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13728469 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2075.outbound.protection.outlook.com [40.107.104.75]) (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 DD5DA185632 for ; Tue, 9 Jul 2024 20:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720556641; cv=fail; b=kT9bCtntI6lGLJzrl1sT/NX1hXPItGza3Cgztzn9IZca62UC2tO94aNzw/kzPJqAyydTp49BQqmuHjjqI3xhjHm52TUEZM8lv4NY+UWVTdLIhNnK/8hv38DAApQyiIBuWaCPUbjOgdtszuKoga4riPDk2C/fKjJX0eoOhzsLpY0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720556641; c=relaxed/simple; bh=s8pNnrdq56Ppj8eEPtENwxRkzkEKcLwgHNFgBUHLUgg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=HK98liiZUU/rYD7ShyXcNusaki/Ihndw0OH/sg4gcuowNgp8zWJqhPE/MkAqym2pIzI9qMlEIvw+TVQ5x+5NN3LFcjpF4vkuu1v/oJ/1oDs5vUFVHBHAlPkBbZeJ0KBH2YaZiH4UJJoM234f4uv9+TnXG1D0vMKzQJnF7cQvZKw= 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=BVvG2akz; arc=fail smtp.client-ip=40.107.104.75 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="BVvG2akz" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SR8qnkzscrWlPVJDR/g6CEu8oZqAruVjoT94dDBrUzDiZJANQxxRMuBwBgpFXTO1k3trQ/kubNZPKduIyUCRpu/cipYripFzhtAi8oOmLCKC0KsHhI6SMCilzRSnDRF5hm18duTLLtdF/ijlrGbwMp9ro0YL88aXrDzkxptvfOSI+4SNnjv4fVlBgGFlpqtRC+v2yrK5xzn+Iw5kLxnZ5P9zaxHrh4wZrXJx1ViPwlvlwOwi24K4Up0alGtXKmlwGDAbKGd6hWRpehClbi77VuykBM2h/zu/bM09Ph9LZWI24ESCmpVTHouONvg1yL2xQ6xktAVJ67MOzTt3DCLvvA== 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=tcyyOpXR/elxOWjMLNQTI1/X+neU4CKgNbG534icVsg=; b=ZJRnD8yxBDwlVHM1Mz6rZMa7Q+edvvKJfRofdznhVMt6z08WGA5dcIeu2eOqjE/v9O8T6efYrGk112HMfJn1uHQ33YI8RSaPKR5CbbC044LgZNenxMAPG99dRAg1zxApln/G9fs6BDu8gTZtNTy04LBKLbp4Ih5YCf2azv3SGoAOVQokNXXWVBior0IskvcwXiLheIHCb50ydybunyMCrO83Anu1X/8i0FMf/LHK3OBeZ4g5O7PNwwBJgd65dJMRlOfmNmhKD6m4eOZeE2kQfn6w4z5boPmUQksaGB9VopsaekLb658Z9L3+06b3LADA1e1spdch1oEZ90oPHwirwQ== 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=tcyyOpXR/elxOWjMLNQTI1/X+neU4CKgNbG534icVsg=; b=BVvG2akzLDSCVCWhNcPW7uLqXwlY2y+VXFbe4Ayirod2iScDiyUlnterDlvcy6Bd0vV7f0/F5gI2uGa6I983q5CSZ+0G04emiP1q/KJoVy8mXlj8h+Jo4I1rdJmL0/+9EmB0EBBOgCSLZhFogNUfX5ULeRkpj9KEORP8iIQND7A= 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 DB9PR04MB8267.eurprd04.prod.outlook.com (2603:10a6:10:24b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Tue, 9 Jul 2024 20:23:57 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Tue, 9 Jul 2024 20:23:57 +0000 From: Frank Li Date: Tue, 09 Jul 2024 16:23:07 -0400 Subject: [PATCH 6/6] arm64: dts: imx93: add ddr edac support Message-Id: <20240709-imx95_edac-v1-6-3e9c146c1b01@nxp.com> References: <20240709-imx95_edac-v1-0-3e9c146c1b01@nxp.com> In-Reply-To: <20240709-imx95_edac-v1-0-3e9c146c1b01@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=1720556601; l=859; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=s8pNnrdq56Ppj8eEPtENwxRkzkEKcLwgHNFgBUHLUgg=; b=AwHYQq0Qcdnoz25sGb152A0P9wfUumjviii1fP58m1xcjkJv5OuEUCOxuWuyKAwnM3sXhYyDH y+rERn1bs2xCQ/2h5MQW40E6KA4RolfzBrPvGIIlvDP5Ad8nFMSDUqu X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0033.namprd03.prod.outlook.com (2603:10b6:a02:a8::46) 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_|DB9PR04MB8267:EE_ X-MS-Office365-Filtering-Correlation-Id: d8358489-1b22-49b1-6d95-08dca0550fb9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?J7Kjce1jRF4LCFFJDKEgf3TuGAxuCsj?= =?utf-8?q?E/IqFRJg0IzWYwkgPWtv+dnoyb5Jnu1Xf2lpxJIYubSyp1nq7c26ghOrZOCrH2l5U?= =?utf-8?q?exPE8F46Uro/VTdXrhShyT6P00h7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PSOu/SsIdtlKGsVn3Tx7Qg4x4?= =?utf-8?q?1/hsYEfI0jrIVxePLHYQtSjosWZDVOWBU+9K+MZE8czGiw9P0GuI7MY05h2SyYRPK?= =?utf-8?q?Wjhp/UYEOszvMzCNmQqrG4Y7aNYxfutpGl1VRHG6pZ1ABi6PfaMDeBguGq/++trgJ?= =?utf-8?q?MmIRd0xtvA+EtKx8EHc4+76S93bMgJ7U/xldSIRcp69NUDP2fshRJz8lZrSYOyywQ?= =?utf-8?q?gl0ifsZ/fSOG14iEUtkee9GDsUyxJviMZ7O92oVzdw9Tba2cseaWdmYMqm6Nql49/?= =?utf-8?q?AUwNcOQCFRtUurav2PwrVFdG2qd/gSMeaEUN2vfccLngKmWfAj8gnAGneFHqllhfj?= =?utf-8?q?bTT78FL96buj1bQpPwEL3M7Hm5+HlDY3o+8RWtNoW1GWP4TL9CudueM=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:(13230040)(52116014)(376014)(1800799024)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?GhPOi9p/KgIfkWQSLZZlJo9aDoam?= =?utf-8?q?MLgRL5J9o+NNJHaF5Ic9QAUycCT16ePEXteAAZ9qU9SEBASLIFsk0D5nJ98+ZfeX3?= =?utf-8?q?FnT36wlDpXLwRdnfN5QaHTGvqy+uJ1uiSF5wVoE2WBt3gUsph1BW+y/CmGYaTAqj1?= =?utf-8?q?oJxw+VbUUN3frlQTsrWwTokqfnuPl4Coi0dNaQvZnIqp4cABCMnivDF2U18Hy80aR?= =?utf-8?q?00wmZTsGK3hjH9y3SeG4kwBXYqVM8hyY025aDN8NJz3rKDlfSX3sWd95sQTm5tOrC?= =?utf-8?q?5zsvvppW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3ktZDsECe9p+6bI0cY7xFyb/oWliFus9ugvpZ6FcE2VzfDYb?= =?utf-8?q?ZdaoKlc1hPiD8+2OhXf5b/MegBR/BkmnlHgjasQF9HZOA0Me3RrX9qh4mue0ynSX0?= =?utf-8?q?UYKe58XxC4GujTK1p07M80E06zfwWWwMPAePnE9uvmgVVztq6n/DkvwseXl70oo+/?= =?utf-8?q?R15YqsdbRnJYundbzk146hthA4ZJOe7iW2KgvTW022dG3lSsOg7Hx+c0oa7IPFccP?= =?utf-8?q?H4NFQo+1OKBVAeKbzpLRxbeN6NZmHR/V4T6YM6A6r4FoRFdTk+gvvZFbIcUFaFEOF?= =?utf-8?q?EhXolscVqiABmkCCsBJFLpoxYqPWpE41HwLmvePoJvUFUhN9kBVeImqAerI0oybYJ?= =?utf-8?q?KjI+HFHNsuUP?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8358489-1b22-49b1-6d95-08dca0550fb9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2024 20:23:57.6982 (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: /59MVkA05iGzu5pp0egeyKki2ltqHT3DkA8rxiT+1xCe9zDAZqV4dKMh7ek8TblbFT6zbemvjVNFo5/PHH3zcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8267 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 4a3f42355cb8f..6faba848fe286 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1279,6 +1279,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>;