1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2021 Linaro Ltd.
5 $id: http://devicetree.org/schemas/thermal/qcom-lmh.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Qualcomm Limits Management Hardware(LMh)
11 - Thara Gopinath <thara.gopinath@linaro.org>
14 Limits Management Hardware(LMh) is a hardware infrastructure on some
15 Qualcomm SoCs that can enforce temperature and current limits as
16 programmed by software for certain IPs like CPU.
27 - description: core registers
35 interrupt-controller: true
39 phandle of the first cpu in the LMh cluster
40 $ref: /schemas/types.yaml#/definitions/phandle
42 qcom,lmh-temp-arm-millicelsius:
44 An integer expressing temperature threshold at which the LMh thermal
47 qcom,lmh-temp-low-millicelsius:
49 An integer expressing temperature threshold at which the state machine
50 will attempt to remove frequency throttling.
52 qcom,lmh-temp-high-millicelsius:
54 An integer expressing temperature threshold at which the state machine
55 will attempt to throttle the frequency.
62 - interrupt-controller
64 - qcom,lmh-temp-arm-millicelsius
65 - qcom,lmh-temp-low-millicelsius
66 - qcom,lmh-temp-high-millicelsius
68 additionalProperties: false
72 #include <dt-bindings/interrupt-controller/arm-gic.h>
75 compatible = "qcom,sdm845-lmh";
76 reg = <0x17d70800 0x400>;
77 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
79 qcom,lmh-temp-arm-millicelsius = <65000>;
80 qcom,lmh-temp-low-millicelsius = <94500>;
81 qcom,lmh-temp-high-millicelsius = <95000>;
83 #interrupt-cells = <1>;