diff options
author | Lei YU <mine260309@gmail.com> | 2018-01-24 12:28:48 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-26 22:16:21 +0300 |
commit | 70a43c0411591dbf47dcc4cc0ab385c14a0bd4bd (patch) | |
tree | 45bf11bbffcf7347bf67293079d27a99dec766f7 /meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor | |
parent | 9f5607f83657dd2c3498466f065a64fa347eb72f (diff) | |
download | openbmc-70a43c0411591dbf47dcc4cc0ab385c14a0bd4bd.tar.xz |
meta-romulus: Add w83773g sensor config
Romulus uses w83773g hwmon sensor and it has 3 temperature sensors.
Add the kernel config and hwmon config to use the sensor.
Change-Id: If9ddc5eba17fa7e60b714d158c00e43d7e5378f8
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor')
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index ebe0a53fb..7969349c6 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%.bbappend @@ -8,6 +8,7 @@ SRCREV = "26d21731c292a02ec71480fade9a06658160eafb" SRC_URI += " file://0001-sysfs-Return-ETIMEDOUT-instead-of-throw-exception.patch" CHIPS = " \ + i2c@1e78a000/i2c-bus@440/w83773g@4c \ pwm-tacho-controller@1e786000 \ " ITEMSFMT = "ahb/apb/{0}.conf" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@440/w83773g@4c.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@440/w83773g@4c.conf new file mode 100644 index 000000000..86a802698 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@440/w83773g@4c.conf @@ -0,0 +1,17 @@ +LABEL_temp1 = "outlet" +WARNHI_temp1 = "60000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "70000" +CRITLO_temp1 = "0" + +LABEL_temp2 = "inlet_cpu" +WARNHI_temp2 = "60000" +WARNLO_temp2 = "0" +CRITHI_temp2 = "70000" +CRITLO_temp2 = "0" + +LABEL_temp3 = "inlet_io" +WARNHI_temp3 = "60000" +WARNLO_temp3 = "0" +CRITHI_temp3 = "70000" +CRITLO_temp3 = "0" |