From mboxrd@z Thu Jan 1 00:00:00 1970 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 ABE02C2BD09 for ; Fri, 12 Jul 2024 06:08:45 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9kkQv+TWA9nQxOn83JfnaiK6tbtRd6yY1Ho2RrmzOk8=; b=Ycw3eMizbw5aJPzNxPESJs0eJL xSLeK9JbN4s7WviXjx1TSf1ut/o3V7sr/sIK1gMPvM7TWpRJhSn+R7LEGgERyeJDhbAzFTw1rGblh vX1jyRlZ+S5XyVnTpVLTPZTZ5yFTsGLoV3eFbVgmZhEPLtOh8SiAYX/mqf3G1Ob6DT+nF3MJHKYNT EiIdnlGVvA2d55uH12LqDoO66/Lfbx+xpHzkZpKFzOAR9SYyYyx8Aqvd0GDil865NdwzXqsWr4otV EWhGZIRJ8f6mnNw7QKLwyFuxLdKKyxDExR8GKS/UH6KDXhgX/qDyeSCNvwPD0rHYLr96YeKcmNLyP u3T49L+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sS9SI-0000000GaWh-0bKl; Fri, 12 Jul 2024 06:08:30 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sS9Rz-0000000GaSe-27Ip for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2024 06:08:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1720764491; x=1752300491; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9kkQv+TWA9nQxOn83JfnaiK6tbtRd6yY1Ho2RrmzOk8=; b=DDuVZth4IsNMrCPk68yuMiF4KbVUn8bMn2NkWwuRcaNdwZ2gDVo+51Q9 JgKOmtKqk5sRk/9gU6cbEjv2/ZUv378fAUeSNpHZqsfOkxoDq6Xce2+Hv pEs6bO/fI1S7uRgQG1xAy7IYNwIbQuukayOvsNsZ8GkvBxdCS1WuUOUZS P0kedT02/N9P6wDMlr/iHzQzq22AreMNnbX2Jt/NdNhO2AlKWZgXB2FLw 5cY2SeiWbubSGasGk5S38DDusejQ7+gXSZACDibSGb/RqN8OA64HlKkdu K7/UW5l4mdRbH4vxpeanKhR9+0JEePtzBjxEX0cPmUWQaKDdgL/NdCtH6 Q==; X-CSE-ConnectionGUID: ijGMlMZrQLCwQSsfFBkBGA== X-CSE-MsgGUID: WHEqB7i0TnWd7EzlQqfYBw== X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="37873063" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 12 Jul 2024 08:08:07 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 52BBA164423; Fri, 12 Jul 2024 08:08:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1720764482; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9kkQv+TWA9nQxOn83JfnaiK6tbtRd6yY1Ho2RrmzOk8=; b=Iw3rgzXwVxbizrITOLFdZrD4PgrE4WYEVXH2U1xJU22JJlPxDPwZT0Ln3X2D39D3/OVq0H NMSJtR7dk2P5Q8q9IAUxKISScCl0yyqorESNhHIpls3ZEnzL4X8V4b841BSMvT9FZPkBL0 9OUkMah6RNN7JSX17Tr1Ab+uo/A6OFKOT3twFgTrppGv0UwHDFas0rC+HqKC+FGVWHLjh3 NgyIsu/WAQ1nC0jfM68bXOEhwTP9IioSK6S4L5rZqWwVpaN5btSdlmhhjg2oEPUmanRtwx gaUKJ+srN3w/VIrpEQfA+9agpZmP1OY9BBh2xbh/NNSeyul+Io72Byez+gQF+g== From: Alexander Stein To: linux-arm-kernel@lists.infradead.org Cc: 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 , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , devicetree@vger.kernel.org, imx@lists.linux.dev, Frank Li Subject: Re: [PATCH 4/6] dt-bindings: memory: fsl: Add compatible string nxp, imx9-memory-controller Date: Fri, 12 Jul 2024 08:08:05 +0200 Message-ID: <3238685.5fSG56mABF@steina-w> Organization: TQ-Systems GmbH In-Reply-To: References: <20240709-imx95_edac-v1-0-3e9c146c1b01@nxp.com> <6068670.lOV4Wx5bFT@steina-w> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240711_230812_062833_6FB23668 X-CRM114-Status: GOOD ( 21.21 ) 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 Hi Frank, Am Freitag, 12. Juli 2024, 05:27:54 CEST schrieb Frank Li: > On Wed, Jul 10, 2024 at 09:18:16AM +0200, Alexander Stein wrote: > > Hi Frank, > >=20 > > Am Dienstag, 9. Juli 2024, 22:23:05 CEST schrieb Frank Li: > > > iMX9 memory controller is similar with other layerscape chips. But so= me > > > register layout has a little bit difference, so add new compatible st= ring > > > 'nxp,imx9-memory-controller' for it. > >=20 > > Is this controller the same for all i.MX9 SoC? E.g. i.MX91, i.MX93, > > i.MX95 and any future variants? >=20 > So far it is the same. I can't prodicting future. Not plan to change it > yet. Okay, thanks for clarification. If DT maintainers are okay this way, I do n= ot object. Best regards, Alexander > Frank=20 >=20 > >=20 > > Best regards, > > Alexander > >=20 > > > imx9 need two 'reg', one for DDR controller and the other is ECC inje= ct > > > engine register space. Keep the same restriction for other compatible > > > string. > > >=20 > > > Signed-off-by: Frank Li > > > --- > > > .../bindings/memory-controllers/fsl/fsl,ddr.yaml | 31 ++++++++++++= +++++++++- > > > 1 file changed, 30 insertions(+), 1 deletion(-) > > >=20 > > > diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl= /fsl,ddr.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/fs= l,ddr.yaml > > > index 84f778a99546b..e0786153eec73 100644 > > > --- a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,dd= r.yaml > > > +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,dd= r.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 > > >=20 > >=20 > >=20 >=20 >=20 >=20 =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/