Commit graph

20 commits

Author SHA1 Message Date
Spade Lee
bc4963632b dump_power: zuma: correct dump path
- add pca9468 logbuffer
- move fg registers dump from debugfs to sysfs
- remove dual fg path
- remove max77779fg path
- remove maxfg history path
- remove unused ln8411 path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: I6aab8119e029ccc45f5da827a119249b07aed8dd
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-12 16:49:30 +00:00
Baltazar Ortiz
7a32e9dcdd dumpstate: Use generic dc_mains for all parallel chargers
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: I00e7a60bfcefb6d68879d0a301cd126134e8b3a1
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:12 +00:00
Sam Ou
5ba25e00d7 Merge changes from topic "kernel5_revision" into main
* changes:
  bcl: correct ocp threshold
  bcl: support thismeal binary
2024-08-23 10:58:35 +00:00
samou
07a17f736e bcl: support thismeal binary
Test: ./dump_power
Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I74f565133d39ece19b29a036d7b236a754b422d3
Signed-off-by: samou <samou@google.com>
2024-08-14 12:30:13 +00:00
Spade Lee
e06a2b30e2 dump_power: zuma: add FG dump registers path
Bug: 355756379
Test: adb bugreport verify ok
Flag: EXEMPT bugfix
Change-Id: I653a2d0bebe340a16917c30fa2c883f250456aa3
Signed-off-by: Spade Lee <spadelee@google.com>
2024-08-12 14:01:50 +00:00
Kyle Tso
48b994ba16 dumpstate: Modify dumpTcpc path and content
Ported from I248fb250b94cbd4078e7f3c44da83f62002b53fb with some
modifications.

Bug: 357537483
Test: checked the content in dumpstate
Flag: EXEMPT bugfix
Change-Id: I06ce369b90d8ba0ff2ee31723890001c37db9227
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:06:51 +00:00
Vishvam Mazumdar
5a0aedaec9 Add CPU Idle Histogram Stats to dumpstate board file.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: Build/Flash
Test: adb bugreport
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: I9c31b4fbaf8adb35df27f4d19a7bf87ac33b05d3
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:40:07 +00:00
Daniel Okazaki
6f86f154f7 dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: Ic40a2a19e9f94ee294d27ac1164d6d192e111660
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-17 01:19:49 +00:00
Kyle Tso
258eac3e55 Reapply "dumpstate: Search the path of TCPM psy uevent"
This reverts commit ab48b5502c.

Bug: 320613177
Bug: 322294676
Change-Id: I54ec2d5bb3bcce168607cedc2f6ce608c6dde9ef
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-31 07:02:43 +00:00
Daniel Chapin
bae3fe514b Merge "Revert "dumpstate: Search the path of TCPM psy uevent"" into main 2024-01-25 22:59:25 +00:00
Daniel Chapin
ab48b5502c Revert "dumpstate: Search the path of TCPM psy uevent"
Revert submission 25915320-320613177

Reason for revert: Droidfood blocking bug: 322294676

Reverted changes: /q/submissionid:25915320-320613177

Change-Id: I5f56d9f97d173b9971e96959b56e39207b901ac7
2024-01-25 21:43:44 +00:00
Spade Lee
66334af850 Merge "dumpstate: add SoC residency dump" into main 2024-01-24 07:54:19 +00:00
Spade Lee
7bb7687851 dumpstate: add SoC residency dump
Bug: 319536756
Change-Id: Iec35a05a22a6e6315a2ff6b9b5190099c1bcd5c4
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:46:36 +00:00
Kyle Tso
7fb7b28f89 dumpstate: Search the path of TCPM psy uevent
Bug: 320613177
Change-Id: I58af2fe1edc834567742899ccd90b902b52b68d1
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-22 08:53:17 +00:00
Ray Chi
d120b32a73 dump_power: add eusb_repeater path to dump registers
Bug: 305145476
Test: adb bugreport
Change-Id: I96611e7741380661c0277107e8b0763e79cb6c94
2023-12-05 16:36:52 +08:00
Florian Mayer
251d00eb0e Handle empty read from file.
Test: run /vendor/bin/dump/dump_power
Bug: 312681873
Change-Id: I8c49cf7f0048190f02d35d50984abca361d517f1
2023-11-22 11:49:27 +00:00
Jack Wu
5f6d9cc357 dump_power: fix the problem of not being able to dump properties
Bug: 309011602
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I8a6251e03bcf16b2c1f4242a724f1949dab75759
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06 20:42:03 +08:00
Daniel Okazaki
ee805f1dcc dump_power: adding defender logs for charger and active time
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: I3f67e07853334457c74808869df78c323458f2df
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:46:12 +00:00
Jacky Liu
a3772510e6 Update i2c pathes with new static i2c bus numbers
Bug: 305242309
Test: Boot to home
Change-Id: I87687b2e3a479a166257ad958ddd07af7967f416
2023-10-23 14:17:22 +08:00
Hiroshi Akiyama
5aded2ebfe Migrate dump_power.sh contents into cpp for improved speed
Bug: 271355543
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ic4e7c1a8198aedc3d2f5b3880ce60aa45843ec2d
2023-09-11 17:07:22 +00:00