[PATCH skeleton] skeleton: Add dbus objects for adm1278 hwmon sensors
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed Mar 16 17:50:42 AEDT 2016
From: Yi Li <adamliyi at msn.com>
Add dbus object for adm1278 Vout and Iout sensors.
The object name will subject to change after review.
Signed-off-by: Yi Li <adamliyi at msn.com>
---
bin/Barreleye.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index 09fefa0..589238f 100755
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -717,5 +717,23 @@ HWMON_CONFIG = {
'101' : { 'object_path' : 'temperature/membuf7','poll_interval' : 5000,'scale' : 1000,'units' : 'C' },
}
},
+ '4-0010' : {
+ 'names' : {
+ 'curr1_input' : { 'object_path' : 'cpu0/Iout','poll_interval' : 5000,'scale' : 1,'units' : 'mA' },
+ 'in2_input' : { 'object_path' : 'cpu0/Vout','poll_interval' : 5000,'scale' : 1,'units' : 'mV' },
+ }
+ },
+ '5-0010' : {
+ 'names' : {
+ 'curr1_input' : { 'object_path' : 'cpu1/Iout','poll_interval' : 5000,'scale' : 1,'units' : 'mA' },
+ 'in2_input' : { 'object_path' : 'cpu1/Vout','poll_interval' : 5000,'scale' : 1,'units' : 'mV' },
+ }
+ },
+ '6-0010' : {
+ 'names' : {
+ 'curr1_input' : { 'object_path' : 'io/Iout','poll_interval' : 5000,'scale' : 1,'units' : 'mA' },
+ 'in2_input' : { 'object_path' : 'io/Vout','poll_interval' : 5000,'scale' : 1,'units' : 'mV' },
+ }
+ },
}
--
2.7.1
More information about the openbmc
mailing list