Commit 030d2a0c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: hwmon: moortec,mr75203: fix multipleOf for coefficients

Few coefficients use default values multiple of 100, not 1000 (in the
example DTS and in the Linux driver):

  moortec,mr75203.example.dtb: pvt@e0680000: moortec,ts-coeff-g:0:0: 61400 is not a multiple of 1000

Fixes: bf1fdafd ("dt-bindings: hwmon: (mr75203) add coefficient properties for the thermal equation")
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230712081124.110345-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 0bb8f49c
...@@ -105,7 +105,7 @@ properties: ...@@ -105,7 +105,7 @@ properties:
G coefficient for temperature equation. G coefficient for temperature equation.
Default for series 5 = 60000 Default for series 5 = 60000
Default for series 6 = 57400 Default for series 6 = 57400
multipleOf: 1000 multipleOf: 100
minimum: 1000 minimum: 1000
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
...@@ -114,7 +114,7 @@ properties: ...@@ -114,7 +114,7 @@ properties:
H coefficient for temperature equation. H coefficient for temperature equation.
Default for series 5 = 200000 Default for series 5 = 200000
Default for series 6 = 249400 Default for series 6 = 249400
multipleOf: 1000 multipleOf: 100
minimum: 1000 minimum: 1000
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
...@@ -131,7 +131,7 @@ properties: ...@@ -131,7 +131,7 @@ properties:
J coefficient for temperature equation. J coefficient for temperature equation.
Default for series 5 = -100 Default for series 5 = -100
Default for series 6 = 0 Default for series 6 = 0
multipleOf: 1000 multipleOf: 100
maximum: 0 maximum: 0
$ref: /schemas/types.yaml#/definitions/int32 $ref: /schemas/types.yaml#/definitions/int32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment