Skip to content

Commit 030d2a0

Browse files
krzkrobherring
authored andcommitted
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: bf1fdaf ("dt-bindings: hwmon: (mr75203) add coefficient properties for the thermal equation") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230712081124.110345-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 0bb8f49 commit 030d2a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ properties:
105105
G coefficient for temperature equation.
106106
Default for series 5 = 60000
107107
Default for series 6 = 57400
108-
multipleOf: 1000
108+
multipleOf: 100
109109
minimum: 1000
110110
$ref: /schemas/types.yaml#/definitions/uint32
111111

@@ -114,7 +114,7 @@ properties:
114114
H coefficient for temperature equation.
115115
Default for series 5 = 200000
116116
Default for series 6 = 249400
117-
multipleOf: 1000
117+
multipleOf: 100
118118
minimum: 1000
119119
$ref: /schemas/types.yaml#/definitions/uint32
120120

@@ -131,7 +131,7 @@ properties:
131131
J coefficient for temperature equation.
132132
Default for series 5 = -100
133133
Default for series 6 = 0
134-
multipleOf: 1000
134+
multipleOf: 100
135135
maximum: 0
136136
$ref: /schemas/types.yaml#/definitions/int32
137137

0 commit comments

Comments
 (0)