From patchwork Fri Oct 11 15:31:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13832675 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2049.outbound.protection.outlook.com [40.107.105.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 A9E921993A3; Fri, 11 Oct 2024 15:32:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728660744; cv=fail; b=g4/0G+/aInspR+2sd9TCH037S7cpUDGGOEVkc+O8X+XSGe26xISBttUNTAJr9kayVDP6c6aueNxj88LMiL+DMmnmXgfB8ipqPcwyGXJnJYSwZg0zSrd84xo9OqolTQtOXHbiVrsbOC2ROkZ9QhIQFfV7+48B65oQDx4m/jcjHt4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728660744; c=relaxed/simple; bh=79MXg57Cyd0Ls8RHW05eE1dZDeIAJiwGUJukDHuBEDA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=iCQHLQCowjAr8XC85jPM4FhbysgzfdwNpZQhLy8cmjOLR4ZCQA++iy8MrRmYnDi8+ZDoO8+fZb0HwiMMb1pPEUbvXGh/f2GJAIJNCAvXiv7ymisGrQBgIUcNjqsShlA7HcAkdnenCsUKCjTyqrC5VMjW1nOK9bhXRLPnE5otnTo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=PLi83TMZ; arc=fail smtp.client-ip=40.107.105.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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="PLi83TMZ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yR5Cdc2Y3t2N5YYhxRYo+a5UKax2dpU2cBbaKGYsiFagmc5cq51qSscHCVlTNUGi9sZ4liSUR60S8QctwPJ3S2o9Sb6+8CMDUNDS49YDqyeGeg89g9N5hNf2Q6LQt2DCr/OjDkQF1oFdUJn/5zXYkmhUtu6Ad0ZnONgGdbAICqheq42dKILNYIFjnEaR/Bn1W8lJGyVG2irwockJYZZmiIx+5mIpG29UtPs0ZR9YAC8q4go8TXAu0dQnMyKB3pOdy/JUQqG7WSEJixw0aXwrwwg5cNHPVpqQHs3bp2veYTLIoTnyrPAxO+nwWfqVKu4zVC8NK440L13k1k+5ocJByg== 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=O+tSwGhWprLNHWAsFWHuyxmAu0T58MIDhuV5ojTv5RW8lZGtCcraV0LQnKxqB+4l4CCUioayvLqPmBchMPoy3oqrS23wWRx4zRxD0DJtpPcZcbrll1yBRn2/Eq7CiSv9q4a4qbP3cN5ma5XXFDm9KtQnQE/kgo+3+F3GVa7iB+Fc91w8jd9oSzKcIjOVE7MlGgsJpmGEaNabs/5lblJ4WKo2OLyiJYvOHgveJQFkh7Nu/NVjQHyuGjkdFUSv4Fq6Z/m2uhpBOF1DR70uYyqSISufwyHLXrjLrnFy7henQJ2L90WvEKoowotcI/rDclImLTvcwz22dCQfxsi33tO1+Q== 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=PLi83TMZidU4AWRXwiFqx4oEESOhJUgzghaC1b6j27pqsI98qXknViwvyGD3dGNC36rzySCHYN/re1Mx9UnctXRapwDsLYyFsLTyXY8fIDIYR8zOLIgyccSWUABP8QAkR+Q58ivQGLh/bKrBrVYYU+4MLgCZJckRJAcXAOt29exMg0/HR8MXLVISatbcmmPztltkTgYhH4cf/bN8Dsnk8QXCGIRYOaYjvxSpRm0k1bPSfVebIdnx07AnrrOiOt8t0YYJKEccCNlMCEwQN4/JmC6a2aLdtNNLb2sEKSOY0ob9eTb4vZvYnwUOr749eyWMDhoFyvgqeik1Ezi+Mf/hfg== 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 VE1PR04MB7360.eurprd04.prod.outlook.com (2603:10a6:800:1a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Fri, 11 Oct 2024 15:32:21 +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.8048.013; Fri, 11 Oct 2024 15:32:21 +0000 From: Frank Li Date: Fri, 11 Oct 2024 11:31:34 -0400 Subject: [PATCH v2 6/6] arm64: dts: imx93: add ddr edac support Message-Id: <20241011-imx95_edac-v2-6-011b68290951@nxp.com> References: <20241011-imx95_edac-v2-0-011b68290951@nxp.com> In-Reply-To: <20241011-imx95_edac-v2-0-011b68290951@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=1728660703; l=859; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=79MXg57Cyd0Ls8RHW05eE1dZDeIAJiwGUJukDHuBEDA=; b=w6Ci5x6+kUwU0qSrTG7LmFOXnAYqjOYX6i/PqI9i2yScNOg94SIwsb40Ls7cAvvfpqdhHtsPA hsOP5cFadw4Cqf3eRo3/Bj5l9CGbI4jnuTSUm6uqBOuIIVdIxI5Xv4a X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:217::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-edac@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VE1PR04MB7360:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ecc51ff-41c7-4431-29ca-08dcea09e5d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|7416014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?WDlS/hJQewSlwMukRLFNJNFtElB7bUT?= =?utf-8?q?MvMjlXgeJpvhc35Lnj8hG4fEYoeoq3/8Kn+1+NrJkf2dyT4hn6FdnFUSYXKGeRmF6?= =?utf-8?q?bwVuacTjPnc/D6UcX1NzkuBSQib39KBgyT2SgCf1kGm0TiLdf+iGWaSs4UKudh9Zz?= =?utf-8?q?EIxQ4byp1tb9mX/q5efXiMynOHETTGvfYKSHqwHYt8G8SOWNpmHKps0X9dv+GILnh?= =?utf-8?q?yHS+A685TrXLANn+HKVjY0Fh/ABo07jFNY5369EKJJ1eIWaJVRlQ8ug9c5VPpxcMv?= =?utf-8?q?MuQQ6clbhrklnn0CqG1yMXGnzZ6JlnnqFk1Viiv/PZeTK6iK8SxvkjiE8CUdoRrZz?= =?utf-8?q?KY7nGz46CoFHmJ8UN1EJKQJCBtIOHvTNUnUUfSWnw0QKLLDIJdB3R1rs0/CwzkbZC?= =?utf-8?q?z0fpsS0ZOXlput5zn+vY16UsHTJApjzyBO14+WbVQnPp4V2VuBhQedhnS6Yaty7i9?= =?utf-8?q?L+xXBtA9+w0rp6nxhSTTuNE6ilU+g8TBOnnlBsQ9Z/9LdcV5s1M90g63r2QsoaFLw?= =?utf-8?q?8oShy05vLShSN7uQUQClKi1fZ6cc2COZKhmODKcXuiEEzdGDhfwn/CxHnmBmGWNMy?= =?utf-8?q?eUeQCNmG13IBqKuibL6UstdLYb2eXxUoS6bWMv/YOez+G52kTIS96T5ytNk4pBBrt?= =?utf-8?q?rXZVwUglxuVbNCbHLNIj4ko/vEGIneEIFxmmjGOD+HQG5PFOoW7bXYlpX2VFXqNbp?= =?utf-8?q?qvMQ0cC3iNnq73+KjEISU8U0dDgiYxNCpQNNpJPVG49XSIygkvgGvvjE8//dCgS/k?= =?utf-8?q?lBrV6HC5lVza0RgCMj6VxytlGvw6GY/8zy6rAtESwmlq4u/snpWaVFbNuQMmt7RQj?= =?utf-8?q?j4i4sbviRic+uIzbQLcYXMI53KYJjlxiycBWetCiXOWk4/h3zCQa7Wh5bX90PWMCw?= =?utf-8?q?wI8gEvvArLyz5iagzIJt9/fWlFN92fcTtt46qcPpDNx0N0a114n7ekgVyFdjXhmGH?= =?utf-8?q?8uOYhI9jXmSUCLz9g1h9VW3Rvde8cFVamcw4W3eKLJ6I8w00OgwvMRlZSfd90kCJY?= =?utf-8?q?P42R4I0/NTOAwX8t9KEw4NZIxeHsjUSHfaXg5F7XlEANc1oaIrt6vjf/XmShZuT6B?= =?utf-8?q?V3w7amDl7+TzhfN9w42sJQXuW4mUDmpwVDBZYMGLLrtyDnBWE6A1Agz/M3vHEx4Xy?= =?utf-8?q?BQNf+iSqb5TMBJAwOCMbSWjzuSuFMUnxfDSHhTg13xdehpYW1pQQD9YhQHKMQR8dI?= =?utf-8?q?7cfTaLriq2Upk+SJalNCXyHgJ9zj/zFs0MZGxhKuQlcvONzR/ddyF1bx9/RjzU7EZ?= =?utf-8?q?PbEqyIYidXmWGFimfBv4bdJRhAbORkUaPkw9c5VivgqpO1nifDBY9GeE=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)(366016)(7416014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?YfE15qhlsOyiwAhsi0hU4vBPzymX?= =?utf-8?q?AkD49fbOlMtwOgJO3AjZUIxblBVuRC+VT6aoTltQQc7sPq/KX197L4+tRRap2iv4L?= =?utf-8?q?IH19aAM196gfT0Tbb0bTyvr18dwyLnME656TPQvhHabf7UveL/4V+qWERPlZWgUz+?= =?utf-8?q?GWRq0//kFbcL7/IxivMAAvjCyEdIo8N93iXJsULuiL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?= =?utf-8?q?RTZ8mQCjVh/xn+0qHQJUl7oTzB6nc+NLexVrenzqGtsM1/vZAzn8pHqe9aYbYvgOa?= =?utf-8?q?RGgrVRjirVjNlryr4VAwpmwOh+pA23xCreoWMMqRATPYcqT0bMk+ncrwcPwjWIKr1?= =?utf-8?q?1D5kJ2OcMYOo2qViXUKp+7QZPzBwYuCm+OA0waGq4KbwsVRvnmqfP9437wsWTr3QW?= =?utf-8?q?yJZ1vYTGPnXrL94kcy+jI4XzcuNkb1aWi3wv0TD75/UUwGp+BaR6rFKffRjAkClPp?= =?utf-8?q?DEEYdwPb7woFb71Dt8prpPRAEEQ5TGIHYPDcRVnw8PZYDLEdT1ShpezILD7MrFQyT?= =?utf-8?q?5Sufko1b9bveDLRDTXvr1cJ4GxfBtEhn4z+ErpzmfG7lHyiPS5arQs1csxTH2Xl9e?= =?utf-8?q?vZLt1USXNL5yotgviwaFDiYjv9RCVxrbe5rQ/aXUK4AL/7UdelgOTmfYIED215bwe?= =?utf-8?q?KXfCp6mqrXv/?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ecc51ff-41c7-4431-29ca-08dcea09e5d0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2024 15:32:21.1975 (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: 8223AXzy8ZNfxYC4tgebjTU7tWrq3C6iRXMi7JjL1FTJ3E6suRmcNJvdXXgz2ikEi6XDl9h/GSceJt1H3EGAww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7360 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>;