From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 23B3951C26 for ; Thu, 21 Dec 2023 10:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="lPXKAhSC" Received: by mail.gandi.net (Postfix) with ESMTPSA id 00459E000D; Thu, 21 Dec 2023 10:16:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703153772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oV7RU7sxJyQudrpIogN+qOiclZR5xvUS2xA9S30Qmmc=; b=lPXKAhSCpcE2HfRc4KNqd2KLKbAWSA5oQMcBtsg7JducPmYhCcOZRv2j6l4m3d9NQQArEb Bug1/sB4DdItVEkTqvSqapJ2TYgIwNWGx2EBrVgFTI59lzV1cSmOmxFY5WVD3mU09ugqUW byKdirWstZF3uBJy3iO4hSuBrRByC+rlAfqJFrJZCCvGBbcN4OqdCodjY1fgKlObMHlQXr lbcU6B8x7V5NdBKt0Pt2NVrVa1LUT+kWovPNvkdIzMVTrFKscKR8ZekGmJ8tMTtbzfpncR J0hqMMoByTrk2syUW71GhxXgg7hvarY6CdMsjuLiVQ1XBHLp822k5cG1X0niUw== Date: Thu, 21 Dec 2023 11:16:03 +0100 From: Miquel Raynal To: =?UTF-8?B?U8OpYmFzdGllbg==?= Szymanski Cc: Stefan Wahren , Richard Weinberger , Vignesh Raghavendra , Han Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Marek Vasut , Pengutronix Kernel Team , linux-imx@nxp.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RFT 2/2] ARM: dts: mxs: imx28: Fix NAND hierarchy description Message-ID: <20231221111603.25c28a05@xps-13> In-Reply-To: References: <20231218130656.9020-1-wahrenst@gmx.net> <20231218130656.9020-2-wahrenst@gmx.net> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hello, sebastien.szymanski@armadeus.com wrote on Thu, 21 Dec 2023 10:56:09 +0100: > Hello Stefan, >=20 > On 12/18/23 14:06, Stefan Wahren wrote: > > The size-cells for GPMI are wrong in imx28.dtsi, which causes the > > following warning: > >=20 > > nand-controller@8000c000: #size-cells:0:0: 0 was expected > >=20 > > The reason for this is the definition of the partitions directly > > below the nand controller node. According to nand-controller.yaml > > the NAND chip must be defined as a child of the controller. Even > > the fixed partitions must be kept in a partitions container. Bindings evolve over time, we sometimes deprecate them when they are problematic but: - the old representations are still accepted (but marked legacy) - if you want to support the new representation you probably need to update the controller driver as well (to support both). In this case I would expect a deprecation notice rather than a pure error. Thanks, Miqu=C3=A8l