diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-06-12 16:53:07 -0500 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-21 22:28:10 +0200 |
| commit | 6a3b47a5a5fc0e294aa6d62ea70b63571f829823 (patch) | |
| tree | 40da384fbe3aa1ce3bce92d4c98926745c3a7cd6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5a6b9c36c56340812d49817524a5d96f7522c74d (diff) | |
power: supply: Match DT value types
The battery drivers read properties whose bindings use signed values
for temperature thresholds and unsigned values for voltage thresholds.
Some helpers used the opposite signedness, which makes property type
checking report real mismatches.
Use signed helpers where the binding and DTS allow negative values, and
use unsigned helpers for voltage properties documented as uint32 cells.
Assisted-by: Codex:gpt-5-5
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260612215308.1888834-1-robh@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
