summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorVincent Cloutier <vincent@cloutier.co>2026-07-26 21:13:07 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-27 20:32:38 +0200
commited2b9b4b9694239f9a39f3e5087d879f5e37e315 (patch)
tree95d487be10d2be668d7610f1593cef48cd4a26bb /tools/perf/scripts/python/task-analyzer.py
parent111a2d606a493c3b2f03864ea34a29df3a9e7c06 (diff)
power: supply: max17042_battery: Initialize MAX17055 from battery info
Use charge-full-design-microamp-hours and charge-term-current-microamp from monitored-battery to prepare MAX17055 DesignCap, IChgTerm, and EZ Config dQAcc values in the power-supply registration callback. Apply positive battery values and treat zero like an absent property. Validate all supplied positive values before changing the sparse configuration. Reject values that quantize to zero, capacities that cannot produce dQAcc, and termination currents outside the signed register range. Limit this path to MAX17055 because the other supported gauges require complete characterization data. Assisted-by: OpenCode:gpt-5.6-sol Signed-off-by: Vincent Cloutier <vincent@cloutier.co> Link: https://patch.msgid.link/20260727011319.621794-10-vincent.cloutier@icloud.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions