All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Luca Weiss" <luca.weiss@fairphone.com>
Cc: conor+dt@kernel.org, robh@kernel.org,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: Add Samsung Galaxy Book2 Go
Date: Mon, 12 Oct 2026 18:20:59 +0000	[thread overview]
Message-ID: <sashiko-outbox-168532@kernel.org> (raw)
In-Reply-To: <20261012-book2go-v1-3-7188e7ea7a15@fairphone.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] dt: qcom: swapped regulators for usb_1_qmpphy (vdda-phy vs vdda-pll)
- [Medium] dt: qcom: mismatched GPIO for touchpad interrupt and pinctrl
--

commit 6783a272db1b782f7b019b76b1616193bd1640d7
Author: Jasper Korten <jja2000@gmail.com>

arm64: dts: qcom: Add Samsung Galaxy Book2 Go

Adds initial device tree support for the Samsung Galaxy Book2 Go laptop
based on the Snapdragon 7c+ Gen 3 (SC7280) SoC. This includes support for
the display, input devices, storage, networking, and standard peripherals.

> diff --git a/arch/arm64/boot/dts/qcom/sc7280-samsung-galaxy-book2-go.dts b/arch/arm64/boot/dts/qcom/sc7280-samsung-galaxy-book2-go.dts
> new file mode 100644
> index 0000000000000..fe1a1b01f67e8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sc7280-samsung-galaxy-book2-go.dts

[ ... ]

> +&i2c0 {
> +	clock-frequency = <400000>;
> +
> +	status = "okay";
> +
> +	/* SSTP0001 */
> +	touchpad@40 {
> +		compatible = "hid-over-i2c";
> +		reg = <0x40>;
> +		hid-descr-addr = <0x0e>;
> +
> +		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
> +
> +		vdd-supply = <&vreg_l7c_3p0>;
> +		vddl-supply = <&vreg_l18b_1p8>;
> +
> +		post-power-on-delay-ms = <2>;
> +
> +		pinctrl-0 = <&hid_touchpad_default>;
> +		pinctrl-names = "default";
> +
> +		wakeup-source;
> +	};
> +};

[ ... ]

> +&tlmm {

[ ... ]

> +	hall_int_default: hall-int-state {
> +		pins = "gpio35";
> +		function = "gpio";
> +		bias-disable;
> +	};
> +
> +	hid_touchpad_default: hid-touchpad-default-state {
> +		pins = "gpio61";
> +		function = "gpio";
> +		drive-strength = <2>;
> +		bias-pull-up;
> +	};

[Severity: Medium]
Will this misconfigure the touchpad interrupt pin?

The touchpad@40 node defines its interrupt on GPIO 51 but specifies its
pinctrl state as hid_touchpad_default, which configures GPIO 61 instead.

Because the actual interrupt line is GPIO 51, it will not receive the
required pull-up, and an unrelated GPIO will be configured. Can this lead to
a non-functional touchpad or spurious interrupts during hardware
initialization?

[ ... ]

> +&usb_1_qmpphy {
> +	vdda-phy-supply = <&vreg_l6b_1p2>;
> +	vdda-pll-supply = <&vreg_l1b_0p8>;
> +
> +	status = "okay";
> +};

[Severity: High]
Are the regulators swapped for the USB QMP PHY?

The usb_1_qmpphy node binds vdda-phy-supply to vreg_l6b_1p2 (1.2V) and
vdda-pll-supply to vreg_l1b_0p8 (0.8V).

Typically, the QMP PHY core domain expects around 0.88V, and the PLL
domain expects 1.2V.

Will this overvolt the core domain to 1.2V and undervolt the PLL domain to
0.8V, breaking USB SuperSpeed functionality and potentially posing a risk
of hardware damage when the regulators are enabled on boot?

> +
> +&venus {
> +	firmware-name = "qcom/sc7280/Samsung/galaxy-book2-go/qcvss7280.mbn";
> +
> +	status = "okay";
> +};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261012-book2go-v1-0-7188e7ea7a15@fairphone.com?part=3

  reply	other threads:[~2026-10-12 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 18:11 [PATCH 0/3] Support for the Samsung Galaxy Book2 Go (SC7280) Luca Weiss
2026-10-12 18:11 ` [PATCH 1/3] drm/panel-edp: Add AUO B140HAN04.0 panel entry Luca Weiss
2026-10-12 18:11 ` [PATCH 2/3] dt-bindings: arm: qcom: Add Samsung Galaxy Book2 Go Luca Weiss
2026-10-13  9:36   ` Krzysztof Kozlowski
2026-10-12 18:11 ` [PATCH 3/3] arm64: dts: " Luca Weiss
2026-10-12 18:20   ` sashiko-bot [this message]
2026-10-13 10:10   ` Konrad Dybcio
2026-10-13 10:17     ` Luca Weiss

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-168532@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=luca.weiss@fairphone.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.