Re: [PATCH v2 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100)

From: Konrad Dybcio

Date: Wed Dec 02 2026 - 06:31:45 EST


On 11/20/26 9:10 PM, Ingo A. Kubbilun wrote:
> Add the device tree for the ASUS Vivobook S 16 S3607QA, a 16" laptop
> based on the Snapdragon X X1-26-100 (X1P42100, Purwa): BOE eDP panel
> with PMIC PWM backlight, Adreno X1-45, WCN6855 NFA765 Wi-Fi/BT,
> 2x WSA8845 speakers and a WCD9385 headset codec, NVMe, USB-A, USB-C
> and HDMI.

[...]

> + /* ACPI ADSP.ADCM.AUCD: TLMM 191 */

Let's remove all the ACPI reference comments


> + /*
> + * TODO: These two regulators are actually part of the removable M.2
> + * card and not the CRD mainboard. Need to describe this differently.
> + * Functionally it works correctly, because all we need to do is to
> + * turn on the actual 3.3V supply above.
> + */

There's a binding for that nowadays, see e.g. the Glymur DTs

[...]

> + /*
> + * Topology: qcom/x1e80100/X1P42100-ASUS-Vivobook-S16-tplg.bin
> + * (link it to ASUSTeK/zenbook-a14/X1E80100-ASUS-Zenbook-A14-tplg.bin)

Please file a PR to the topology repo for that to be done
automatically and remove this comment

[...]

> + /* EC @ 0x76 (ACPI UMPC), EC aux @ 0x5b (ACPI SL5B) */

This potentially sounds like drivers/platform/arm64/asus-glymur-ec.c?

[...]

> +&mdss_dp3 {
> + /delete-property/ #sound-dai-cells;
> +
> + pinctrl-0 = <&edp0_hpd_default>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +
> + aux-bus {
> + /*
> + * 16" 2560x1600 IPS LCD. ACPI only carries a generic panel
> + * profile (timings from EDID), so use the generic eDP panel.
> + */

This is fine, edp-panel will pick up all the data necessary through EDID


> +&tlmm {
> + gpio-reserved-ranges = <34 2>, /* Unused */
> + <44 4>, /* SPI (TPM) */
> + <65 1>, /* EC reset */
> + <238 1>; /* UFS Reset */
> +
> + edp_reg_en: edp-reg-en-state {
> + pins = "gpio70";
> + function = "gpio";
> + drive-strength = <16>;
> + bias-disable;
> + };
> +
> + us_euro_hs_sel: us-euro-hs-sel-state {
> + pins = "gpio68";

Let's keep these sorted by the pin index

> + function = "gpio";
> + bias-pull-down;
> + drive-strength = <2>;
> + };
> +
> + wcd_default: wcd-reset-n-active-state {
> + pins = "gpio191";
> + function = "gpio";
> + drive-strength = <16>;
> + bias-disable;
> + output-low;

Drop output-foo on TLMM pins, the driver will set the correct state

[...]

> +/*
> + * CPU thermal throttling. hamoa.dtsi only has 115 C critical trips for the
> + * CPU zones, so under sustained load (e.g. make -j8) the SoC ran into the
> + * hardware/EC protection and powered off abruptly. Add a passive trip at
> + * 90 C that lets the thermal core reduce the cluster frequency (scmi-cpufreq
> + * cooling devices), like the GPU zones already do at 95 C.
> + */
> +&{/thermal-zones/cpu0-0-top-thermal} {

This is the worst way to reference nodes. Add a label and refer to
it directly.

Konrad