List of fixes: - Fix "intel,vm-map" property to be optional. - Fix VM sensor allocation when "intel,vm-map" not defined. - Fix multi-channel voltage reading. - Fix voltage equation for negative source input. - Modify the temperature equation according to series 5 datasheet. - Fix coding style issue. List of new features: - Modify "reset" property to be optional. - Add optional "moortec,vm-active-channels" property to define the number of active channels per VM. - Add support for mr76006 pre-scaler to multiply the voltage result by 2. - Add support for series 6 temperature equation. - Add coefficient properties to fine tune the temperature equation. - Add debugfs to read and write temperature coefficients --------- Changes between v2 and v3: *) Add "moortec" prefix to all new device-tree properties. *) Change order of patches. *) Add explanations to better understand the changes. *) Change "reset" property to be optional and remove the "reset-control-skip" property. *) Split the patch for "fix multi-channel voltage reading" to two patches. *) Change pre-scaler property format and fix typo (scalar --> scaler). *) Fix voltage equation to support negative values instead of limiting value to zero. *) Temperature equation - protect from overflow and add clamping. *) Add new "moortec,ts-series" property to select between temperature equation of series 5 or series 6. Changes between v1 and v2: *) Fix compilation error for patch 08/16: "warning: ISO C90 forbids variable length array" --------- Eliav Farber (19): dt-bindings: hwmon: (mr75203) update "intel,vm-map" property to be optional hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined hwmon: (mr75203) update pvt->v_num to the actual number of used sensors dt-bindings: hwmon: (mr75203) change "reset" property to be optional hwmon: (mr75203) skip reset-control deassert for SOCs that don't support it hwmon: (mr75203) fix multi-channel voltage reading hwmon: (mr75203) enable polling for all VM channels dt-bindings: hwmon: (mr75203) add "moortec,vm-active-channels" property hwmon: (mr75203) add VM active channel support dt-bindings: hwmon: (mr75203) add "moortec,vm-pre-scaler" property hwmon: (mr75203) add VM pre-scaler support hwmon: (mr75203) fix voltage equation for negative source input hwmon: (mr75203) modify the temperature equation according to series 5 datasheet dt-bindings: hwmon: (mr75203) add "moortec,ts-series" property hwmon: (mr75203) add support for series 6 temperature equation dt-bindings: hwmon: (mr75203) add coefficient properties for the thermal equation hwmon: (mr75203) parse temperature coefficients from device-tree hwmon: (mr75203) add debugfs to read and write temperature coefficients hwmon: (mr75203) fix coding style space errors .../bindings/hwmon/moortec,mr75203.yaml | 67 ++- drivers/hwmon/mr75203.c | 568 ++++++++++++++++-- 2 files changed, 569 insertions(+), 66 deletions(-) -- 2.37.1