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:08 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-27 20:32:38 +0200
commit6a376b843d937d2330b0111404b62589236620c1 (patch)
tree2fbabb0f4606f6c751ae97b475fd24ca0e808a58 /tools/perf/scripts/python/task-analyzer.py
parented2b9b4b9694239f9a39f3e5087d879f5e37e315 (diff)
power: supply: max17042_battery: Honor MAX17055 charge voltage
MAX17055 ModelCfg.VChg selects the charge-voltage range used by EZ Config. Consume voltage-max-design-microvolt from monitored-battery and set VChg only when the value is strictly greater than 4.275 V. Reject an explicit zero voltage and preserve the register when the property is absent. Update only the VChg bit and verify its read-back so unrelated ModelCfg fields remain intact. Treat a VChg-only override as an accumulator change: read effective DesignCap and dQAcc, derive and verify the matching dPAcc, then request model refresh. This keeps voltage-only firmware descriptions coherent with the selected charge-voltage range. Assisted-by: OpenCode:gpt-5.6-sol Signed-off-by: Vincent Cloutier <vincent@cloutier.co> Link: https://patch.msgid.link/20260727011319.621794-11-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