[PATCH v4 4/4] arm64: dts: qcom: glymur-zenbook-a14: Add Embedded Controller
From: Konrad Dybcio
Date: Thu Oct 15 2026 - 05:01:34 EST
From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
The Glymur-based Zenbook A14 features an Embedded Controller running
custom ASUS firmware (which is loosely based on the reference Qualcomm
Hamoa EC one with a lot of modifications). It provides keyboard
backlight control, additional temperature sensor readouts, fan speed
monitoring and a number of miscellaneous functions.
Describe it.
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
---
.../dts/qcom/glymur-asus-zenbook-a14-ux3407na.dts | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/glymur-asus-zenbook-a14-ux3407na.dts b/arch/arm64/boot/dts/qcom/glymur-asus-zenbook-a14-ux3407na.dts
index e96e65a0c5b4..6e7205c29f50 100644
--- a/arch/arm64/boot/dts/qcom/glymur-asus-zenbook-a14-ux3407na.dts
+++ b/arch/arm64/boot/dts/qcom/glymur-asus-zenbook-a14-ux3407na.dts
@@ -588,6 +588,26 @@ touchscreen@15 {
};
};
+&i2c9 {
+ clock-frequency = <400000>;
+
+ status = "okay";
+
+ embedded-controller@76 {
+ compatible = "asus,zenbook-a14-ux3407na-ec";
+ reg = <0x76>;
+
+ interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_FALLING>;
+
+ pinctrl-0 = <&ec_int_n_default>;
+ pinctrl-names = "default";
+
+ #thermal-sensor-cells = <1>;
+
+ wakeup-source;
+ };
+};
+
&i2c10 {
clock-frequency = <400000>;
@@ -889,6 +909,12 @@ int-pins {
};
};
+ ec_int_n_default: ec-int-n-state {
+ pins = "gpio66";
+ function = "gpio";
+ bias-disable;
+ };
+
kybd_default: kybd-default-state {
pins = "gpio67";
function = "gpio";
--
2.56.0