From: Bjorn Andersson <andersson@kernel.org>
To: Hans de Goede <johannes.goede@oss.qualcomm.com>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Srinivas Kandagatla <srini@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Dmitry Baryshkov <lumag@kernel.org>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Abel Vesa <abel.vesa@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-acpi@vger.kernel.org
Subject: Re: [RFC 12/12] arm64: dts: qcom: x1e78100-thinkpad-t14s: Move keyb and touchpad to ACPI enumeration
Date: Sun, 28 Jun 2026 20:43:07 -0500 [thread overview]
Message-ID: <akHMf0MiXrYydnAg@baldur> (raw)
In-Reply-To: <20260623145225.143218-13-johannes.goede@oss.qualcomm.com>
On Tue, Jun 23, 2026 at 04:52:25PM +0200, Hans de Goede wrote:
> Add acpi-path properties for DT-ACPI hybrid mode and remove the keyboard
> and touchpad description switching to relying on ACPI to enumerate these.
>
> Also drop the clock-frequency this is also provided by ACPI now.
>
> FIXME: Needs DT-bindings patch as pre-req
>
> Note this depends on these 2 patch-series for working PDC support on Hamoa:
> https://lore.kernel.org/linux-arm-msm/20260410184124.1068210-1-mukesh.ojha@oss.qualcomm.com/
> https://lore.kernel.org/linux-arm-msm/20260616-hamoa_pdc_v3-v3-0-4d8e1504ea75@oss.qualcomm.com/
>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
> ---
> .../qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 59 +------------------
> 1 file changed, 3 insertions(+), 56 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> index 2fc01e8e8c04..a73576ec238d 100644
> --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> @@ -1017,57 +1017,8 @@ &gpu_zap_shader {
> };
>
> &i2c0 {
> - clock-frequency = <400000>;
> -
> - pinctrl-0 = <&qup_i2c0_data_clk>, <&tpad_default>;
> - pinctrl-names = "default";
> -
> + acpi-path = "\\_SB.I2C1";
The +/- are not equivalent, you're removing both pinctrl state and
device power management - relying on the default state (or other
client's votes).
In addition \\_SB.I2C1 is not a stable ABI.
Regards,
Bjorn
> status = "okay";
> -
> - /* ELAN06E2 or ELAN06E3 */
> - touchpad@15 {
> - compatible = "hid-over-i2c";
> - reg = <0x15>;
> -
> - hid-descr-addr = <0x1>;
> - interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
> -
> - vdd-supply = <&vreg_misc_3p3>;
> - vddl-supply = <&vreg_l12b_1p2>;
> -
> - wakeup-source;
> - };
> -
> - /* SYNA8022 or SYNA8024 */
> - touchpad@2c {
> - compatible = "hid-over-i2c";
> - reg = <0x2c>;
> -
> - hid-descr-addr = <0x20>;
> - interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
> -
> - vdd-supply = <&vreg_misc_3p3>;
> - vddl-supply = <&vreg_l12b_1p2>;
> -
> - wakeup-source;
> - };
> -
> - /* ELAN06F1 or SYNA06F2 */
> - keyboard@3a {
> - compatible = "hid-over-i2c";
> - reg = <0x3a>;
> -
> - hid-descr-addr = <0x1>;
> - interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
> -
> - vdd-supply = <&vreg_misc_3p3>;
> - vddl-supply = <&vreg_l15b_1p8>;
> -
> - pinctrl-0 = <&kybd_default>;
> - pinctrl-names = "default";
> -
> - wakeup-source;
> - };
> };
>
> &i2c3 {
> @@ -1598,6 +1549,8 @@ wcd_tx: codec@0,3 {
> };
>
> &tlmm {
> + acpi-path = "\\_SB.GIO0";
> +
> gpio-reserved-ranges = <34 2>, /* Unused */
> <44 4>, /* SPI (TPM) */
> <72 2>, /* Secure EC I2C connection (?) */
> @@ -1655,12 +1608,6 @@ hdmi_hpd_default: hdmi-hpd-default-state {
> bias-disable;
> };
>
> - tpad_default: tpad-default-state {
> - pins = "gpio3";
> - function = "gpio";
> - bias-pull-up;
> - };
> -
> nvme_reg_en: nvme-reg-en-state {
> pins = "gpio18";
> function = "gpio";
> --
> 2.54.0
>
next prev parent reply other threads:[~2026-06-29 1:43 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <pskkNka1-QtLVb1tcyyUSjNNeMAWUUOLyvn0XSpq55AyeqXnEjOWDCXF1pWVAufJEya52NTx6ZCXz5dMHcMlyQ==@protonmail.internalid>
2026-06-23 14:52 ` [RFC 00/12] RFC: Devicetree-ACPI hybrid mode Hans de Goede
2026-06-23 14:52 ` [RFC 01/12] ACPI: Introduce DT-ACPI " Hans de Goede
2026-06-23 14:52 ` [RFC 02/12] arm64: acpi: Cleanup acpi=[on|off|force] handling Hans de Goede
2026-06-23 14:52 ` [RFC 03/12] arm64: acpi: add acpi=hybrid support Hans de Goede
2026-06-23 14:52 ` [RFC 04/12] ACPI: Add helpers for dealing with ACPI fwnode as secondary fwnode Hans de Goede
2026-06-23 14:52 ` [RFC 05/12] ACPI: glue: Implement setting secondary-fwnode for DT-ACPI hybrid mode Hans de Goede
2026-06-23 14:52 ` [RFC 06/12] ACPI: scan: Retry acpi_device_notify() in " Hans de Goede
2026-06-23 14:52 ` [RFC 07/12] ACPI: Make device_match_acpi_handle() also check the secondary fwnode Hans de Goede
2026-06-23 14:52 ` [RFC 08/12] irqchip/gic-v3: Always call acpi_set_irq_model() Hans de Goede
2026-06-23 14:52 ` [RFC 09/12] pinctrl: qcom: Add support for WoA ACPI tables virtual TLMM pin numbers Hans de Goede
2026-06-29 1:59 ` Bjorn Andersson
2026-06-29 10:30 ` Hans de Goede
2026-06-23 14:52 ` [RFC 10/12] i2c: acpi: Also register ACPI i2c_clients for adapters with a secondary ACPI fwnode Hans de Goede
2026-06-23 14:52 ` [RFC 11/12] i2c: qcom-geni: Fall back to i2c_acpi_find_bus_speed() Hans de Goede
2026-06-23 14:52 ` [RFC 12/12] arm64: dts: qcom: x1e78100-thinkpad-t14s: Move keyb and touchpad to ACPI enumeration Hans de Goede
2026-06-29 1:43 ` Bjorn Andersson [this message]
2026-06-29 10:19 ` Hans de Goede
2026-06-25 10:18 ` [RFC 00/12] RFC: Devicetree-ACPI hybrid mode Konrad Dybcio
2026-06-26 14:33 ` Bryan O'Donoghue
2026-06-26 14:43 ` Bryan O'Donoghue
2026-06-29 1:34 ` Bjorn Andersson
2026-06-29 8:41 ` Bryan O'Donoghue
2026-06-26 15:52 ` Sudeep Holla
2026-06-26 20:57 ` Dmitry Baryshkov
2026-06-27 14:12 ` Sudeep Holla
2026-06-28 19:23 ` Dmitry Baryshkov
2026-06-29 8:22 ` Sudeep Holla
2026-06-29 2:27 ` Bjorn Andersson
2026-06-29 10:07 ` Hans de Goede
2026-06-29 11:48 ` Hanjun Guo
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=akHMf0MiXrYydnAg@baldur \
--to=andersson@kernel.org \
--cc=abel.vesa@oss.qualcomm.com \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=devicetree@vger.kernel.org \
--cc=johannes.goede@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=rafael@kernel.org \
--cc=srini@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