[PATCH V3 1/5] dt-bindings: embedded-controller: Add EC bindings for Qualcomm reference devices
From: Sibi Sankar
Date: Sun Mar 08 2026 - 19:37:15 EST
From: Maya Matuszczyk <maccraft123mc@xxxxxxxxx>
Add bindings for the EC firmware running on Hamoa/Purwa and Glymur
reference devices, which run on IT8987 and Nuvoton MCUs respectively.
Signed-off-by: Maya Matuszczyk <maccraft123mc@xxxxxxxxx>
Co-developed-by: Sibi Sankar <sibi.sankar@xxxxxxxxxxxxxxxx>
Signed-off-by: Sibi Sankar <sibi.sankar@xxxxxxxxxxxxxxxx>
---
.../embedded-controller/qcom,hamoa-ec.yaml | 52 +++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/embedded-controller/qcom,hamoa-ec.yaml
diff --git a/Documentation/devicetree/bindings/embedded-controller/qcom,hamoa-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/qcom,hamoa-ec.yaml
new file mode 100644
index 000000000000..ea093b71d269
--- /dev/null
+++ b/Documentation/devicetree/bindings/embedded-controller/qcom,hamoa-ec.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/embedded-controller/qcom,hamoa-ec.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Hamoa Embedded Controller.
+
+maintainers:
+ - Sibi Sankar <sibi.sankar@xxxxxxxxxxxxxxxx>
+
+description:
+ Qualcomm Snapdragon based Hamoa/Purwa and Glymur reference devices have an
+ EC running on IT8987 and Nuvoton MCU chips respectively. The EC handles things
+ like fan control, temperature sensors, access to EC internal state changes.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - qcom,glymur-nuvoton-ec
+ - qcom,hamoa-it8987-ec
+ - const: qcom,hamoa-ec
+
+ reg:
+ const: 0x76
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ embedded-controller@76 {
+ compatible = "qcom,hamoa-it8987-ec", "qcom,hamoa-ec";
+ reg = <0x76>;
+
+ interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ };
+...
--
2.34.1