Re: [PATCH 3/3] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Describe the Embedded Controller

From: Abel Vesa

Date: Mon Nov 09 2026 - 06:08:22 EST


On 26-11-09 11:19:46, Konrad Dybcio wrote:
> 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 #

Yep, will fix in v2.

>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Thanks,
Abel