On 2/25/19 10:56 AM, Heiner Kallweit wrote: > This adds HWMON support for the temperature sensor and the related > alarms on the 107/108/109 chips. This patch is based on work from > Nikita and Andrew. I added: > - support for changing alarm thresholds via sysfs > - move HWMON code to a separate source file to improve maintainability > - smaller changes like using IS_REACHABLE instead of ifdef > (avoids problems if PHY driver is built in and HWMON is a module) > > v2: > - remove struct aqr_priv > - rename header file to aquantia.h > v3: > - add conditional compiling of aquantia_hwmon.c > - improve converting sensor register values to/from long > - add helper aqr_hwmon_test_bit > > Signed-off-by: Nikita Yushchenko <[email protected]> > Signed-off-by: Andrew Lunn <[email protected]> > Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]> -- Florian
