diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-07-01 00:05:14 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-07-06 23:32:05 -0400 |
commit | aa0ef2fe3f30adeaa855f8e6f604cfab4d0b1023 (patch) | |
tree | 33d09c3e58fb219b8f01424d7f01c917b8f61dbe /configs/Palmetto.py | |
parent | 9f369bf08e21e7122aa09a876258fca9a3d27607 (diff) | |
download | blackbird-skeleton-aa0ef2fe3f30adeaa855f8e6f604cfab4d0b1023.tar.gz blackbird-skeleton-aa0ef2fe3f30adeaa855f8e6f604cfab4d0b1023.zip |
configs: Remove all HWMON_CONFIGs and sensors
The xyz sensor namespace is fully functional. Remove legacy
HWMON_CONFIGs and association sensor references.
Change-Id: I71ce7627e72d23f3729690260103e925e4d11329
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'configs/Palmetto.py')
-rw-r--r-- | configs/Palmetto.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/configs/Palmetto.py b/configs/Palmetto.py index 5378bbd..10fe0bd 100644 --- a/configs/Palmetto.py +++ b/configs/Palmetto.py @@ -75,9 +75,7 @@ ID_LOOKUP = { 0x21 : '<inventory_root>/system/chassis/motherboard/dimm3', 0x09 : '/org/openbmc/sensors/host/BootCount', 0x05 : '/org/openbmc/sensors/host/BootProgress', - 0x08 : '/org/openbmc/sensors/host/cpu0/OccStatus', 0x32 : '/org/openbmc/sensors/host/OperatingSystemStatus', - 0x33 : '/org/openbmc/sensors/host/PowerCap', }, 'GPIO_PRESENT' : { 'SLOT0_PRESENT' : '<inventory_root>/system/chassis/motherboard/pciecard_x16', @@ -107,29 +105,6 @@ GPIO_CONFIG['MEZZ0_PRESENT'] = { 'gpio_pin': 'O0', 'direction': 'in' } GPIO_CONFIG['MEZZ1_PRESENT'] = { 'gpio_pin': 'O1', 'direction': 'in' } GPIO_CONFIG['CHECKSTOP'] = { 'gpio_pin': 'P5', 'direction': 'falling' } -HWMON_CONFIG = { - '0-0068' : { - 'names' : { - 'temp1_input' : { 'object_path' : 'temperature/rtc','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, - } - }, - '2-004c' : { - 'names' : { - 'temp1_input' : { 'object_path' : 'temperature/ambient','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, - } - }, - '3-0050' : { - 'names' : { - 'caps_curr_powercap' : { 'object_path' : 'powercap/curr_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - 'caps_curr_powerreading' : { 'object_path' : 'powercap/system_power','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - 'caps_max_powercap' : { 'object_path' : 'powercap/max_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - 'caps_min_powercap' : { 'object_path' : 'powercap/min_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - 'caps_norm_powercap' : { 'object_path' : 'powercap/n_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - 'caps_user_powerlimit' : { 'object_path' : 'powercap/user_cap','poll_interval' : 10000,'scale' : 1,'units' : 'W' }, - } - } -} - GPIO_CONFIGS = { 'power_config' : { 'power_good_in' : 'PGOOD', @@ -161,11 +136,7 @@ GPIO_CONFIGS = { MISC_SENSORS = { 0x09 : { 'class' : 'BootCountSensor' }, 0x05 : { 'class' : 'BootProgressSensor' }, - 0x08 : { 'class' : 'OccStatusSensor', - 'os_path' : '/sys/bus/i2c/devices/3-0050/online' }, 0x32 : { 'class' : 'OperatingSystemStatusSensor' }, - 0x33 : { 'class' : 'PowerCap', - 'os_path' : '/sys/class/hwmon/hwmon1/user_powercap' }, } # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |