From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796407660; b=DRg+kL9DoNugW+UoOjHUoLemvEpYth3UnleSNfBVo643f0pZBotVz+hs/MWRWUpFhriz bNiVLiSSLgpb8FrUrd74FFvB0K3yRVus0kTX630nSAHEDqK8bb+6zqIx6yyUuVpD8zUGK tfhVErFXH15qmY4m0JnoQGLRnJeVL9TjiC33LEbR0iJLmb23d6xgvL1bXaNg95udRc3gK HgTbFquJNpnthAqNG3HNqYoK5s41To4/+re9V1bJc+0cUIi/uPAF5Va4g8hAUk+DwB+Kv S0jzmG79QlvNWhT982n5/26QITDDVGUFImx+lnmlbOkZfuu0gmXjoe7qrwJ3EMpIllg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796407660; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=QX/tQrZdOdBPcROciRmBHViEdmIPJDoT+/Q3jywyCXk=; b=GM5kI8GN3TOfB0pYdPQ23UI4Z5igFs1tlYJtxKsN6VSNu9BuiNZSy4eYr/sVcm3Ntta/ o9FVJ4aH/2hsvAeWC7gfDOQpo7bUS50broD+Wi9XHvJpfIw6sTwtQMb73tIXcetFX6l65 E4EFQGrijGqudZVUSD+AKu90z9z2JrZmmAqZbppwDQOeX8n5VRVDT8uqZM/qaEqkfsaXB +N06oKlLCAhCio0r8ar+07WiJRQSbLbmIyG2eSibxtgFZK2fOXzmo6Xe/K5ac9J6/waJD IWiTiMPyHQhTNakMCBr97Nf8RMRwE2k5tQU6ZR0Z8VzDrbFglUe8rslvdFQdQpYH+Dg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="EKGj9Y/A"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6E52606A32F for ; Fri, 4 Dec 2026 18:07:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EKGj9Y/A Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32F1D1F00A07; Fri, 4 Dec 2026 18:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796407659; bh=QX/tQrZdOdBPcROciRmBHViEdmIPJDoT+/Q3jywyCXk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=EKGj9Y/A+1bGxzXvmFcP6ZrPh6lQFwzEDCYzBzdwMOYkqdzbFsZxfpOQXAhqEniBq xTwCuG7eN+7naIicHdQZNBAx+FSXD0XRGC6EtXEr6W1rm1Se4355gVWCctnsBgB083 SWt/G3zgSpVs3V6uRqvEMYtd5hBzAahUXsOqwC9YPuRfXVHncBfod3beuRJsbd3wT3 7XlWr2uR/w5E3awa3rImJpUOvylkbJ57y7ZPKOsRgZknpONLZ58rBloN/F6RPm26rC LxgFthdbYmVKAChUQ6p6U1JpO05aeKeASej/VxkKTfslVRMA9pBf6ei5YrRBVyAhvm p9I+HgSA36s4Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Reply-To: sashiko-reviews@lists.linux.dev To: "Patrice Chotard" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204-upstream_uboot_properties-v8-5-d6d1e68661cc@foss.st.com> References: <20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com> <20261204-upstream_uboot_properties-v8-5-d6d1e68661cc@foss.st.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 18:07:38 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 4 potential issues to consider: - [Medium] arm64: dts: st: missing bootph-all on pinctrl_z parent of gpioz - [Low] arm64: dts: st: bootph-all added to absent disabled gpioj/gpiok on DK - [Low] arm64: dts: st: commit message lists timer though no timer node is tagged - [Low] arm64: dts: st: duplicate SoC-level bootph-all in board DTS files -- commit e1480b56a6e7c09a990201fcdb6943f0627a49ef Author: Patrice Chotard arm64: dts: st: add bootph properties for STM32MP25 boards This commit adds bootph-all properties to early-boot device tree nodes in stm32mp257f-dk.dts and stm32mp257f-ev1.dts to mirror the existing U-Boot overlays. > Mirror the bootph-* phase flags that U-Boot currently sets in its > arch/arm/dts/*-u-boot.dtsi overlays for these boards. This describes > the nodes needed by early boot stages (timer, gpio, syscfg, clock, > uart, ...) in the upstream device tree, so U-Boot no longer needs to > add them in its overlays. [Severity: Low] Does the commit message still need to list timer? Neither board file adds bootph-all to any timer node. > diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/= dts/st/stm32mp257f-dk.dts > index 00210a2052af8..8bd1e8666d7d0 100644 > --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts > +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts > @@ -150,6 +150,24 @@ fw@80000000 { > no-map; > }; > }; > + > + firmware { > + optee { > + bootph-all; > + }; > + > + scmi { > + bootph-all; > + }; > + }; > + > + psci { > + bootph-all; > + }; > + > + soc@0 { > + bootph-all; > + }; > }; [Severity: Low] Should these SoC-level bootph-all properties live in stm32mp251.dtsi instead of being duplicated across board files? The overrides for firmware, psci, soc@0, bsec, pinctrl, rcc, rifsc, scmi_clk, syscfg, and the gpio banks are repeated verbatim in stm32mp257f-ev1.dts. Moving core SoC tags to stm32mp251.dtsi and package gpio tags to stm32mp25xxak-pinctrl.dtsi and stm32mp25xxai-pinctrl.dtsi would let other STM32MP25 boards inherit them and avoid package mismatches. [ ... ] > +&gpioj { > + bootph-all; > +}; > + > +&gpiok { > + bootph-all; > +}; [Severity: Low] Should bootph-all be dropped from gpioj and gpiok on stm32mp257f-dk? This board includes stm32mp25xxak-pinctrl.dtsi (STM32MP_PKG_AK), where PJ0-PJ15 and PK0-PK7 do not exist and gpioj and gpiok remain disabled. Tagging them with bootph-all misrepresents the package and causes early DTB filtering tools such as fdtgrep to retain unused disabled nodes. > + > +&gpioz { > + bootph-all; > +}; [Severity: Medium] Does tagging gpioz with bootph-all also require bootph-all on pinctrl_z? In stm32mp251.dtsi, gpioz is a child of pinctrl_z (pinctrl@46200000) rather than pinctrl, has no compatible property of its own, and references pinctrl_z via gpio-ranges. Both stm32mp257f-dk.dts and stm32mp257f-ev1.dts tag pinctrl and gpioz but omit pinctrl_z. Because early boot stages bind nodes top-down, leaving pinctrl_z untagged prevents st,stm32mp257-z-pinctrl from binding pre-relocation and renders bootph-all on gpioz ineffective. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-upstream_u= boot_properties-v8-0-d6d1e68661cc@foss.st.com?part=3D5