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=1796508027; b=wB448Riw7pN2ror3gVslS0rpY86CGclybcUwAjVSB+uR1hsKcRzYJpptdMb85uRIjc39 ACwxrza9gt0spFn4rvMKkjv7GpV8NxcTF8SO58uhJQxeCyYkOCQJKzsXF+fsQ4KrP1Vpk chibyheJttblsqPHBSfgXzWYr3rO7hkeZxv+4KT5x/id60ppNrxA6+pC8M0xwVudDihcr Ft7aBJD6LpJi3PYwXTyyaBjgjY22HZqQU0XRuXSzlHKT5SWuSO3dKeLrBhveYlQ5f713W 568R6zj6deJPtgo1MuYBL1P5kSX6anZIdxbDRNCtPv3hY7uxpGbBBLIKiUTLtdJoZqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796508027; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=8NOa/tLL8morH8LKijgzSbbdoCJCE+y/I5i9oSnlnUg=; b=mEb7/bX2eKhg3iaef5MpKKdGmVgrxQSox7/Sj93nFQqa1IDv9jbiJyAcoClBmdVHKmnt 0bgZeHddWOprLLF5XRW6RIq28A6TAcbHiMDHn3MqNVoW0rJhy9XjMOd7c+TYSBfFdVpch eWy/WUikVM/RDydv3N4CSfzB1Qg6YGBkcPHZxNZ+FOVFBlMwfbYmLhBnRwbWPA5MVwh6u PJGCwiOEbbxFEL9XUJhp9eO4RPK0LeoW50mZqub77RLWibCum9STeWoIylLETIFeaalQc skCfhXlRopS1JF7gcK+jdQp234Co+0c3v9jASCx9jnxzXb6PahtVKk/L0TEH8jZX2qw== 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=lK1ibbea; 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 D9872606A31F for ; Sat, 5 Dec 2026 22:00:27 +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=lK1ibbea Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72EC71F00936; Sat, 5 Dec 2026 22:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796508027; bh=8NOa/tLL8morH8LKijgzSbbdoCJCE+y/I5i9oSnlnUg=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=lK1ibbea0COXFqIUSc9Rur3CvlyQhHzcF5/w53wVQsb/Bt/cN7W6EjKWMFe0glD1M MtYOuofN0SvL6B59ZSuaGwR4MZBn/69imrr47GKRts2qywrrW9gBchQAGQGq/MY76O g2aLsJ9oEfNdSRGVafWgRZSIrCJ1SK/ajO2hES34OInp5rDblP3ed40EvOpMxyCzqz 8vi5zv/cznLNhDwP8upDTIsGDs9l+IlBj0fEhyTe1G2H5VQ1DajUxqgpqXliEbWQ7o mmBMfINAIULIS5/cpNpn39K4QkESsogg7AKMJh5tizacpZXjIQWGFrMw6WjSXlZ1YC OT073fm22EmAg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] arm64: dts: rockchip: Enable PCIe for the M.2 slot on NanoPi Zero2 Reply-To: sashiko-reviews@lists.linux.dev To: "Sylvain LE FLOCH" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261205-zero2-dts-v1-1-eb08c4eb5ab3@protonmail.ch> References: <20261205-zero2-dts-v1-0-eb08c4eb5ab3@protonmail.ch> <20261205-zero2-dts-v1-1-eb08c4eb5ab3@protonmail.ch> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 22:00:27 +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 1 potential issue to consider: - [Medium] arm64: dts: rockchip: pciem1_pins muxes PERST# reset GPIO to function 4 -- commit 392df963cea381731f347dd5415e226d20952e03 Author: Sylvain LE FLOCH arm64: dts: rockchip: Enable PCIe for the M.2 slot on NanoPi Zero2 This commit enables the combo PHY and PCIe controller for the M.2 slot on the NanoPi Zero2, using the pciem1_pins pinctrl group and GPIO1_PA2 as reset-gpios. > diff --git a/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts b/arch/= arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts > index 05ae03622e850..2e43f1f4c2f36 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts > @@ -45,12 +45,24 @@ usb2_host_5v: regulator-5v0-usb2-host { [ ... ] > +&pcie { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pciem1_pins>; > + reset-gpios =3D <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; > + vpcie3v3-supply =3D <&vcc_3v3>; > + status =3D "okay"; > +}; [Severity: Medium] Does pciem1_pins conflict with reset-gpios on GPIO1_PA2? In rk3528-pinctrl.dtsi, pciem1_pins muxes GPIO1_PA2 to hardware function 4 (pcie_perstn_m1) instead of RK_FUNC_GPIO. Linux masks this because pinctrl-rockchip remuxes the pin to GPIO when rockchip_pcie_resource_get() requests reset-gpios, after briefly switching it during pinctrl_bind_pins(). Stricter DT consumers such as U-Boot apply pinctrl-0 without remuxing on GPIO request, leaving GPIO1_PA2 in function 4 and causing PCIe probing to fail or hang, as in commit e95e4fcdc454 ("arm64: dts: rockchip: Use GPIO function for PCIe reset on Orange Pi 5 Pro"). Should the board DTS define a pinctrl group that muxes GPIO1_PA2 to RK_FUNC_GPIO while keeping GPIO1_PA0 and GPIO1_PA1 on function 4? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-zero2-dts-= v1-0-eb08c4eb5ab3@protonmail.ch?part=3D1