Re: [PATCH] dt-bindings: power: maxim,max17042: Fix temp types to signed
From: Krzysztof Kozlowski
Date: Sat Jun 13 2026 - 03:27:48 EST
On 12/06/2026 23:53, Rob Herring (Arm) wrote:
> The max17042 binding described "maxim,cold-temp" and
> "maxim,over-heat-temp" as unsigned values, but in-tree DTS examples
> use negative temperatures such as a cold threshold below zero degrees.
>
> Document the temperature properties as signed int32 values so the
> schema matches existing DTS data and the driver can use signed helpers.
>
> Assisted-by: Codex:gpt-5-5
> Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> ---
> .../devicetree/bindings/power/supply/maxim,max17042.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof