diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-03-10 03:55:06 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2020-03-23 18:58:56 +0100 |
commit | a590c39aab4de0e373f2bed8c8e681b0690a0fdb (patch) | |
tree | e8526c0ac49ea89b6b0dba777fb8450a39aad691 | |
parent | 0ae01ad1e918020496eb18ba8ffd97e3fe8a0cb0 (diff) | |
download | openfirmware-a590c39aab4de0e373f2bed8c8e681b0690a0fdb.tar.gz |
mmp3/thermal: add /thermal-zones node
This describes the thermal zones as specified by the thermal/thermal.txt
binding.
-rw-r--r-- | cpu/arm/mmp3/thermal.fth | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cpu/arm/mmp3/thermal.fth b/cpu/arm/mmp3/thermal.fth index 3f964385..69ff5547 100644 --- a/cpu/arm/mmp3/thermal.fth +++ b/cpu/arm/mmp3/thermal.fth @@ -26,6 +26,36 @@ purpose: Driver for the MMP3 thermal sensor end-package +dev / +new-device + " thermal-zones" device-name + new-device + " cpu-thermal" device-name + d# 1000 " polling-delay" integer-property + 0 " polling-delay-passive" integer-property + " /thermal" encode-phandle " thermal-sensors" property + new-device + " trips" device-name + new-device + " cpu-crit" device-name + d# 100500 " temperature" integer-property + 0 " hysteresis" integer-property + " critical" " type" string-property + finish-device + new-device + " cpu-hot" device-name + d# 85000 " temperature" integer-property + 0 " hysteresis" integer-property + " hot" " type" string-property + finish-device + finish-device + new-device + " cooling-maps" device-name + finish-device + finish-device +finish-device +device-end + \ FIXME: characterise the observations using an IR thermometer, \ because the datasheet and the registers manual disagree on \ interpretation of these gray code values. |