dump_power: add max77779sp dump path
Bug: 347452474 Test: adb bugreport verify ok Flag: EXEMPT bugfix Change-Id: I69483cd7afd121c4d127d234685ff928bbf37b4c Signed-off-by: Spade Lee <spadelee@google.com>
This commit is contained in:
parent
282bb85db7
commit
ced94e1197
1 changed files with 10 additions and 0 deletions
|
@ -543,6 +543,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[] {
|
||||
|
@ -1102,6 +1111,7 @@ int main() {
|
|||
dumpBatteryDefend();
|
||||
dumpChg();
|
||||
dumpChgUserDebug();
|
||||
dumpScratchpad();
|
||||
dumpBatteryEeprom();
|
||||
dumpChargerStats();
|
||||
dumpWlcLogs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue