dt-bindings: hwmon: (mr75203) add coefficient properties for the thermal equation
authorEliav Farber <farbere@amazon.com>
Thu, 8 Sep 2022 15:24:46 +0000 (15:24 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 19 Sep 2022 13:19:33 +0000 (06:19 -0700)
commitbf1fdafdbc61c5fcfb12e481fc40b345fbc26814
treeea3a73f7390dfd158b54c8453d0a911205a08ab5
parent3b12ca798e022192fb451e9e5ef1bb147f21c413
dt-bindings: hwmon: (mr75203) add coefficient properties for the thermal equation

Add optional temperature coefficient properties:
 *) moortec,ts-coeff-g
 *) moortec,ts-coeff-h
 *) moortec,ts-coeff-cal5
 *) moortec,ts-coeff-j
If defined they shall be used instead of defaults.

The coefficients were added to device tree on top of the series property
(which can be used to select between series 5 and series 6), because
coefficients can vary between product and product, and code defaults might
not be accurate enough.

Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220908152449.35457-19-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml