From: sashiko-bot@kernel.org
To: "Birk Skyum" <birk.skyum@pm.me>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: Add the Acer Aspire 14 AI and 16 AI
Date: Tue, 01 Dec 2026 11:51:27 +0000 [thread overview]
Message-ID: <sashiko-outbox-243219@kernel.org> (raw)
In-Reply-To: <20261201-qcom-acer-aspire-ai-v1-3-384ff2fe30fe@pm.me>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: duplicate tpad_default pinctrl on enabled
i2c0 touchpads
- [Low] arm64: dts: qcom: unused dmic23_default and VA DMIC2/3 routing
on Aspire 16 AI
--
commit 1f6318354dfe06739254f4300f1938e7fa11528b
Author: Birk Skyum <birk.skyum@pm.me>
arm64: dts: qcom: Add the Acer Aspire 14 AI and 16 AI
This commit adds shared and board-specific device trees for the Acer
Aspire 14 AI (A14-11M) and Aspire 16 AI (A16-11M) laptops based on the
Qualcomm Snapdragon X (X1-26-100 / Purwa) platform.
> diff --git a/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-16-ai.dts b/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-16-ai.dts
> new file mode 100644
> index 0000000000000..42aeaffdb7e6b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-16-ai.dts
> @@ -0,0 +1,273 @@
[ ... ]
> + sound {
> + compatible = "qcom,x1e80100-sndcard";
> + model = "X1P42100-ACER-Aspire-16-AI";
> + 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 BIAS3",
> + "VA DMIC1", "MIC BIAS3",
> + "VA DMIC2", "MIC BIAS1",
> + "VA DMIC3", "MIC BIAS1",
> + "TX SWR_INPUT1", "ADC2_OUTPUT";
[ ... ]
> +&lpass_vamacro {
> + pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
> + pinctrl-names = "default";
> +
> + vdd-micb-supply = <&vreg_l1b_1p8>;
> + qcom,dmic-sample-rate = <2400000>;
> +};
[Severity: Low]
Should <&dmic23_default> and the VA DMIC2/VA DMIC3 audio-routing entries
be omitted here?
The commit message notes that this laptop has two lid microphones on VA
DMIC0/DMIC1. Including dmic23_default muxes and drives LPASS gpio8
(dmic2_clk) output-high and enables input on gpio9 (dmic2_data), while the
extra routing exposes unused DMIC2/DMIC3 DAPM routes tied to WCD9385 MIC
BIAS1.
> diff --git a/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-ai.dtsi b/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-ai.dtsi
> new file mode 100644
> index 0000000000000..5865e32cd62ac
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1p42100-acer-aspire-ai.dtsi
> @@ -0,0 +1,1621 @@
[ ... ]
> +&i2c0 {
> + clock-frequency = <400000>;
> +
> + status = "okay";
> +
> + /* FocalTech FTCS1012, fitted instead of the PixArt pad on some units */
> + touchpad@38 {
> + compatible = "hid-over-i2c";
> + reg = <0x38>;
> +
> + hid-descr-addr = <0x1>;
> + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
> +
> + pinctrl-0 = <&tpad_default>;
> + pinctrl-names = "default";
> +
> + wakeup-source;
> + };
> +
> + /* Keyboard behind the embedded controller, ACPI QTEC0001 */
> + keyboard@3a {
> + compatible = "hid-over-i2c";
> + reg = <0x3a>;
> +
> + hid-descr-addr = <0x1>;
> + interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
> +
> + pinctrl-0 = <&kybd_default>;
> + pinctrl-names = "default";
> +
> + wakeup-source;
> + };
> +
> + /* PixArt PIXA3449 (A14-11M), PIXA384A (A16-11M) */
> + touchpad@68 {
> + compatible = "hid-over-i2c";
> + reg = <0x68>;
> +
> + hid-descr-addr = <0x20>;
> + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
> +
> + pinctrl-0 = <&tpad_default>;
> + pinctrl-names = "default";
> +
> + wakeup-source;
> + };
> +};
[Severity: Medium]
Can assigning <&tpad_default> to both enabled touchpad nodes cause a
pinmux conflict on gpio3 during asynchronous probe?
Because i2c_hid_of_driver uses PROBE_PREFER_ASYNCHRONOUS, really_probe()
can bind pinctrl for touchpad@38 and touchpad@68 concurrently before
i2c_hid_of_probe() checks which device is populated. When both claim
gpio3, pin_request() increments desc->mux_usecount to 2 and
pinmux_enable_setting() overwrites desc->mux_setting with the second
device's setting. When the unpopulated touchpad then fails probe and
calls pinctrl_free() -> pinmux_disable_setting(), the pinctrl core either
logs "already used for some other setting" and leaks desc->mux_usecount
with a dangling desc->mux_owner, or decrements desc->mux_usecount to 1 in
pin_free() while leaving desc->mux_setting pointing to the freed setting.
Moving <&tpad_default> to the parent i2c0 node (pinctrl-0 =
<&qup_i2c0_data_clk>, <&tpad_default>;), as done in 4367d763698c ("arm64:
dts: qcom: sc8280xp-x13s: enable alternate touchpad"), avoids the
conflict.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201-qcom-acer-aspire-ai-v1-0-384ff2fe30fe@pm.me?part=3
prev parent reply other threads:[~2026-12-01 11:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 11:36 [PATCH 0/3] arm64: dts: qcom: Add the Acer Aspire 14 AI and 16 AI Birk Skyum
2026-12-01 11:36 ` Birk Skyum via B4 Relay
2026-12-01 11:36 ` [PATCH 1/3] dt-bindings: arm: " Birk Skyum
2026-12-01 11:36 ` Birk Skyum via B4 Relay
2026-12-01 11:36 ` [PATCH 2/3] firmware: qcom: scm: Allow QSEECOM on " Birk Skyum
2026-12-01 11:36 ` Birk Skyum via B4 Relay
2026-12-01 11:36 ` [PATCH 3/3] arm64: dts: qcom: Add " Birk Skyum
2026-12-01 11:36 ` Birk Skyum via B4 Relay
2026-12-01 11:51 ` 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-243219@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=birk.skyum@pm.me \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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.