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=1796023001; b=f2tz62JK+xKzKI69lja4nLQCtdbHTMHhuCUgr9OG8QZN5nJeHm/j5cEejYfi36vbp0lO p2yoWRfYMFD1/ogmnZq/IVM3oFE0JKmifHBSxBfviS0euJn0CFouzw3aEpfoNlYVU9hwC HOUoqYgRHkhwHCnf8GA+93IKY0tJTY507j4PzUZHTobSOt7IYwsvLQzVVKhnqsRfTNA3w TEUCK+dlF5zpBfer39eVNvW2vFWbsvWa5NiQJeBr0Ye21gaF8MHpy061HHDd37v+qU6/L 6LXpN9QiR/wiUweZbVuYUVSNEoGexrpb4LPzJbCql1fBynsVIYFV7N4s/EGM9llojEg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796023001; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=4hwypztrlpmrk2Goqo6b0qZRTDpSGpFJZIzZhDExh8w=; b=pw7Ol2MFlZVdwTLc+p+8JAygE0E/B2rRjDTMZe8jsNsMCQFHu+0vIkFdxR/khARqWf8J vaPNr3Aq1w5SSVnthjvntBpaFBNmM5CwjyBOo+C045gCBZjd/+JvfCSmMNXHf5Xg+rEc7 Y8vaXfNq9KgE2bq7lOMjU9SZXztAtgmbRojb4uXEGt3d22wfa1QK0X3HFBRzwQ6L/WBkK J+0N7o27SnFmwzP99KAlmg2Krpn2+oQySwLgObDmE5wP2jBXQBV/sa/1UynYQ4N1eDYJS +Ittj8XIMcFh/00ZC9gIkt9wGv//xAlkv6rvlBeLilG4ze54TzG3lIO/4+QOtT8FdAg== 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=ChSJ0ogI; 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 1FC6B606A31C for ; Mon, 30 Nov 2026 07:16:41 +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=ChSJ0ogI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6401B1F00896; Mon, 30 Nov 2026 07:16:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796023000; bh=4hwypztrlpmrk2Goqo6b0qZRTDpSGpFJZIzZhDExh8w=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ChSJ0ogIlCbsOMp5OIR3lIuvb8YPF+uHxi+s3usA3EaUoCGwr+tPHgPyTwQBRLOWL 0BMCpisM1E36fxaV28lMv5hS1+q46ek6PUxbx1j3xCq6a42YjwX3RZQvejbPhYP8o0 gAeCYhoXnuvqz1k0PWyk35KYTEnktz2iWxnJMWCP+UMNcO+XJPgsSIwELdnUTZOon2 bWEs4gygO0e7hWMe11KZDqe+KJBqse7X8pufJk3f1K3KhNlQpi1AFw86ZFTZ9v/ax9 mfncioYwBT/R5SIFjR1XRiS/0dkfPeNMaIcyFseb29CXGaxbleF6JfEQD5bMyFtRhK TbdeDgw9BggQQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4] arm64: dts: qcom: Add Microsoft Surface Laptop 8th Edition Reply-To: sashiko-reviews@lists.linux.dev To: "Gopikrishna Garmidi" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261129-mahua-surface-laptop-v4-1-b6ceb31303fd@oss.qualcomm.com> References: <20261129-mahua-surface-laptop-v4-1-b6ceb31303fd@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 07:16:39 +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: - [High] arm64: dts: qcom: root compatible mismatch breaks ssam_platform_hub_probe() - [Medium] arm64: dts: qcom: re-added L4F0 regulator and stale CoB rail overrides - [Medium] arm64: dts: qcom: missing qcom,uefi-rtc-info property on pmk8850_rtc - [Low] arm64: dts: qcom: legacy RPMh regulator phandle and regulator-name format -- commit 25f14792a9751d8f7285b0da2eaf22af4fd33acf Author: Gopikrishna Garmidi arm64: dts: qcom: Add Microsoft Surface Laptop 8th Edition This commit adds the devicetree for the Mahua-based Microsoft Surface Laptop 8th Edition (13.8 inch). > diff --git a/arch/arm64/boot/dts/qcom/mahua-microsoft-surface-laptop-8-13= p8.dts b/arch/arm64/boot/dts/qcom/mahua-microsoft-surface-laptop-8-13p8.dts > new file mode 100644 > index 0000000000000..8bb96cc73ebaa > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/mahua-microsoft-surface-laptop-8-13p8.dts > @@ -0,0 +1,965 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. > + */ > +/dts-v1/; > + > +#include "mahua.dtsi" > + > +#include > +#include > +#include > +#include > +#include > + > +/ { > + model =3D "Microsoft Surface Laptop 8th Edition (13.8 inch)"; > + compatible =3D "microsoft,surface-laptop-8-13p8", "qcom,mahua"; [Severity: High] Does the root compatible string mismatch ssam_platform_hub_of_match in drivers/platform/surface/surface_aggregator_registry.c? Commit e93536b1fcf7 ("platform/surface: aggregator_registry: Add Surface Laptop 8th Edition") added the match entry with the v1 compatible string "microsoft,surface-laptop-8-13in". When ssam_platform_hub_probe() calls of_machine_get_match_data(ssam_platform_hub_of_match), it returns NULL for "microsoft,surface-laptop-8-13p8" and fails with -ENODEV, leaving the SAM keyboard, fan, and platform profile devices unregistered. [ ... ] > +&rpmh_vregs_b_e0 { > + vreg_bob1_e0: bob1 { > + regulator-name =3D "vreg_bob1_e0"; > + regulator-min-microvolt =3D <2200000>; > + regulator-max-microvolt =3D <4224000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_bob2_e0: bob2 { > + regulator-name =3D "vreg_bob2_e0"; > + regulator-min-microvolt =3D <2540000>; > + regulator-max-microvolt =3D <3600000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_l2b_e0_2p9: ldo2 { > + regulator-name =3D "vreg_l2b_e0_2p9"; > + regulator-min-microvolt =3D <1804000>; > + regulator-max-microvolt =3D <2904000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_l8b_e0_3p3: ldo8 { > + regulator-name =3D "vreg_l8b_e0_3p3"; > + regulator-min-microvolt =3D <3304000>; > + regulator-max-microvolt =3D <3304000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_l9b_e0_2p9: ldo9 { > + regulator-name =3D "vreg_l9b_e0_2p9"; > + regulator-min-microvolt =3D <2960000>; > + regulator-max-microvolt =3D <2960000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_l12b_e0_1p14: ldo12 { > + regulator-name =3D "vreg_l12b_e0_1p14"; > + regulator-min-microvolt =3D <1144000>; > + regulator-max-microvolt =3D <1144000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_l17b_e0_2p4: ldo17 { > + regulator-name =3D "vreg_l17b_e0_2p4"; > + regulator-min-microvolt =3D <2400000>; > + regulator-max-microvolt =3D <2700000>; > + regulator-initial-mode =3D ; > + }; > +}; > + > +&rpmh_vregs_f_e0 { > + vreg_s7f_e0_1p32: smps7 { > + regulator-name =3D "vreg_s7f_e0_1p32"; > + regulator-min-microvolt =3D <1320000>; > + regulator-max-microvolt =3D <1352000>; > + regulator-initial-mode =3D ; > + }; > + > + vreg_s8f_e0_0p95: smps8 { > + regulator-name =3D "vreg_s8f_e0_0p95"; > + regulator-min-microvolt =3D <952000>; > + regulator-max-microvolt =3D <1200000>; > + regulator-initial-mode =3D ; > + }; [Severity: Low] This isn't a bug, but the board-level RPMh regulators under rpmh_vregs_b_e0, rpmh_vregs_f_e0, and rpmh_vregs_f_e1 still use the old vreg__e_ naming format instead of the schematic format (vreg_l2b0, vreg_l8b0, vreg_s7f0, etc.) unified in commit fbd35c7b770a ("arm64: dts: qcom: Unify Glymur/Mahua regulator handles"). > + vreg_l4f_e0_0p3: ldo4 { > + regulator-name =3D "vreg_l4f_e0_0p3"; > + regulator-min-microvolt =3D <1080000>; > + regulator-max-microvolt =3D <1200000>; > + regulator-initial-mode =3D ; > + }; > +}; > + > +&rpmh_vregs_f_e1 { > + vreg_s7f_e1_0p3: smps7 { > + regulator-name =3D "vreg_s7f_e1_0p3"; > + regulator-min-microvolt =3D <300000>; > + regulator-max-microvolt =3D <1200000>; > + regulator-initial-mode =3D ; > + }; > +}; > + > +&vreg_l7b0 { > + regulator-min-microvolt =3D <2790000>; > + regulator-max-microvolt =3D <2792000>; > +}; > + > +&vreg_l1c1 { > + regulator-min-microvolt =3D <832000>; > + regulator-max-microvolt =3D <832000>; > +}; > + > +&vreg_l2c1 { > + regulator-min-microvolt =3D <1144000>; > + regulator-max-microvolt =3D <1144000>; > +}; > + > +&vreg_l3c1 { > + regulator-min-microvolt =3D <890000>; > + regulator-max-microvolt =3D <980000>; > +}; > + > +&vreg_l4c1 { > + regulator-min-microvolt =3D <720000>; > + regulator-max-microvolt =3D <720000>; > +}; > + > +&vreg_l2f0 { > + regulator-min-microvolt =3D <832000>; > + regulator-max-microvolt =3D <832000>; > +}; > + > +&vreg_l3f0 { > + regulator-min-microvolt =3D <720000>; > + regulator-max-microvolt =3D <720000>; > +}; > + > +&vreg_s9f0 { > + regulator-min-microvolt =3D <1900000>; > + regulator-max-microvolt =3D <2000000>; > +}; > + > +&vreg_l1h0 { > + regulator-min-microvolt =3D <832000>; > + regulator-max-microvolt =3D <832000>; > +}; > + > +&vreg_l2h0 { > + regulator-min-microvolt =3D <832000>; > + regulator-max-microvolt =3D <832000>; > +}; > + > +&vreg_l3h0 { > + regulator-min-microvolt =3D <320000>; > + regulator-max-microvolt =3D <2000000>; > +}; > + > +&vreg_l4h0 { > + regulator-min-microvolt =3D <1080000>; > + regulator-max-microvolt =3D <1320000>; > +}; [Severity: Medium] Should ldo4 under rpmh_vregs_f_e0 and these 12 CoB rail overrides be dropped? L4F0 is VDD_LPI_MX, which is controlled by RPMh as an ARC/RPMHPD power domain and was removed across Glymur/Mahua DTs in commit b7ff5f19bb27 ("arm64: dts: qcom: glymur: Drop L4F0"); exposing it here as an unused VRM regulator allows regulator late cleanup to disable or misconfigure it. In addition, the 12 overrides from vreg_l7b0 through vreg_l4h0 revert the consolidated on-SoC peripheral rail voltages in glymur-cob.dtsi back to the stale glymur-crd.dtsi values that commit 6fdce1f4a17b ("arm64: dts: qcom: Consolidate Glymur CoB power grid") replaced, causing qcom-rpmh-regulator to program lower voltages on these on-SoC USB/PCIe PHY, eUSB2 repeater, PLL, TCSR, and DDR/QFPROM rails at probe time. [ ... ] > +&pmk8850_rtc { > + qcom,no-alarm; > +}; [Severity: Medium] Is qcom,uefi-rtc-info missing on pmk8850_rtc? Commit d3daf22e99cd ("firmware: qcom: scm: Allow QSEECOM on Surface Laptop 8th Edition") enabled QSEECOM on this board to access the RTC offset stored in UEFI variables, and pmk8850.dtsi does not define an offset nvmem cell or qcom,uefi-rtc-info. Without qcom,uefi-rtc-info here, pm8xxx_rtc_probe_offset() leaves rtc_dd->use_uefi unset, so RTC reads return the raw unadjusted PMIC counter and pm8xxx_rtc_set_time() fails with -ENODEV. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261129-mahua-surf= ace-laptop-v4-1-b6ceb31303fd@oss.qualcomm.com?part=3D1