dumpstate: Add tmu register dump am: 1f04eb4aa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005133 Change-Id: I87e63c862b36094f973ef9c5fe9f60e3ab462cff
This commit is contained in:
commit
baa169f3a0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue