Re: [PATCH v2 14/16] hwmon: (mr75203) parse thermal coefficients from device-tree

From: Farber, Eliav
Date: Mon Aug 29 2022 - 14:59:23 EST


On 8/22/2022 7:31 PM, Guenter Roeck wrote:
It should not be necessary to provide explicit default values for any of the
series. Yes, default values can be overwritten with explicit coefficient
properties, but it should not be necessary to provide those if the defaults
are used. So I would expect separate compatible properties for each of the
supported series plus separate coefficient properties.
I added a "moortec,ts-series" so that user will not need to provide all
4 coefficients.
The values of the "moortec,ts-series" can be 5 (default) or 6.
I didn't do it as a compatible property because the the driver is for
the Moortec controller (mr75203) while series 5 or 6 are only relevant
for the thermal sensor (mr74137).

--
Thanks, Eliav