summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-03-27 08:31:22 -0500
committerJayanth Othayoth <ojayanth@in.ibm.com>2017-03-29 21:42:03 -0500
commite688d94b8a21796be2e839fc6b19336b9f192e05 (patch)
tree1784053c628d801950bc0d3ecd44383f9fb2f741 /configs
parent3a3ac92f78786562e6b13d6919c64c0ff132bc99 (diff)
downloadtalos-skeleton-e688d94b8a21796be2e839fc6b19336b9f192e05.tar.gz
talos-skeleton-e688d94b8a21796be2e839fc6b19336b9f192e05.zip
Add IPMI Sensor support for Power Supply Derating.
Change-Id: I099198a74fc84024eb24e84985df67f0738a0627 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/Witherspoon.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py
index 40f82e2..8a306d6 100644
--- a/configs/Witherspoon.py
+++ b/configs/Witherspoon.py
@@ -294,6 +294,7 @@ ID_LOOKUP = {
0x04 : '<inventory_root>/system/chassis/motherboard/pcielink',
0xD8 : '/org/openbmc/sensors/host/PowerSupplyRedundancy',
0xda : '/org/openbmc/sensors/host/TurboAllowed',
+ 0xb4 : '/org/openbmc/sensors/host/PowerSupplyDerating',
},
'GPIO_PRESENT' : {}
}
@@ -493,9 +494,10 @@ MISC_SENSORS = {
0x02 : { 'class' : 'OperatingSystemStatusSensor' },
0x06 : { 'class' : 'PowerCap',
'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' },
- # Garrison value is used, need to get from P9 XML.
+ # Garrison value is used, Not in P9 XML yet.
0xD8 : { 'class' : 'PowerSupplyRedundancySensor'},
0xda : { 'class' : 'TurboAllowedSensor' },
+ 0xb4 : { 'class' : 'PowerSupplyDeratingSensor' },
}
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud