diff options
author | Jenny Ho <hsiufangho@google.com> | 2022-04-27 13:32:33 +0800 |
---|---|---|
committer | Jenny Ho <hsiufangho@google.com> | 2022-05-03 10:39:20 +0000 |
commit | 93baf1e97e27f4bc28be1529d49371302f066cf7 (patch) | |
tree | c70ff5e0fdd1964f4e5458f8a058fccb1a74e51e /dumpstate | |
parent | f78d6a1af5988e054aab60938fe3de022c892d70 (diff) | |
download | gs101-93baf1e97e27f4bc28be1529d49371302f066cf7.tar.gz |
dumpstate: add max77759_chg/max77729_pmic register dump
Bug: 230360103
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I4042e58370d70b97dc1e84e72a8c927b68e08b17
Diffstat (limited to 'dumpstate')
-rw-r--r-- | dumpstate/DumpstateDevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 03f456fa..4b285b4e 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -399,6 +399,8 @@ void DumpstateDevice::dumpPowerSection(int fd) { if (!PropertiesHelper::IsUserBuild()) { DumpFileToFd(fd, "DC_registers dump", "/sys/class/power_supply/pca9468-mains/device/registers_dump"); + DumpFileToFd(fd, "max77759_chg registers dump", "/d/max77759_chg/registers"); + DumpFileToFd(fd, "max77729_pmic registers dump", "/d/max77729_pmic/registers"); DumpFileToFd(fd, "Charging table dump", "/d/google_battery/chg_raw_profile"); |