summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus
diff options
context:
space:
mode:
authorZbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>2020-07-31 21:37:16 +0200
committerGuenter Roeck <linux@roeck-us.net>2020-09-23 18:42:39 +0200
commit1967f712677429f52ac3e8896b5ecfecc2372d95 (patch)
tree5987d57e7a95f3ced20944e27faf7488ab6a4d1f /drivers/hwmon/pmbus
parentdocs: hwmon: Add attributes to report rated values (diff)
downloadlinux-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