dumpstate: Add tmu register dump am: 676247423b
am: f71383eb96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16569086 Change-Id: I8aa7ac9bb8f285f8f1f7bdb6a9873c3e278373b5
This commit is contained in:
commit
32f8b076b4
1 changed files with 6 additions and 0 deletions
|
@ -500,6 +500,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue