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=1796381268; b=sUZa7cLRHnts3aAFvjWPqC3ldXQbQZpkoA4QahWuCZf8AuYEtaoZvpyE7/gBfu1430Ok w6taFjV3T6UqW63eaJpQtFBgOHQfGykM36Hq0eDgudT1FxkESm2eSfho/hmAKo2kP7pO4 WixGvd8kDvCfESC/tD2pzEx4uve1nJoeOsII9beG0RQiMRb2cqSDfLAYfledHx1iaw27h Uu4r/UuiL0HDTE2dnUUn5nmbrMs3eRLZ+mvrvlzxobO90YjcYPB4GehViHU17xVeRx0aS x0gvHXhIljRgS+gfdYYv4Zfv5lS/iIP+fBFLnT1k/x9Kg4bM3++NyWUlzvt2TLPpYEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381268; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=2B6l1mHiElOYdp8ENNoulg5tlL7brY9JLF6hHyxpSRE=; b=FUQm/YNhObW8IXi3IwERcW1xI/a3RXnHAWWxn1VsV1LJ05eMLs0smzWeL24i13QeL1NC +NriZGhimZGO/1A1i4MXuH+vXnQLvvAnPfAOIednPv+cgdl5UEADMy2MQ+SmD83KdXwbs 3IgzyaW34iFvdrZkq9Z5glpQYW14Tdwi0YW7jMEBJu85WoN8oIMt8KUp+/ibeXWtrBxLa R2u6zY02fwMT049qLTSQY/Sa/jVvXI2rfSxYWJaaII2QV/JubyUulj6rxc5rEHMsVRYS4 2nvkX9FtExHsq2amGKyfxOl6w5lRwn7n2oJ9v0Wplq23QQ15zbRaN/UdagesJP4qgEA== 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=QxZET6Fs; 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 578EF606A32C for ; Fri, 4 Dec 2026 10:47:48 +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=QxZET6Fs Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAF731F000C2; Fri, 4 Dec 2026 10:47:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796381268; bh=2B6l1mHiElOYdp8ENNoulg5tlL7brY9JLF6hHyxpSRE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=QxZET6Fs/LAnL1S8FgzdDnJP66ydu1TyQkVYoJ7tg1J9XC33lOLSruS1Slx+BxVbi WZ9VLRvRYSnpxOFk2K0s3ASZNjyWOoxSrIGJHrqBcBLOgimRRsVdBLY3oiiNM2SRIi WW9lRtD2EYjIDRdiA6S7lZtzzDNH0e5ydHNAHb8d27K/izM8FOjjOFHSsqeNtjYM3X 0nUNH2+uPYaL0GQEhNTZrnmuvSKyDuQO65VJJxhgfWqDkUR+pjg0C254/We6xfeIAa gcWH6O1M2wXRxM8a0yYC6facm1HlC7RN5PezK0t4WIUbbJrttMdeJOccPA8tbVGCFg l+LRKZYD5vVjQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/2] arm64: dts: qcom: Add Xiaomi 13 Ultra Reply-To: sashiko-reviews@lists.linux.dev To: "Zhongyuan Zhang" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204-upstream-ishtar-dts-v1-2-b11242304cd1@gmail.com> References: <20261204-upstream-ishtar-dts-v1-0-b11242304cd1@gmail.com> <20261204-upstream-ishtar-dts-v1-2-b11242304cd1@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 10:47:47 +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 8 potential issues to consider: - [Medium] arm64: dts: qcom: aop-image-region overlaps xbl-dt-log-merged-region - [Medium] arm64: dts: qcom: populated PM8550VS SPMI PMIC nodes left disabled - [Medium] arm64: dts: qcom: 3.2V PM8010 ldo6 supplied by 1.8V-2.0V vreg_s6g_1p8 - [Medium] arm64: dts: qcom: sm8550-xiaomi-ishtar: missing orientation-gpios - [Medium] arm64: dts: qcom: sm8550-xiaomi-ishtar: missing vcc-supply on fsa4480 - [Low] arm64: dts: qcom: splash-region comment contradicts node name - [Low] arm64: dts: qcom: sleep_clk set to 32000 Hz instead of 32764 Hz - [Low] arm64: dts: qcom: deprecated vph-pwr-regulator node name -- commit 1bf1f489e6894cc3762bbb72662ed0ada1d41839 Author: Zhongyuan Zhang arm64: dts: qcom: Add Xiaomi 13 Ultra This commit adds a devicetree for the Xiaomi 13 Ultra (codename ishtar) based on the SM8550 SoC, describing UFS, USB-C via pmic_glink, keys, GPU, ADSP, WCN7850 Wi-Fi/Bluetooth, and the bootloader framebuffer. > diff --git a/arch/arm64/boot/dts/qcom/sm8550-xiaomi-ishtar.dts b/arch/arm= 64/boot/dts/qcom/sm8550-xiaomi-ishtar.dts > new file mode 100644 > index 0000000000000..29260a2145d71 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sm8550-xiaomi-ishtar.dts > @@ -0,0 +1,816 @@ [ ... ] > +#include "pm8550vs.dtsi" [Severity: Medium] Should pm8550vs_c, pm8550vs_d, pm8550vs_e, and pm8550vs_g be enabled with status =3D "okay"? apps_rsc configures RPMh regulators for all four PM8550VS PMICs (c, d, e, and g), so all four are populated on the board, and pm8550vs.dtsi defines active thermal zones referencing their temp-alarm nodes. Because all four SPMI PMIC nodes default to disabled in pm8550vs.dtsi, of_spmi_register_devices() skips them and their temp-alarm sensors and GPIO controllers never probe, leaving the four pm8550vs-*-thermal zones unbound. [ ... ] > + pmic-glink { > + compatible =3D "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + connector@0 { > + compatible =3D "usb-c-connector"; > + reg =3D <0>; > + power-role =3D "dual"; > + data-role =3D "dual"; [Severity: Medium] Is orientation-gpios missing from pmic-glink? connector@0 wires usb_dp_qmpphy_out and fsa4480_sbu_mux as orientation switches, and on SM8550 (UCSI v1.x) ucsi_glink relies on orientation-gpios to report non-altmode plug orientation, as established in commit c6165ed2f425 ("usb: ucsi: glink: use the connector orientation GPIO to provide switch events"). Without it, pmic_glink_ucsi_connector_status() returns early, leaving usb_dp_qmpphy stuck in TYPEC_ORIENTATION_NORMAL with SW_PORTSELECT_MUX set so USB 3.x SuperSpeed fails in reversed plug orientation. Other SM8550 boards specify orientation-gpios =3D <&tlmm 11 GPIO_ACTIVE_HIGH>. [ ... ] > + reserved-memory { > + xbl_ramdump_mem: xbl-ramdump-region@81200000 { > + reg =3D <0x0 0x81200000 0x0 0x280000>; > + no-map; > + }; > + > + aop_image_mem: aop-image-region@81c00000 { > + reg =3D <0x0 0x81c00000 0x0 0x60000>; > + no-map; > + }; [Severity: Medium] Does aop-image-region@81c00000 overlap xbl-dt-log-merged-region@81a00000 inherited from sm8550.dtsi? sm8550.dtsi defines xbl_dt_log_merged_mem covering 0x81a00000..0x81c60000 (merging xbl_dt_log, xbl_ramdump, and aop_image), which completely encloses aop_image_mem (0x81c00000..0x81c60000) and causes __rmem_check_for_overlap() to log an overlap error on every boot. Either drop aop_image_mem if the base region is accurate, or delete/shrink xbl_dt_log_merged_mem to match the moved xbl_ramdump_mem carveout. [ ... ] > + /* > + * The bootloader will only keep display hardware enabled > + * if this memory region is named exactly 'splash_region' > + */ > + splash-region@b8000000 { > + reg =3D <0x0 0xb8000000 0x0 0x2b00000>; > + no-map; > + }; [Severity: Low] The comment states the bootloader requires the node to be named exactly splash_region, which contradicts the splash-region@b8000000 node name right below it. Should this stale comment be removed or updated? [ ... ] > + vph_pwr: vph-pwr-regulator { > + compatible =3D "regulator-fixed"; [Severity: Low] Documentation/devicetree/bindings/regulator/fixed-regulator.yaml deprecates fixed-regulator node names that do not start with regulator. Should this be named regulator-vph-pwr instead? [ ... ] > + regulators-6 { > + compatible =3D "qcom,pm8010-rpmh-regulators"; > + qcom,pmic-id =3D "m"; > + > + vdd-l1-l2-supply =3D <&vreg_s4g_1p3>; > + vdd-l3-l4-supply =3D <&vreg_bob2>; > + vdd-l5-supply =3D <&vreg_s6g_1p8>; > + vdd-l6-supply =3D <&vreg_s6g_1p8>; > + vdd-l7-supply =3D <&vreg_bob1>; [ ... ] > + vreg_l6m_3p2: ldo6 { > + regulator-name =3D "vreg_l6m_3p2"; > + regulator-min-microvolt =3D <3200000>; > + regulator-max-microvolt =3D <3200000>; > + regulator-initial-mode =3D ; > + }; [Severity: Medium] Can vreg_s6g_1p8 (1.8V-2.0V) supply the 3.2V linear LDO vreg_l6m_3p2? PM8010 ldo6 is a linear P-LDO (pmic5_pldo502ln) and requires an upstream supply above 3.2V, such as vreg_bob1 or vreg_bob2. With vdd-l6-supply pointing to vreg_s6g_1p8, enabling vreg_l6m_3p2 votes on the wrong parent rail and lets the actual upstream supply power off while ldo6 is active. [ ... ] > +&i2c_hub_2 { > + clock-frequency =3D <400000>; > + > + status =3D "okay"; > + > + typec-mux@42 { > + compatible =3D "fcs,fsa4480"; > + reg =3D <0x42>; > + > + mode-switch; > + orientation-switch; [Severity: Medium] Should typec-mux@42 specify vcc-supply? Without vcc-supply, fsa4480_probe() places no enable vote on the switch's power rail. If VCC is wired to a switchable regulator like vreg_bob1 (as on other SM8550 boards), disconnecting or suspending USB lets eusb2_repeater_exit() disable vreg_l5b_3p1, which is the only active consumer of vreg_bob1 in this DTS, allowing vreg_bob1 to power down and break the FSA4480 switch. Please verify the board's VCC rail (for example vreg_bob1 or vph_pwr) and add vcc-supply. [ ... ] > +&sleep_clk { > + clock-frequency =3D <32000>; > +}; [Severity: Low] Should sleep_clk be set to 32764 Hz instead of 32000 Hz? PMK8550 on SM8550 supplies a 32.7645 kHz sleep clock, and sibling SM8550 boards use <32764> per commit e59334a088c3 ("arm64: dts: qcom: sm8550: correct sleep clock frequency"). Using <32000> introduces a ~2.3% rate discrepancy for sleep_clk consumers. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-upstream-i= shtar-dts-v1-0-b11242304cd1@gmail.com?part=3D2