Spade Lee
3f193d644d
dump_power: zumapro: correct dump path
...
- move fg registers dump from debugfs to sysfs
- add pca9468/ln8411/dual_batt path
- remove unused debug path
Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: I44ff1f6d14d9c440dccd832b6012c9dcaa0f7954
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-12 16:51:08 +00:00
Baltazar Ortiz
9af16ad5e4
dumpstate: Use generic dc_mains for all parallel chargers
...
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: If9268d4ac8ec857c3dd9a7f2cae6b6485cfb2e95
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:05 +00:00
Jenny Ho
596e99f6e3
Merge "dump_power: add max77779 fwupdate logbuffer into bugreport" into 24D1-dev am: b19d9e72a9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/27057698
Change-Id: I9122f9c85e6ae0bc0fc357f7adefb06f2e7bf06d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 06:06:48 +00:00
Jenny Ho
95ec940804
dump_power: add max77779 fwupdate logbuffer into bugreport
...
Bug: 334198978
Change-Id: I62fcde4a49024ccacc96a3139bb3284c41ceea58
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-23 08:04:40 +00:00
Kyle Tso
bc9752ea63
dumpstate: Dump logbuffer_pogo_transport
...
Bug: 328314131
Change-Id: I2ff93e33efa9727d14f21a68e8261221a1091638
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-04-15 17:25:08 +08:00
Jenny Ho
97762978d9
dump_power: add maxfg_history permission
...
allow to dump secondary battery history for dual battery projects
Bug: 333952062
Change-Id: Id2732c04bdeb7c955e67a427e4d41c224943983a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-12 00:06:24 +00:00
Spade Lee
c4c265ea45
dumpstate: add SoC residency dump
...
Bug: 319536756
Test: SoC residency was correctly shown in dumpstate board
Change-Id: I20bf91393efcf0edb6c458f55e228a227f930ee5
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:43:35 +00:00
samou
505f0b8308
bcl: support thismeal binary parsing
...
Test: ./dump_power and adb bugreport
Bug: 293899466
Change-Id: I4ba2ee96a02573993cd4de132db9095f73253041
Signed-off-by: samou <samou@google.com>
2023-11-02 11:49:05 +00:00
YiKai Peng
a170ed0e50
dumpstate: Add authstart permission
...
Bug: 300182745
Test: Build/Flash
Change-Id: I8e365d9eaeb2cb337d8016e221744df658404d3c
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-09-20 11:51:43 +00:00
Jack Wu
e5cdef56e4
dumpstate: fix pps-dc logbuffer missing
...
Bug: 300284266
Test: data is correct in dumpstate
Change-Id: I325ed2acf7e329f599b2792ef2682f7ccc225722
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-14 08:18:14 +00:00
Jack Wu
ad27baa842
dumpstate: fix incorrect maxfg_secondary path
...
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: Ie304342def837b580b07ebdde9ce042fba897b9b
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:09:00 +08:00
Jack Wu
464f64dabc
init: disable dock-defend in charger mode
...
Need to meet energy certification test requirement which needs to
be able to charge FULL.
Bug: 298923686
Test: can charge to full on dock in charger mode
Change-Id: Ie7a2acb18e8ebb4e4bed36c759164217d127ae1c
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 09:21:15 +08:00
Jack Wu
91dcc11be7
dump_power: add permission for first_usage_date access
...
Bug: 298628003
Test: write first_usage_date sysfs node successfully
Change-Id: I1ba33c2aba8cf0129357bb83df8a8609684a52c7
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 17:19:35 +08:00
Jack Wu
a88d94fb46
dumpstate: fix incorrect dc sysfs node path
...
also add thermal stats permissions for clearing
Bug: 298628728
Test: can parse pca stats in pixelstats-uevent
Change-Id: Ie6bf430842115cc21167f693f20fd169be19f6d6
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 04:31:04 +00:00
Daniel Okazaki
dab8549f10
dump_power: adding BMS changes for static i2c bus
...
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I5e46fa09d6e939f849473a6efbfd6e5bac73d067
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:28:10 +00:00
Zheng Pan
05a3dcba0a
Update i2c bus sysfs path
...
Bug: 296941196
Test: make sure i2c bus paths exist and are accessable.
Change-Id: Id5f8d12c35c6c0d41e82776d2d6dff4371e73213
2023-08-25 22:13:03 +00:00
Daniel Okazaki
cddb5f1445
zumapro: adding eeprom print in dump_power
...
Moving BMS privileges and settings to own file
Bug: 294080767
Test: adb bugreport
Change-Id: I97cdbd252a4fd6996b566276992bfa5e9a5bc0c4
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-03 22:28:34 +00:00