dumpstate: add max77759_chg/max77729_pmic register dump
Bug: 230360103 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: I93257674bf96f4e6bb6d9009c5a90571e251198a
This commit is contained in:
parent
18b07ba7ee
commit
60ccbd668e
1 changed files with 2 additions and 0 deletions
|
@ -401,6 +401,8 @@ void Dumpstate::dumpPowerSection(int fd) {
|
|||
|
||||
if (!PropertiesHelper::IsUserBuild()) {
|
||||
DumpFileToFd(fd, "DC_registers dump", "/sys/class/power_supply/pca94xx-mains/device/registers_dump");
|
||||
DumpFileToFd(fd, "max77759_chg registers dump", "/d/max77759_chg/registers");
|
||||
DumpFileToFd(fd, "max77729_pmic registers dump", "/d/max77729_pmic/registers");
|
||||
|
||||
RunCommandToFd(fd, "fg_model", {"/vendor/bin/sh", "-c",
|
||||
"for f in /d/maxfg* ; do "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue