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>
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 @@
'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' : '' },