Snap for 12224018 from ac8d8990e8 to 24Q4-release

Change-Id: If66d621e8dc138b86f41c02dbbe9acab1a59deb9
This commit is contained in:
Android Build Coastguard Worker 2024-08-13 23:03:43 +00:00
commit 367afeb6fb

View file

@ -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() { void dumpBatteryEeprom() {
const char *title = "Battery EEPROM"; const char *title = "Battery EEPROM";
const char *files[] { const char *files[] {
@ -1106,6 +1115,7 @@ int main() {
dumpBatteryDefend(); dumpBatteryDefend();
dumpChg(); dumpChg();
dumpChgUserDebug(); dumpChgUserDebug();
dumpScratchpad();
dumpBatteryEeprom(); dumpBatteryEeprom();
dumpChargerStats(); dumpChargerStats();
dumpWlcLogs(); dumpWlcLogs();