mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: "Ingo A. Kubbilun" <ingo.kubbilun@gmail.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100)
Date: Wed, 2 Dec 2026 12:31:35 +0100	[thread overview]
Message-ID: <d7d22aae-8bf7-4f52-9485-935a23f83c7a@oss.qualcomm.com> (raw)
In-Reply-To: <20261120201127.90969-3-ingo.kubbilun@gmail.com>

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

      reply	other threads:[~2026-12-02 11:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 20:10 [PATCH v2 0/2] arm64: dts: qcom: Add ASUS Vivobook S16 S3607QA Ingo A. Kubbilun
2026-11-20 20:10 ` [PATCH v2 1/2] dt-bindings: arm: qcom: add " Ingo A. Kubbilun
2026-12-01 23:14   ` Rob Herring (Arm)
2026-11-20 20:10 ` [PATCH v2 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100) Ingo A. Kubbilun
2026-12-02 11:31   ` Konrad Dybcio [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=d7d22aae-8bf7-4f52-9485-935a23f83c7a@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ingo.kubbilun@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®