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 1F671C25B74 for ; Mon, 3 Jun 2024 01:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=u+33jwGcVdOVnYJwd9pUuGltDuXrBV/MU58fthMcsGs=; b=wBmDkFkV2oyCv1 zbhx//fIQwUefWIA6JQG8VNpzKseDxLrjpu144wB86QUw0N967ji+iyEdI70psV9sKvrwEacjJAU0 FOPZDdxpurUPkf+/8s/1q4ZHqt4IjsednZH9itK0whQJmf9hv9vONHb2R7TdKT04GZIbkqKzOJkya kSIQnhg5T4kZ+L1u7lmLm49VwaoLOzc+jBAkkzzZEkCXaKTM0WrDziNNl4Q+ErBtamaY8Khm5D9E/ qH9FBav6KVmMWQFFO9IQUdwZoPNarXqeeVkK6K551SC+I7ws6E5fQNZ/Sfowio/nF11/DWimPp2OC HYW/1jbWNpUAv4zZZIKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDwFW-0000000FFHp-1yqh; Mon, 03 Jun 2024 01:12:34 +0000 Received: from mail-177132.yeah.net ([123.58.177.132]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDwFR-0000000FFGN-2rcz for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2024 01:12:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=rqVP833gbfOr94xX9bKqRkcWmC/Hfc0U89o8Z84A84E=; b=XvaE/y4LGl5EZ5jTqDB9jkTVKcaMPM6NBbjnvSxqafFUDFQrLGReGTcuBG8kNo lbyq01MZ0nIZ+oOcouWOFEpdLqc564KQPGZ3OlR6WW/eJ1ZCZGTx2ytXIdidzP3o ROJQ+8KtXGrTk5/ilY7kICG2fbKGP3yq56fzCH0rBGU1E= Received: from dragon (unknown [114.216.76.201]) by smtp2 (Coremail) with SMTP id C1UQrADX31ByGF1maB_sBw--.21248S3; Mon, 03 Jun 2024 09:12:19 +0800 (CST) Date: Mon, 3 Jun 2024 09:12:18 +0800 From: Shawn Guo To: Alexander Stein Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] arm64: dts: freescale: tqma9352: Add partitions subnode to spi-nor Message-ID: References: <20240423113151.2145120-1-alexander.stein@ew.tq-group.com> <20240423113151.2145120-2-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240423113151.2145120-2-alexander.stein@ew.tq-group.com> X-CM-TRANSID: C1UQrADX31ByGF1maB_sBw--.21248S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrZF17AF1fWFyrCF4xJFy8uFg_yoW3AFb_Jr 18Ga10qw4jyrWfK3Z09Fs7KF9rXa1UuF1UXr1fJrZrJ3WYyw1DXryvqryktrnxua1jkry3 uayrAr4DAw12kjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0wXo3UUUUU== X-Originating-IP: [114.216.76.201] X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiGBPyZV6Nn2D2ZwAAsh X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240602_181230_410657_25F42EB6 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 23, 2024 at 01:31:46PM +0200, Alexander Stein wrote: > The bootloader adds MTD partitions in this subnode if present, or in the > spi-nor node itself otherwise. Direct children cause warnings like: > 425e0000.spi: ofpart partition /soc@0/bus@42000000/spi@425e0000/flash@0/ > partition@600000 (/soc@0/bus@42000000/spi@425e0000/flash@0) #size-cells > is wrongly set to <0>, assuming <1> for parsing partitions. > > This is due flexspi node having #size-cells = <0>. Setting #size-cells in > MTD nodes itself is deprecated by mtd.yaml. > Fix all this by adding an empty partitions node which the bootloader will > fill with configured MTD partitions. > > Signed-off-by: Alexander Stein Applied all, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel