diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-07-13 00:19:14 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-07-24 05:51:16 +0300 |
commit | e31724895af04598e082200f77ab56132efe0165 (patch) | |
tree | 652aa550f457fc4ddbab31c2f870810c8be6b14e /meta-openbmc-machines/meta-openpower/meta-ingrasys | |
parent | 263c6b7c4c34c0e8406484529fba7196dcded5a9 (diff) | |
download | openbmc-e31724895af04598e082200f77ab56132efe0165.tar.xz |
Add in OCC hwmon config files for Zaius
Change-Id: I32c71693b855208e4cb9579490e8f2d93fe113d8
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ingrasys')
3 files changed, 178 insertions, 4 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index b2561061e..ecf9cb5af 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend @@ -1,9 +1,17 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -NAMES = "i2c@1e78a000/i2c-bus@40/ucd90160@64" -ITEMSFMT = "ahb/apb/{0}.conf" +ZAIUS_CHIPS = "i2c@1e78a000/i2c-bus@40/ucd90160@64" +ZAIUS_ITEMSFMT = "ahb/apb/{0}.conf" -ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}" +ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}" + +ZAIUS_OCCS = " \ + sbefifo@2400/occ@1/occ-hwmon@1 \ + hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \ + " +ZAIUS_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf" +ZAIUS_OCCITEMS = "${@compose_list(d, 'ZAIUS_OCCSFMT', 'ZAIUS_OCCS')}" ENVS = "obmc/hwmon/{0}" -SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_ITEMS')}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_OCCITEMS')}" diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2.conf b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2.conf new file mode 100644 index 000000000..ba615812a --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2.conf @@ -0,0 +1,83 @@ +MODE_temp1 = "label" +MODE_temp2 = "label" +MODE_temp3 = "label" +MODE_temp4 = "label" +MODE_temp5 = "label" +MODE_temp6 = "label" +MODE_temp7 = "label" +MODE_temp8 = "label" +MODE_temp9 = "label" +MODE_temp10 = "label" +MODE_temp11 = "label" +MODE_temp12 = "label" +MODE_temp13 = "label" +MODE_temp14 = "label" +MODE_temp15 = "label" +MODE_temp16 = "label" +MODE_temp17 = "label" +MODE_temp18 = "label" +MODE_temp19 = "label" +MODE_temp20 = "label" +MODE_temp21 = "label" +MODE_temp22 = "label" +MODE_temp23 = "label" +MODE_temp24 = "label" +MODE_temp25 = "label" +MODE_temp26 = "label" +MODE_temp27 = "label" +MODE_temp28 = "label" +MODE_temp29 = "label" +MODE_temp30 = "label" +MODE_temp31 = "label" +MODE_temp32 = "label" +MODE_temp33 = "label" +MODE_temp34 = "label" +MODE_temp35 = "label" +MODE_temp36 = "label" +MODE_temp37 = "label" +MODE_temp38 = "label" +MODE_temp39 = "label" +MODE_temp40 = "label" +LABEL_temp114 = "p1_core0_temp" +LABEL_temp117 = "p1_core1_temp" +LABEL_temp120 = "p1_core2_temp" +LABEL_temp123 = "p1_core3_temp" +LABEL_temp126 = "p1_core4_temp" +LABEL_temp129 = "p1_core5_temp" +LABEL_temp132 = "p1_core6_temp" +LABEL_temp135 = "p1_core7_temp" +LABEL_temp138 = "p1_core8_temp" +LABEL_temp141 = "p1_core9_temp" +LABEL_temp144 = "p1_core10_temp" +LABEL_temp147 = "p1_core11_temp" +LABEL_temp150 = "p1_core12_temp" +LABEL_temp153 = "p1_core13_temp" +LABEL_temp156 = "p1_core14_temp" +LABEL_temp159 = "p1_core15_temp" +LABEL_temp162 = "p1_core16_temp" +LABEL_temp165 = "p1_core17_temp" +LABEL_temp168 = "p1_core18_temp" +LABEL_temp171 = "p1_core19_temp" +LABEL_temp174 = "p1_core20_temp" +LABEL_temp177 = "p1_core21_temp" +LABEL_temp180 = "p1_core22_temp" +LABEL_temp183 = "p1_core23_temp" +LABEL_temp192 = "dimm16_temp" +LABEL_temp194 = "dimm17_temp" +LABEL_temp196 = "dimm18_temp" +LABEL_temp198 = "dimm19_temp" +LABEL_temp200 = "dimm20_temp" +LABEL_temp202 = "dimm21_temp" +LABEL_temp204 = "dimm22_temp" +LABEL_temp206 = "dimm23_temp" +LABEL_temp208 = "dimm24_temp" +LABEL_temp210 = "dimm25_temp" +LABEL_temp212 = "dimm26_temp" +LABEL_temp224 = "dimm27_temp" +LABEL_temp216 = "dimm28_temp" +LABEL_temp218 = "dimm29_temp" +LABEL_temp220 = "dimm30_temp" +LABEL_temp222 = "dimm31_temp" +LABEL_power2 = "p1_power" +LABEL_power3 = "p1_vdd_power" +LABEL_power4 = "p1_vdn_power" diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/sbefifo@2400/occ@1/occ-hwmon@1.conf b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/sbefifo@2400/occ@1/occ-hwmon@1.conf new file mode 100644 index 000000000..650415131 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/gpio-fsi/cfam@0,0/sbefifo@2400/occ@1/occ-hwmon@1.conf @@ -0,0 +1,83 @@ +MODE_temp1 = "label" +MODE_temp2 = "label" +MODE_temp3 = "label" +MODE_temp4 = "label" +MODE_temp5 = "label" +MODE_temp6 = "label" +MODE_temp7 = "label" +MODE_temp8 = "label" +MODE_temp9 = "label" +MODE_temp10 = "label" +MODE_temp11 = "label" +MODE_temp12 = "label" +MODE_temp13 = "label" +MODE_temp14 = "label" +MODE_temp15 = "label" +MODE_temp16 = "label" +MODE_temp17 = "label" +MODE_temp18 = "label" +MODE_temp19 = "label" +MODE_temp20 = "label" +MODE_temp21 = "label" +MODE_temp22 = "label" +MODE_temp23 = "label" +MODE_temp24 = "label" +MODE_temp25 = "label" +MODE_temp26 = "label" +MODE_temp27 = "label" +MODE_temp28 = "label" +MODE_temp29 = "label" +MODE_temp30 = "label" +MODE_temp31 = "label" +MODE_temp32 = "label" +MODE_temp33 = "label" +MODE_temp34 = "label" +MODE_temp35 = "label" +MODE_temp36 = "label" +MODE_temp37 = "label" +MODE_temp38 = "label" +MODE_temp39 = "label" +MODE_temp40 = "label" +LABEL_temp34 = "p0_core0_temp" +LABEL_temp37 = "p0_core1_temp" +LABEL_temp40 = "p0_core2_temp" +LABEL_temp43 = "p0_core3_temp" +LABEL_temp46 = "p0_core4_temp" +LABEL_temp49 = "p0_core5_temp" +LABEL_temp52 = "p0_core6_temp" +LABEL_temp55 = "p0_core7_temp" +LABEL_temp58 = "p0_core8_temp" +LABEL_temp61 = "p0_core9_temp" +LABEL_temp64 = "p0_core10_temp" +LABEL_temp67 = "p0_core11_temp" +LABEL_temp70 = "p0_core12_temp" +LABEL_temp73 = "p0_core13_temp" +LABEL_temp76 = "p0_core14_temp" +LABEL_temp79 = "p0_core15_temp" +LABEL_temp82 = "p0_core16_temp" +LABEL_temp85 = "p0_core17_temp" +LABEL_temp88 = "p0_core18_temp" +LABEL_temp91 = "p0_core19_temp" +LABEL_temp94 = "p0_core20_temp" +LABEL_temp97 = "p0_core21_temp" +LABEL_temp100 = "p0_core22_temp" +LABEL_temp103 = "p0_core23_temp" +LABEL_temp224 = "dimm0_temp" +LABEL_temp226 = "dimm1_temp" +LABEL_temp228 = "dimm2_temp" +LABEL_temp230 = "dimm3_temp" +LABEL_temp232 = "dimm4_temp" +LABEL_temp234 = "dimm5_temp" +LABEL_temp236 = "dimm6_temp" +LABEL_temp238 = "dimm7_temp" +LABEL_temp240 = "dimm8_temp" +LABEL_temp242 = "dimm9_temp" +LABEL_temp244 = "dimm10_temp" +LABEL_temp246 = "dimm11_temp" +LABEL_temp248 = "dimm12_temp" +LABEL_temp250 = "dimm13_temp" +LABEL_temp252 = "dimm14_temp" +LABEL_temp254 = "dimm15_temp" +LABEL_power2 = "p0_power" +LABEL_power3 = "p0_vdd_power" +LABEL_power4 = "p0_vdn_power" |