diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2020-01-13 16:08:37 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-01-23 22:15:10 +0100 |
commit | 9d72340b6ade9457fc79c7059fcc62e5b888f9a5 (patch) | |
tree | 2d07ad53c9520988a16913321d941e7cd4917979 /drivers/hwmon/pmbus/pmbus.h | |
parent | hwmon: (pmbus/core) Add support for vid mode detection per page bases (diff) | |
download | linux-9d72340b6ade9457fc79c7059fcc62e5b888f9a5.tar.xz linux-9d72340b6ade9457fc79c7059fcc62e5b888f9a5.zip |
hwmon: (pmbus/core) Add support for Intel IMVP9 and AMD 6.25mV modes
Extend "vrm_version" with the type for Intel IMVP9 and AMD 6.25mV VID
modes.
Add calculation for those types.
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Link: https://lore.kernel.org/r/20200113150841.17670-3-vadimp@mellanox.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus.h')
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/pmbus.h b/drivers/hwmon/pmbus/pmbus.h index 423c1464bf52..13b34bd67f23 100644 --- a/drivers/hwmon/pmbus/pmbus.h +++ b/drivers/hwmon/pmbus/pmbus.h @@ -388,7 +388,7 @@ enum pmbus_sensor_classes { #define PMBUS_PAGE_VIRTUAL BIT(31) enum pmbus_data_format { linear = 0, direct, vid }; -enum vrm_version { vr11 = 0, vr12, vr13 }; +enum vrm_version { vr11 = 0, vr12, vr13, imvp9, amd625mv }; struct pmbus_driver_info { int pages; /* Total number of pages */ |