diff options
author | Lei YU <mine260309@gmail.com> | 2016-10-14 11:45:05 +0800 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-10-20 19:21:47 +0000 |
commit | 25a2243e0862ee35f53dc48f471ae61f048ef00e (patch) | |
tree | 99e63df31b0d356c254afa7bb3bbca3499f42d1e /configs/Barreleye.py | |
parent | e6592b514af5ee8a2ef0391010074bbd480de181 (diff) | |
download | talos-skeleton-25a2243e0862ee35f53dc48f471ae61f048ef00e.tar.gz talos-skeleton-25a2243e0862ee35f53dc48f471ae61f048ef00e.zip |
Add hwmon0 config in Palmetto.py and Barreleye.py
Both Palmetto.py and Barreleye are missing hwmon0 in HWMON_CONFIG,
which results in `Unhandled hwmon` warning log flood.
Add hwmon0's config (i2c 0-0068 for RTC ds3231's temperature) to fix the
issue.
Resolves openbmc/openbmc#608
Change-Id: Ief6a13e2cec64fbc25348c715d81bf1e2f1f5564
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'configs/Barreleye.py')
-rw-r--r-- | configs/Barreleye.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/Barreleye.py b/configs/Barreleye.py index cbcd2d8..8e7af2c 100644 --- a/configs/Barreleye.py +++ b/configs/Barreleye.py @@ -369,6 +369,11 @@ HWMON_CONFIG = { 'temp1_input' : { 'object_path' : 'temperature/ambient','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, } }, + '0-0068' : { + 'names' : { + 'temp1_input' : { 'object_path' : 'temperature/rtc','poll_interval' : 5000,'scale' : -3,'units' : 'C' }, + } + }, '6-002d' : { 'names' : { 'pwm1' : { 'object_path' : 'speed/fan0','poll_interval' : 10000,'scale' : 1,'units' : '' }, |