diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 7b98f75b..f5d5862c 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -491,6 +491,12 @@ void DumpstateDevice::dumpThermalSection(int fd) { "for f in /sys/class/thermal/cooling* ; do " "type=`cat $f/type` ; state2power_table=`cat $f/state2power_table` ; echo \"$type: $state2power_table\" ; " "done"}); + DumpFileToFd(fd, "TMU state:", "/sys/module/gs101_thermal/parameters/tmu_reg_dump_state"); + DumpFileToFd(fd, "TMU current temperature:", "/sys/module/gs101_thermal/parameters/tmu_reg_dump_current_temp"); + DumpFileToFd(fd, "TMU_TOP rise thresholds:", "/sys/module/gs101_thermal/parameters/tmu_top_reg_dump_rise_thres"); + DumpFileToFd(fd, "TMU_TOP fall thresholds:", "/sys/module/gs101_thermal/parameters/tmu_top_reg_dump_fall_thres"); + DumpFileToFd(fd, "TMU_SUB rise thresholds:", "/sys/module/gs101_thermal/parameters/tmu_sub_reg_dump_rise_thres"); + DumpFileToFd(fd, "TMU_SUB fall thresholds:", "/sys/module/gs101_thermal/parameters/tmu_sub_reg_dump_fall_thres"); } // Dump items related to touch diff --git a/powerhint.json b/powerhint.json index 4d047b1c..54f62b3c 100644 --- a/powerhint.json +++ b/powerhint.json @@ -98,6 +98,14 @@ ], "ResetOnInit": true }, + { + "Name": "DisplayWakeup", + "Path": "/sys/devices/platform/1c300000.drmdecon/early_wakeup", + "Values": [ + "1", + "0" + ] + }, { "Name": "CPUUtilThreshold", "Path": "/sys/kernel/vendor_sched/util_threshold", @@ -243,14 +251,6 @@ ], "ResetOnInit": true }, - { - "Name": "DisplayWakeup", - "Path": "/sys/devices/platform/1c300000.drmdecon/early_wakeup", - "Values": [ - "1", - "0" - ] - }, { "Name": "LimitFlashCurrent", "Path": "vendor.camera.max_flash_current",