mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-28 13:35:33 +00:00
dumpstate: Add tmu register dump
Add tmu register dump in thermal dumpstate section Bug: 215040856 Test: check tmu register dump output in thermal dumpstate Change-Id: Ia71d801b28b64abefbc472be717eb4e266599964
This commit is contained in:
committed by
TreeHugger Robot
parent
4c25179eca
commit
1f04eb4aa6
@@ -501,6 +501,12 @@ void DumpstateDevice::dumpThermalSection(int fd) {
|
|||||||
"for f in /sys/class/thermal/cooling* ; do "
|
"for f in /sys/class/thermal/cooling* ; do "
|
||||||
"type=`cat $f/type` ; state2power_table=`cat $f/state2power_table` ; echo \"$type: $state2power_table\" ; "
|
"type=`cat $f/type` ; state2power_table=`cat $f/state2power_table` ; echo \"$type: $state2power_table\" ; "
|
||||||
"done"});
|
"done"});
|
||||||
|
DumpFileToFd(fd, "TMU state:", "/sys/module/gs_thermal/parameters/tmu_reg_dump_state");
|
||||||
|
DumpFileToFd(fd, "TMU current temperature:", "/sys/module/gs_thermal/parameters/tmu_reg_dump_current_temp");
|
||||||
|
DumpFileToFd(fd, "TMU_TOP rise thresholds:", "/sys/module/gs_thermal/parameters/tmu_top_reg_dump_rise_thres");
|
||||||
|
DumpFileToFd(fd, "TMU_TOP fall thresholds:", "/sys/module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres");
|
||||||
|
DumpFileToFd(fd, "TMU_SUB rise thresholds:", "/sys/module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres");
|
||||||
|
DumpFileToFd(fd, "TMU_SUB fall thresholds:", "/sys/module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump items related to touch
|
// Dump items related to touch
|
||||||
|
|||||||
Reference in New Issue
Block a user