Re: [PATCH 3/3] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Describe the Embedded Controller
From: Konrad Dybcio
Date: Mon Nov 09 2026 - 05:22:45 EST
On 11/6/26 11:01 PM, Abel Vesa wrote:
> The ThinkPad T14s Gen 7 has its embedded controller at 0x28 on QUP
> i2c9 (ACPI \_SB.IC10). It uses a different command protocol than the
> Gen 6 one, so describe it with the Gen 7 compatible. Its interrupt is
> GPIO 66, as on the Gen 6, but the firmware describes it as edge
> triggered, active low. Using a level trigger makes the handler fire
> continuously while the EC holds the line low, with no event pending.
>
> This provides the EC hotkeys, LEDs and keyboard backlight.
>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
> ---
[...]
> &lpass_vamacro {
> pinctrl-0 = <&dmic01_default>;
> pinctrl-names = "default";
> @@ -987,6 +1005,12 @@ &tlmm {
> <44 4>, /* TPM */
> <139 1>; /* TZ trigger */
>
> + ec_int_n_default: ec-int-n-state {
> + pins = "gpio66";
> + function = "gpio";
> + bias-disable;
> + };
nit: please keep these sorted by pin #
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad