summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/Witherspoon.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py
index cb68e06..a1ee566 100644
--- a/configs/Witherspoon.py
+++ b/configs/Witherspoon.py
@@ -292,6 +292,7 @@ ID_LOOKUP = {
0x06 : '/org/openbmc/sensors/host/powercap',
0x02 : '/org/openbmc/sensors/host/OperatingSystemStatus',
0x04 : '<inventory_root>/system/chassis/motherboard/pcielink',
+ 0xD8 : '/org/openbmc/sensors/host/PowerSupplyRedundancy',
},
'GPIO_PRESENT' : {}
}
@@ -491,6 +492,8 @@ 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.
+ 0xD8 : { 'class' : 'PowerSupplyRedundancySensor'},
}
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud