Snap for 12224018 from ac8d8990e8
to 24Q4-release
Change-Id: If66d621e8dc138b86f41c02dbbe9acab1a59deb9
This commit is contained in:
commit
367afeb6fb
1 changed files with 10 additions and 0 deletions
|
@ -547,6 +547,15 @@ void dumpChgUserDebug() {
|
|||
}
|
||||
}
|
||||
|
||||
void dumpScratchpad() {
|
||||
const char *title = "max77779sp registers dump";
|
||||
const char *file = "/sys/devices/platform/108d0000.hsi2c/i2c-6/6-0060/registers_dump";
|
||||
|
||||
if (isValidFile(file)) {
|
||||
dumpFileContent(title, file);
|
||||
}
|
||||
}
|
||||
|
||||
void dumpBatteryEeprom() {
|
||||
const char *title = "Battery EEPROM";
|
||||
const char *files[] {
|
||||
|
@ -1106,6 +1115,7 @@ int main() {
|
|||
dumpBatteryDefend();
|
||||
dumpChg();
|
||||
dumpChgUserDebug();
|
||||
dumpScratchpad();
|
||||
dumpBatteryEeprom();
|
||||
dumpChargerStats();
|
||||
dumpWlcLogs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue