All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ingo A. Kubbilun" <ingo.kubbilun@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100)
Date: Sat, 05 Dec 2026 23:03:38 +0000	[thread overview]
Message-ID: <sashiko-outbox-251978@kernel.org> (raw)
In-Reply-To: <20261205224621.950012-3-ingo.kubbilun@gmail.com>

Thank you for your contribution! Sashiko AI review found 6 potential
issues to consider:
- [High] arm64: dts: qcom: ath11k lacks NFA765 firmware entry for
  vivobook-s16-s3607qa
- [Medium] arm64: dts: qcom: asus,vivobook-s16-s3607qa missing from
  qcom.yaml
- [Medium] arm64: dts: qcom: unnecessary regulator-always-on on
  vreg_edp_3p3
- [Medium] arm64: dts: qcom: vivobook-s16: vreg_l15b_1p8 lacks
  regulator-always-on
- [Low] arm64: dts: qcom: duplicate MIC BIAS1 and VA MIC BIAS1 routes
  for VA DMIC0/1
- [Low] arm64: dts: qcom: board DTS adds passive cpufreq trips to SoC
  CPU zones
--

commit d11e4e472996573b8e1f11d1a958404007d2d43c
Author: Ingo A. Kubbilun <ingo.kubbilun@gmail.com>

arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100)

This commit adds the devicetree for the ASUS Vivobook S16 S3607QA laptop
based on the Snapdragon X1P42100 SoC, along with its EL2 overlay target
in the Qualcomm arm64 dts Makefile.

> diff --git a/arch/arm64/boot/dts/qcom/x1p42100-asus-vivobook-s16.dts b/arch/arm64/boot/dts/qcom/x1p42100-asus-vivobook-s16.dts
> new file mode 100644
> index 0000000000000..6d6ab3213b0a8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1p42100-asus-vivobook-s16.dts
> @@ -0,0 +1,2079 @@

[ ... ]

> +/ {
> +	model = "ASUS Vivobook S16 (S3607QA)";
> +	compatible = "asus,vivobook-s16-s3607qa", "qcom,x1p42100";

[Severity: Medium]
Is asus,vivobook-s16-s3607qa missing from the Qualcomm board bindings?

Documentation/devicetree/bindings/arm/qcom.yaml does not list
asus,vivobook-s16-s3607qa under the qcom,x1p42100 compatibles, so
make dtbs_check fails schema validation on both new DTBs.

[ ... ]

> +	vreg_edp_3p3: regulator-edp-3p3 {
> +		compatible = "regulator-fixed";
> +
> +		regulator-name = "VREG_EDP_3P3";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +
> +		pinctrl-0 = <&edp_reg_en>;
> +		pinctrl-names = "default";
> +
> +		regulator-always-on;
> +		regulator-boot-on;
> +	};

[Severity: Medium]
Should regulator-always-on be dropped from vreg_edp_3p3?

Both consumers (backlight and the eDP panel under mdss_dp3) already
reference vreg_edp_3p3 as power-supply.  Keeping regulator-always-on
prevents the regulator core from disabling the rail during display
blanking and system suspend, increasing standby power draw and blocking
panel power-cycling across suspend/resume.  Other X1 laptop boards use
only regulator-boot-on here.

[ ... ]

> +	sound {
> +		compatible = "qcom,x1e80100-sndcard";
> +		model = "X1P42100-ASUS-Vivobook-S16";
> +		audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT",
> +				"SpkrRight IN", "WSA WSA_SPK2 OUT",
> +				"IN1_HPHL", "HPHL_OUT",
> +				"IN2_HPHR", "HPHR_OUT",
> +				"AMIC2", "MIC BIAS2",
> +				"VA DMIC0", "MIC BIAS1",
> +				"VA DMIC1", "MIC BIAS1",
> +				"VA DMIC0", "VA MIC BIAS1",
> +				"VA DMIC1", "VA MIC BIAS1",
> +				"TX SWR_INPUT1", "ADC2_OUTPUT";

[Severity: Low]
Are the VA MIC BIAS1 routes redundant with MIC BIAS1 for VA DMIC0 and
VA DMIC1?

As noted in b49e37de8e70 ("arm64: dts: qcom: x1e80100-crd: Drop duplicate
DMIC supplies"), MIC BIAS1 (internal regulator) and VA MIC BIAS1 (pull-up
bypass) are mutually exclusive, and listing both causes
wcd938x_micbias_control() to briefly switch MIC_BIAS1 to pull-up mode on
capture shutdown before powering it down.

[ ... ]

> +		vreg_l15b_1p8: ldo15 {
> +			regulator-name = "vreg_l15b_1p8";
> +			regulator-min-microvolt = <1800000>;
> +			regulator-max-microvolt = <1800000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};

[Severity: Medium]
Does vreg_l15b_1p8 need regulator-always-on like vreg_l12b_1p2?

On X1 platforms, both l12b and l15b supply components not fully described
in devicetree and must stay enabled, as in abf89bc4bb09 ("arm64: dts:
qcom: x1e80100-crd: mark l12b and l15b always-on") and sibling boards
such as x1-asus-zenbook-a14.dtsi.  Without regulator-always-on, probe
deferral or unbind of wsa884x_probe() or wcd938x_populate_dt_data() drops
the consumer count to zero and lets rpmh_regulator_disable() turn off
LDO15.

[ ... ]

> +&cpu0_0_btm_thermal {
> +	polling-delay-passive = <250>;
> +
> +	trips {
> +		cpu0_0_btm_alert: cpu-alert {
> +			temperature = <90000>;
> +			hysteresis = <2000>;
> +			type = "passive";
> +		};
> +	};
> +
> +	cooling-maps {
> +		map0 {
> +			trip = <&cpu0_0_btm_alert>;
> +			cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> +						 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> +						 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> +						 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> +		};
> +	};
> +};

[Severity: Low]
Should these 20 SoC CPU TSENS overrides be replaced with board-level
PMK8550 VADC thermistor zones?

On Hamoa/Purwa, on-die CPU throttling is handled by hardware limits
management, while other X1 laptops (such as x1e80100-crd.dts in
4d80ac275534 ("arm64: dts: qcom: hamoa-crd: Add thermal control")) attach
software passive CPU cooling to PMK8550 VADC board thermistors instead of
overriding the SoC CPU TSENS zones.  Baking a temporary missing-EC-fan
workaround across 20 SoC thermal zones in a board DTS duplicates SoC
topology in the DT ABI and can conflict with hardware limits management
or future EC fan control.

[ ... ]

> +&pcie4_port0 {
> +	reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
> +	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
> +
> +	wifi@0 {
> +		compatible = "pci17cb,1103";
> +		reg = <0x10000 0x0 0x0 0x0 0x0>;

[Severity: High]
Will ath11k actually select the NFA765 firmware on this machine?

The commit message states that ath11k selects the NFA765 firmware based
on the machine compatible, and wifi@0 omits a firmware-name property.
However, ath11k_core_get_usecase_firmware() in
drivers/net/wireless/ath/ath11k/core.c only maps a small set of EVK/RB3
compatibles in ath11k_core_usecase_firmware_table[] and does not include
asus,vivobook-s16-s3607qa or qcom,x1p42100.

Without a matching table entry or a firmware-name property,
ath11k_core_create_firmware_path() falls back to the default WCN6855
firmware path instead of NFA765, breaking Wi-Fi on this laptop.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261205224621.950012-1-ingo.kubbilun@gmail.com?part=2

      reply	other threads:[~2026-12-05 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 22:45 [PATCH v3 0/2] arm64: dts: qcom: Add ASUS Vivobook S16 S3607QA Ingo A. Kubbilun
2026-12-05 22:45 ` [PATCH v3 1/2] arm64: dts: qcom: hamoa: add labels to the CPU thermal zones Ingo A. Kubbilun
2026-12-05 22:53   ` sashiko-bot
2026-12-05 22:45 ` [PATCH v3 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100) Ingo A. Kubbilun
2026-12-05 23:03   ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-251978@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ingo.kubbilun@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.