From nobody Wed Nov 27 10:48:28 2024 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2054.outbound.protection.outlook.com [40.107.103.54]) (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 6AD4D1990D0; Fri, 11 Oct 2024 15:32:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728660737; cv=fail; b=FOrAV1CqL4qvyfOtBABBvtVkJ19+PLY8+zAMdNFdF0mLrLiJA8Qesl1KkDByz0I1QUNmfVJUoFVGkTXRuNA01G2u82TWieMdH+CzcqUnSoaVWg20UUuXiQCpuwcuC5KKE+SKw1YC9pyNOB+yxJIM0ZrCQbVChxi6BuYiRwiLFuA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728660737; c=relaxed/simple; bh=lyWe/ySMkDZ490wGZqd1uDY524RbQ2uyh4spYd1a1x8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=UW0xZ33tI/kXOl5uFRS8s1eHdRocz0bAmWyOZ8VfsRzQOnMU2g0dkMw7vLxx1Xl5uQibKmS2xAzfrtyy2v/KaDw8I4OhYcn5aYsHtoeqpfoAEvzFzdF6IzMB4f76N3r/qUWzDSKdm2b8uhSP2P4oMckBofzfCA67uE+8fn1uGfw= 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=i7hM8ayA; arc=fail smtp.client-ip=40.107.103.54 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="i7hM8ayA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UGxKQfLwGyZREdw4HxRv4wrJ2iZm18NK+X3uwJIdL5cDFGKKWwuB4lOB6trIS/+AL/ak4drnMEqPg/BBVV7vtv6zzq723zVjU+41Va6qH26XT2DUUJZMenROAoLpRHDGk6FaRBlLoExhTLqWmnsxKIMD7zJ1q7IOpc+8VxppIuw9JsPuR8pdOL/COgJdmOQuAhq8nMdmjNypyYiEGv3FohXcFgCb4uygUAPAvwieJtiVpG4etAky4vL74IpCx9mvu4XLLnanut2KKyssPbC2GK/iBnPhVKJbUAaRLh9u6f+pTJ7c5XBqO/wfR9F695r10fEtpVVL00eUJW0roJPbwQ== 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=qMo2ngT7gPC02/8eJPlx4Oq5Zz9LMuVnQAOCsuCJbzU=; b=NAD4mCozlbfl40y/GccvCefq9CSxXyu4Ulp6rMGucHpGa3Setx643tvnprH09Bw63mSMD82i3pCGDisTGIZMmIya9FZEZNA5r2JVhZ9c7nx+esalTCuJjxq1Hb9nSC3gr4+zkN2ktXdJZLL/OzpnBUJ9Ga0grynRqu7SqZs/39gUnwvgyi81LD6JY2oaq+cZ6XFC61a/hvhMEX6OEO24z4bYQi+zvcJlLumno1aoAVW1WU66N0cspaBcHTshUgQaWdwsngfYlx4mGl4qzojpzut1BDuOfyc0amsDUauywTxZfGjag5zxBl3Pb0CzTWXIXVDLdD+84CvDOABeAGvm0g== 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=qMo2ngT7gPC02/8eJPlx4Oq5Zz9LMuVnQAOCsuCJbzU=; b=i7hM8ayAI0mDQCWGuR2nvsP8Z+kKvamnuB7HoxGyy+DMCqvrpDh4RendBFLwaM3BFAi6ra4sE41lwwZBaV46IZEhUomEFsmw6/Aw1oiU4xU8QOiETb2yB9oA7sdcDMi1TiGHl/SNar4L5G2Dx1D2FL0m/+LPtKjniQiCKUnvglONPqRttwpuGB1WuRyhZjbA4QhpTK8hduCU825LBIu8Mso6V5Z8+ivg4+tymHO9lSDPPQItsEhjg6l2jthCHSGEl3IjXgHopb4GUCFkaaht+3P/a+LauaCpFq4Uas2+cd4Sigzf+h4TIgfY2DJaY2bAPisAPuaBSsYNF01JrF7t3g== 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:11 +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:11 +0000 From: Frank Li Date: Fri, 11 Oct 2024 11:31:32 -0400 Subject: [PATCH v2 4/6] dt-bindings: memory: fsl: Add compatible string nxp,imx9-memory-controller Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241011-imx95_edac-v2-4-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 , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728660703; l=1970; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=lyWe/ySMkDZ490wGZqd1uDY524RbQ2uyh4spYd1a1x8=; b=8xslh7HyUKmks2Olrk03Ae8GT5TqK/INwuDUBhtlDDIKksmu24kLZyPT7edpKvnbT/Be06O3Z Y4s6zNk2GrFAcsi7vbKkJBbrYW+H64BVD7o25CZGmtRRLxDfSq2Sr6N 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-kernel@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: 0d46f4a2-257b-47c8-3d54-08dcea09dfc6 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-Antisp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PM1UvQko1bzBpOHNJL0NITXRUMzdHcmdQeGJOb2xFQTJiSVVuTk1k?= =?utf-8?B?YjdJWE1hZ05NOE1paG5iUT09?= 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?B?NE5pMGhGaVJualdKZjAxYkJWNGxsdSt5Z1R1Ly9Td2FSSE5TbnN5bmlZaEc3?= =?utf-8?B?clI0bXpGdTZxRWFxOHNuZFNweWErTkhuSk9uMjRMYTZ6VHJmTXBiZTBKblRK?= =?utf-8?B?ano1NXRXNjc3U250MStyMnhIU1B3ZGF0L2tiZFhaSXB4bklqQTNKeEw0bVZ0?= =?utf-8?B?dThTbVh0TnNiNDRNRGdYWkdyZ2dCQWN4ZGVUSGhtOC9QYWg4bXhuUTArcWFl?= =?utf-8?B?NXZTSWN0cFhqSVBQM1ZIVi9QalFjWXFRVkptaVRBaTAvT3hsR2t0Wnc1WFg5?= =?utf-8?B?QlNHNk1TUHNyeE1OK0ZyOFVXU3lQaHV6R3dCZ0RqYkdTNXZYN3FaY1VrakVo?= =?utf-8?B?RWRTSG1DSmZJRFBVVzBTSzZCSmFrSFRrSWUybHNqb1BMMThYdmFWbURtYXhh?= =?utf-8?B?aGlTb2Q2aVZQbDlHWXRZdWFPYXdIbDFmazNCcEl6c3ZyNHRsS3crdDNKSDgw?= =?utf-8?B?c2MxWHNPZE9hQ0RTejM0dHBIcHAxT2NpK0hxKzBZUHVFMUNvZ0JMeFNwWWc0?= =?utf-8?B?M25IR3VFZ2sycCttdkljSmtTWVlSNkx1TFpoT1UyY2F3dWRlc0JrL283dFlS?= =?utf-8?B?TjhPckZleGI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zQUtrNFds?= =?utf-8?B?NEtweVpscWQ1aHMxQTlubUlpL1ErSTF1SXR6bm51bXNOWHNUSUFUMXkrQWZG?= =?utf-8?B?NGozV1dpL1JpeUVVbWVqdHk0Zy9PbWZ4TUt2TlZKczVCNjYxdUhITWZ3K29Y?= =?utf-8?B?Qi9sVjNLL0Q1ZmxIL0dpSnluMEdIcm52SXR0TG1zV2doTnJFcHQvWGxMVmRH?= =?utf-8?B?YlcrYkxDcXdnY25PNGRsSDdkdXJpMUZvQ2VjaWMyRThxVkZuK3ovOTRNUEJa?= =?utf-8?B?dFVWSG5INjBqWGxSOVp5UkZWblpIbmNXUisxRjFYNFU3T3IvMDNvcnArSCtp?= =?utf-8?B?Q2Y2cmlVQ0lWZTRPNFpVZFd1M0pUcnN2eU96Q1g0dkdZYS8vVU55ei9MTzhJ?= =?utf-8?B?ZE5ibk5ObUtLSTkzQ01oUktOejdMdDNhY24xR1FoUzRHVXBuTnFiWUFxNFM1?= =?utf-8?B?OUJyMTMwanlZaXBacldKYS9JTHYzaTdqM2VDQXcvckt0ejFGbnlXU3NMWE1L?= =?utf-8?B?bTd4Qm5FQXgveitiY09TbUUxcXhHMzc4b0pJNzF1Z2VaRzlEeVVUaHFUWHUv?= =?utf-8?B?WGc0Y1oyTEl3d0JEK3B1cE1FS3dnc05XTjJQTzZXUnpEd3N5Vm45TEF2alZG?= =?utf-8?Q?fiQ96sKIaAM0G1p1EvjabuojU?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d46f4a2-257b-47c8-3d54-08dcea09dfc6 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:11.0828 (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: VAzlLe0S7kgcgZsVFsmqVLzX02+BJ7gHLOo7jRqF7Oy4zOWWD5Mb7GKeZfsQxtGFNRZvJ5MI1B9tiyf4iSoxKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7360 iMX9 memory controller is similar with other layerscape chips. But some register layout has a little bit difference, so add new compatible string 'nxp,imx9-memory-controller' for it. imx9 need two 'reg', one for DDR controller and the other is ECC inject engine register space. Keep the same restriction for other compatible string. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- .../bindings/memory-controllers/fsl/fsl,ddr.yaml | 31 ++++++++++++++++++= +++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,d= dr.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ddr.= yaml index 84f778a99546b..e0786153eec73 100644 --- a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ddr.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ddr.yaml @@ -40,6 +40,7 @@ properties: - fsl,p1021-memory-controller - fsl,p2020-memory-controller - fsl,qoriq-memory-controller + - nxp,imx9-memory-controller =20 interrupts: maxItems: 1 @@ -51,13 +52,41 @@ properties: type: boolean =20 reg: - maxItems: 1 + items: + - description: Controller register space + - description: Inject register space + minItems: 1 + + reg-names: + items: + - const: ctrl + - const: inject + minItems: 1 =20 required: - compatible - interrupts - reg =20 +allOf: + - if: + properties: + compatible: + contains: + enum: + - nxp,imx9-memory-controller + then: + properties: + reg: + minItems: 2 + reg-names: + minItems: 2 + else: + properties: + reg: + maxItems: 1 + reg-names: false + additionalProperties: false =20 examples: --=20 2.34.1