diff options
author | Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com> | 2020-07-31 21:37:16 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-09-23 18:42:39 +0200 |
commit | 1967f712677429f52ac3e8896b5ecfecc2372d95 (patch) | |
tree | 5987d57e7a95f3ced20944e27faf7488ab6a4d1f /drivers/hwmon/pmbus | |
parent | docs: hwmon: Add attributes to report rated values (diff) | |
download | linux-1967f712677429f52ac3e8896b5ecfecc2372d95.tar.xz linux-1967f712677429f52ac3e8896b5ecfecc2372d95.zip |
hwmon: (core) Add support for rated attributes
Adding implementation for new attributes (rated_min/rated_max) for
currentX, inX, powerX, tempX and humidityX.
Tested with OpenBMC stack and simple hwmon driver using
rated_min/rated_max for the following types of sensors: hwmon_temp,
hwmon_in, hwmon_curr, hwmon_power, hwmon_humidity.
For each sensor rated attributes were available and returned
expected values.
Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
Link: https://lore.kernel.org/r/1596224237-32280-3-git-send-email-zbigniew.lukwinski@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus')
0 files changed, 0 insertions, 0 deletions