From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796125888; b=wwq07aSUYq+FBMJFr4LA7qfBBy4KWmqmod7c98rLJ8GWA7vcbWnHlFenZSVf/v2oxHGJ Wmnk2njhEJzOVpKF4P12xHOSzcnMrzt4nYq22YdVIfH53YKuo6D0scffPkQdYO1YrHcIa EtE+koBR9opEXIYHTzG8+j68AUTYO3PfhoT1h3fG2Q0QyYSRtlCC7Bzc+Ztvb5MfcA3iS 0MubKG/v9Q10d2X5EqrvnRh+e9jiMJ9jP9PJ3Xsa+W2YnDegJvZgV32RRwaBUsxv9b7GI sbo8clm/aSgMFY1kBYVMkbbO9UY0As82HZChZHFJmNL0ugtSnA6SbjZugZsBZ4qzDWQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796125888; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=u6rxfON/6TotD7PCFt79UhlaV9hYn2KWfKKSeZAf3yw=; b=cBartmhcBt9GIigIk+ozdBnLxXhRIxp6OoUEHTRQ0rOClrVW4w3e7WIFBPGCtRVBk1n2 jlk9dhEgcZJyeoW2DAXGU7b2ekOEC7YWTIOhnqdSV477vE5IACK9ioYqLEFmZxJVVcTbB iFe9QN1YKy5+chQAbSKEDBCw/K5Vf+zgl/WvMqHlRLbr+IzC1bAxeEHF0dBcyryEVz4VS TgUZ9iqkwKcCXMYWzTFFMcIGPEFOERpYlFjmMlHLgRbSEIiXam7bw++Xddl8nuuBMO2tc 7XXM4ymXxTlx3w5oCXdidnlgn59eUywApFVtvY/ERMJQYQfTARdk+DDDuxfhKAVVu4w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Vb5X/1Ib"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89BA2606A31A for ; Tue, 1 Dec 2026 11:51:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Vb5X/1Ib Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BB841F008A0; Tue, 1 Dec 2026 11:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796125888; bh=u6rxfON/6TotD7PCFt79UhlaV9hYn2KWfKKSeZAf3yw=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Vb5X/1Ib8iQlP3Ha/++7oFtlQGXUFKZ6OES20+LBjZADiK6quNJXALKWatdw6Q4UP n0zu8G3Mi5SVHliKwHfYqYy2KBKhPT7HTNzIzY87dh9NXbCLHQ3j1cKxAJW5KH3oEE 2A0SlDgUokCz0A6BzHAkC0ToLO53oHNRzaGeNmwSeuVQyoBGhKhjADPKy8yksvyat9 5VWnh6GG/y7XUJb8Zo/b2TJPN2bila9jl/bVkxHKWfIVBwn4YWdg1eXc9RVbBCwrdN 3Hn3+/UXNZEMEy/qCOcBy7WZflvAIndyDN+Ph81yaX1FFi8SnnlXmIQNQ3P8YVgddO gFbEjdcvfxMIQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: Add the Acer Aspire 14 AI and 16 AI Reply-To: sashiko-reviews@lists.linux.dev To: "Birk Skyum" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261201-qcom-acer-aspire-ai-v1-3-384ff2fe30fe@pm.me> References: <20261201-qcom-acer-aspire-ai-v1-0-384ff2fe30fe@pm.me> <20261201-qcom-acer-aspire-ai-v1-3-384ff2fe30fe@pm.me> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 11:51:27 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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/ar= ch/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 =3D "qcom,x1e80100-sndcard"; > + model =3D "X1P42100-ACER-Aspire-16-AI"; > + audio-routing =3D "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 =3D <&dmic01_default>, <&dmic23_default>; > + pinctrl-names =3D "default"; > + > + vdd-micb-supply =3D <&vreg_l1b_1p8>; > + qcom,dmic-sample-rate =3D <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 =3D <400000>; > + > + status =3D "okay"; > + > + /* FocalTech FTCS1012, fitted instead of the PixArt pad on some units */ > + touchpad@38 { > + compatible =3D "hid-over-i2c"; > + reg =3D <0x38>; > + > + hid-descr-addr =3D <0x1>; > + interrupts-extended =3D <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; > + > + pinctrl-0 =3D <&tpad_default>; > + pinctrl-names =3D "default"; > + > + wakeup-source; > + }; > + > + /* Keyboard behind the embedded controller, ACPI QTEC0001 */ > + keyboard@3a { > + compatible =3D "hid-over-i2c"; > + reg =3D <0x3a>; > + > + hid-descr-addr =3D <0x1>; > + interrupts-extended =3D <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; > + > + pinctrl-0 =3D <&kybd_default>; > + pinctrl-names =3D "default"; > + > + wakeup-source; > + }; > + > + /* PixArt PIXA3449 (A14-11M), PIXA384A (A16-11M) */ > + touchpad@68 { > + compatible =3D "hid-over-i2c"; > + reg =3D <0x68>; > + > + hid-descr-addr =3D <0x20>; > + interrupts-extended =3D <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; > + > + pinctrl-0 =3D <&tpad_default>; > + pinctrl-names =3D "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 =3D <&qup_i2c0_data_clk>, <&tpad_default>;), as done in 4367d763698c ("arm64: dts: qcom: sc8280xp-x13s: enable alternate touchpad"), avoids the conflict. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-qcom-acer-= aspire-ai-v1-0-384ff2fe30fe@pm.me?part=3D3