1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/embedded-controller/qcom,hamoa-crd-ec.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm Hamoa Embedded Controller 8 9maintainers: 10 - Sibi Sankar <sibi.sankar@oss.qualcomm.com> 11 - Anvesh Jain P <anvesh.p@oss.qualcomm.com> 12 13description: 14 Qualcomm Snapdragon based Hamoa/Purwa and Glymur reference devices have an 15 EC running on different MCU chips. The EC handles things like fan control, 16 temperature sensors, access to EC internal state changes. 17 18properties: 19 compatible: 20 oneOf: 21 - items: 22 - enum: 23 - lenovo,yoga-slim7x-ec 24 - qcom,glymur-crd-ec 25 - qcom,glymur-qcb-ec 26 - qcom,hamoa-iot-evk-ec 27 - qcom,purwa-iot-evk-ec 28 - const: qcom,hamoa-crd-ec 29 - enum: 30 - qcom,hamoa-crd-ec 31 32 reg: 33 const: 0x76 34 35 interrupts: 36 maxItems: 1 37 38required: 39 - compatible 40 - reg 41 - interrupts 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/interrupt-controller/irq.h> 48 i2c { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 embedded-controller@76 { 53 compatible = "qcom,hamoa-crd-ec"; 54 reg = <0x76>; 55 56 interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_HIGH>; 57 }; 58 }; 59... 60