Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp686754lqj; Sun, 2 Jun 2024 18:12:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwx0rGhjSDm9JTjCQwjCiyZweQCe0CW1NxAO4Lier8igk26olMtOlPtTK+xpXnCTxdOA6WQLaBjwtcTTjsd4g7GulcNnvrV8qgbK7qqw== X-Google-Smtp-Source: AGHT+IE9XWmzUCJuT0Nkp2pWt2/j+ris3elcWCyCLauaFqeEleFuAsfrjG77OZiUcnI8Lu9lKgTW X-Received: by 2002:a05:6358:121c:b0:186:b6ac:8ce2 with SMTP id e5c5f4694b2df-19b48c52e8amr1128352755d.6.1717377171445; Sun, 02 Jun 2024 18:12:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717377171; cv=pass; d=google.com; s=arc-20160816; b=BBWm3iVsXD112tOpSWkHEhPkFQPZUxFySNI5yf4S9/MeuEmXICIwI1v/vOCbmyjjDy k4wfozvJWpkQqzumNNPrThjuilLvQHELeR5SDNwgCewUj2bYjzJTgIbHx78LSOdL9iGB 6NxjEuRg0RkohBfYqYyIQUVEf6aGXZxUjLb2LXvM885hxmHFYpqsHdULzYpymNgx6v9v Rt2n/qU0lDvzOeHRtdt0zhoIO/tbO0XomgcZJjIwTodR/1YFAFCvOOEZDzkFamRhrD1e caRlirUNRuMchQTA0B7mKPW2YTYwR5/HDTA1f7/ZXG+7OQqAlVudkJkG+eqP4EtD8yWu 0Row== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rqVP833gbfOr94xX9bKqRkcWmC/Hfc0U89o8Z84A84E=; fh=bvurDHrZpDo9er9kkhwumd+0VWGVrZekY2eT+MI6YK0=; b=fma6EcBIhat2BsU23hfrtDMKt+Uljm1MVhA2uLKi05OVAe3yq20cusgwZOHTTE+EAT 1xSt+mp9arPOlv3feDciATGn4bQKj9RrToz/glerHOMUdeuqboT621X8WqUlrZWM3cxB KRZBcqMmVfOTd1LYaAu0f6VnvbsQvm/4iiCdIKTaU+MreFgpVMBDiKFb4CXAzARbwVcv Uvr6FMqzoWA/xLxW1fRem+V6mD41sGfijLJB8+wTlJwiGY4ayJ1r4g9eRQ2J6sjHTyw7 SYL1WBhvRxshEv5Or75tXrBzNSoMoQKII+0iQ7KTvj2qZeJdYi0oqIkboT8zXwZEMptK q4eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b="XvaE/y4L"; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-198516-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c73c3d9si5510685a12.729.2024.06.02.18.12.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 18:12:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198516-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b="XvaE/y4L"; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-198516-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1FC13281482 for ; Mon, 3 Jun 2024 01:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9EA71C14; Mon, 3 Jun 2024 01:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="XvaE/y4L" Received: from mail-177132.yeah.net (mail-177132.yeah.net [123.58.177.132]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2CB810F1; Mon, 3 Jun 2024 01:12:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=123.58.177.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717377163; cv=none; b=ROa2wvA+tlfADNpHdL+LUED/A5+vFRlIMUqEPvq+hsJmrsv+WCYzMsVyBoA8fHPMjM6lrJ/8ZIA3nPXDx4Xj7Wpa4g05HDxqtBnlfaKAI7t4YdQldcwjRCC0KFv6hpzqqyJR4MfGmeQ2Rd09EoWS2z1kVtwCmD9KRUZmmqdc2Ko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717377163; c=relaxed/simple; bh=tIe7sgzLNNumDDE2u9rW3b9KU0lhJ9Id5HhmB1TXO74=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HVTUDxafVpiQ3FahBDC8TOo7wGRYDETYRX2+1YhEfoFOe75ZolDmTSdLTlh7zmWXGblKb9GJGOA0OMrKDSRdAI4qzT2NOCJ862NcfsN+bcMKbVOx4IpsyT8JP0CuauuRJ0pFE3hExyeMzzgJewXrAtKdhP26MA6jl3fQaIPGiX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net; spf=pass smtp.mailfrom=yeah.net; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b=XvaE/y4L; arc=none smtp.client-ip=123.58.177.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yeah.net 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiGBPyZV6Nn2D2ZwAAsh 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!