diff options
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/sensors')
7 files changed, 7 insertions, 51 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-max31785-hwmon.rules b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-max31785-hwmon.rules index fd63e0549..fd63e0549 100755..100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-max31785-hwmon.rules +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-max31785-hwmon.rules diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-hwmon.rules b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/ibm-ac-server/70-hwmon.rules index 548b219e7..548b219e7 100755..100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/70-hwmon.rules +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/ibm-ac-server/70-hwmon.rules diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf index cddafc1a2..0b97ed559 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf @@ -1,17 +1,9 @@ LABEL_fan1 = "fan0_0" -CRITLO_fan1 = "3000" -CRITHI_fan1 = "12000" LABEL_fan2 = "fan1_0" -CRITLO_fan2 = "3000" -CRITHI_fan2 = "12000" LABEL_fan3 = "fan2_0" -CRITLO_fan3 = "3000" -CRITHI_fan3 = "12000" LABEL_fan4 = "fan3_0" -CRITLO_fan4 = "3000" -CRITHI_fan4 = "12000" TARGET_MODE = "RPM" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf index cddafc1a2..0b97ed559 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf @@ -1,17 +1,9 @@ LABEL_fan1 = "fan0_0" -CRITLO_fan1 = "3000" -CRITHI_fan1 = "12000" LABEL_fan2 = "fan1_0" -CRITLO_fan2 = "3000" -CRITHI_fan2 = "12000" LABEL_fan3 = "fan2_0" -CRITLO_fan3 = "3000" -CRITHI_fan3 = "12000" LABEL_fan4 = "fan3_0" -CRITLO_fan4 = "3000" -CRITHI_fan4 = "12000" TARGET_MODE = "RPM" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf index 0aafc9b14..d3df21599 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_air.conf @@ -1,33 +1,17 @@ LABEL_fan1 = "fan0_0" -CRITLO_fan1 = "2974" -CRITHI_fan1 = "12076" LABEL_fan2 = "fan1_0" -CRITLO_fan2 = "2974" -CRITHI_fan2 = "12076" LABEL_fan3 = "fan2_0" -CRITLO_fan3 = "2974" -CRITHI_fan3 = "12076" LABEL_fan4 = "fan3_0" -CRITLO_fan4 = "2974" -CRITHI_fan4 = "12076" LABEL_fan5 = "fan0_1" -CRITLO_fan5 = "2974" -CRITHI_fan5 = "12076" LABEL_fan6 = "fan1_1" -CRITLO_fan6 = "2974" -CRITHI_fan6 = "12076" LABEL_fan7 = "fan2_1" -CRITLO_fan7 = "2974" -CRITHI_fan7 = "12076" LABEL_fan8 = "fan3_1" -CRITLO_fan8 = "2974" -CRITHI_fan8 = "12076" TARGET_MODE = "RPM" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf index 5c0efe420..c96bfa76b 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@100/max31785@52_water.conf @@ -1,25 +1,13 @@ LABEL_fan1 = "fan0_0" -CRITLO_fan1 = "2549" -CRITHI_fan1 = "12076" LABEL_fan3 = "fan2_0" -CRITLO_fan3 = "2549" -CRITHI_fan3 = "12076" LABEL_fan4 = "fan3_0" -CRITLO_fan4 = "2549" -CRITHI_fan4 = "12076" LABEL_fan5 = "fan0_1" -CRITLO_fan5 = "2549" -CRITHI_fan5 = "12076" LABEL_fan7 = "fan2_1" -CRITLO_fan7 = "2549" -CRITHI_fan7 = "12076" LABEL_fan8 = "fan3_1" -CRITLO_fan8 = "2549" -CRITHI_fan8 = "12076" TARGET_MODE = "RPM" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 993ca281f..d9d606bd2 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI += " \ +SRC_URI_append_ibm-ac-server = " \ file://70-hwmon.rules \ file://70-max31785-hwmon.rules \ file://start_max31785_hwmon.sh \ @@ -46,15 +46,15 @@ OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf" OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}" ENVS = "obmc/hwmon/{0}" -SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" -SYSTEMD_ENVIRONMENT_FILE_${PN}_append = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_ibm-ac-server = " ${@compose_list(d, 'ENVS', 'ITEMS')}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_ibm-ac-server = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" -SYSTEMD_ENVIRONMENT_FILE_max31785-msl += "obmc/hwmon-max31785/max31785.conf" -SYSTEMD_LINK_max31785-msl += "../phosphor-max31785-msl@.service:multi-user.target.wants/phosphor-max31785-msl@${MACHINE}.service" +SYSTEMD_ENVIRONMENT_FILE_max31785-msl_append_ibm-ac-server = " obmc/hwmon-max31785/max31785.conf" +SYSTEMD_LINK_max31785-msl_append_ibm-ac-server = " ../phosphor-max31785-msl@.service:multi-user.target.wants/phosphor-max31785-msl@${MACHINE}.service" -SYSTEMD_SERVICE_${PN} += "max31785-hwmon-helper@.service" +SYSTEMD_SERVICE_${PN}_append_ibm-ac-server = " max31785-hwmon-helper@.service" -do_install_append() { +do_install_append_ibm-ac-server() { install -d ${D}/${base_libdir}/udev/rules.d/ install ${WORKDIR}/70-max31785-hwmon.rules ${D}/${base_libdir}/udev/rules.d/ |