Skip to content

Commit a90a8ea

Browse files
sreij-intel
authored andcommitted
arm64: dts: qcom: x1e80100-t14s: add EC
Describe ThinkPad Embedded Controller in the T14s device tree, which adds LED and special key support. Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Thinkpad T14S OLED Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Sebastian Reichel <sre@kernel.org> Link: https://patch.msgid.link/20250918-thinkpad-t14s-ec-v5-3-ac0bc6382c5c@collabora.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 60b7ab6 commit a90a8ea

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,24 @@
887887
};
888888
};
889889

890+
&i2c6 {
891+
clock-frequency = <400000>;
892+
893+
status = "okay";
894+
895+
embedded-controller@28 {
896+
compatible = "lenovo,thinkpad-t14s-ec";
897+
reg = <0x28>;
898+
899+
interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;
900+
901+
pinctrl-0 = <&ec_int_n_default>;
902+
pinctrl-names = "default";
903+
904+
wakeup-source;
905+
};
906+
};
907+
890908
&i2c7 {
891909
clock-frequency = <400000>;
892910

@@ -1267,6 +1285,12 @@
12671285
<72 2>, /* Secure EC I2C connection (?) */
12681286
<238 1>; /* UFS Reset */
12691287

1288+
ec_int_n_default: ec-int-n-state {
1289+
pins = "gpio66";
1290+
function = "gpio";
1291+
bias-disable;
1292+
};
1293+
12701294
eusb3_reset_n: eusb3-reset-n-state {
12711295
pins = "gpio6";
12721296
function = "gpio";

0 commit comments

Comments
 (0)