summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
AgeCommit message (Collapse)AuthorFilesLines
2021-09-30ibm: Drop hwmon support for water cooled wspoonMatt Spinler1-17/+3
There is an upcoming systemd change that doesn't handle what was being done, which was to delay starting phosphor-hwmon from udev until the chassis cooling type was on D-Bus. This commit removes this method and goes down to a single hwmon config file that only supports the air cooled system, which has 2 more fan rotors than the water cooled one does. This change also applies to the similar systems witherspoon-tacoma and swift. Resolves openbmc/phosphor-hwmon/#19. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic4ed46a5bf310fb1fef8704dcafc0376c441f8c4
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-7/+7
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-17Fix path to udev rules filesAnton Blanchard1-2/+2
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak1-34/+34
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-01ibm: sensors: Replace rainier with p10bmcAdriana Kobylak1-2/+2
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I43d08c3be45d8cc8b03914b9bc257df2668e9fe0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-01-12rainier: Add max31785 hwmon device for EverestMatthew Barth1-0/+1
Everest has the max31785 at a different i2c address that is behind a mux, so install its hwmon config at that associated location. Tested: Hwmon instance for the max31785 starts successfully on Everest (From meta-ibm rev: cd84eb53a79edcabddd5e7720f9e0389f4e96151) Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: Ide9ca8bd76d708ef9453dc7d02526dfbb1dd8a30 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-15sensors:rainier: Add max31785 hwmon configMatthew Barth1-0/+6
Add the max31785 fan controller device to hwmon. (From meta-ibm rev: 71404ba4966e32bb4ed9a120062d669ed642d851) Change-Id: I4b2cd1c5379e76ccf40f52dc6ceca6a98f931f40 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-23sensors:max31785-msl: Enable/install max31785-msl packageMatthew Barth1-0/+2
The max31785-msl application is now a package within the phosphor-hwmon recipe, so that package needs to be enabled and installed on `ibm-ac-server` alias of machines which have a max31785 chip. These machines require that the minimum ship level(msl) be verified on them using this application. Tested: Built phosphor-hwmon package after enabling max31785-msl package Verified application, config file, and service existed in image (From meta-ibm rev: 33184059fa07ca12e11fb9e8dde2d6a31e1f029e) Change-Id: I186fb6ca930e4107738d4ed90d31b6233be3d6f2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-16sensors:max31785: Remove `x` perms from udev rule fileMatthew Barth1-1/+1
Remove executable permissions from the `70-max31785-hwmon.rules` file to eliminate the systemd-udevd warning that its marked executable. (From meta-ibm rev: 46984b5eda5c40e63cb9fab6aa5e667cec7f5b68) Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: Ic7405ed73f2d7875c57696ae4e5b30e380502fd6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-30meta-ibm: mihawk: Solve the issue of cannot reading 250 soc temperatureBen Pai1-4/+4
Mihawk cannot read the 250 soc sensor on the riser, this is because dts defines pca9545riser@70 instead of pca9545@70. (From meta-ibm rev: 731297ebde0eb4272d39260a30cd5f5b1f4e6f1a) Change-Id: Ibcb72ef6be7c953cc35cc216e8cc45e283949e61 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-ibm: mihawk: Add 250 soc thermal sensorBen Pai1-0/+8
Mihawk can use up to eight 250-soc. Tested: The user can see the temperature when using 250-soc. (From meta-ibm rev: 74b7557b08ed2582861cd7da390d84371ec2ff86) Change-Id: I17b0d969d0902f6470287c6164f542ad84412f7d Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop1-0/+111
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>