summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config
AgeCommit message (Collapse)AuthorFilesLines
2021-09-13meta-ibm:fans:presence: Use JSON config files installed from repoMatthew Barth5-528/+0
The `witherspoon` and `p10bmc` machines' JSON config files should now use the JSON config files installed from the repository. Change-Id: Ie40264435ca5278a50f2aa3c688d882d72cb376b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-05-17ibm: Use the generic fan-presence I2C pathsMatt Spinler5-24/+24
The fan presence detect application uses I2C device paths in its config files to address the IO expanders that IBM systems use to monitor fan presence detects. Use the /sys/bus/i2c/devices/... paths in these config files instead of the absolute paths. These new paths are links to the actual paths, and shouldn't change even if some internal kernel change drives an actual device path change. There are other config files today that do this the same way. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I39ed9d703cf6bdc821a54c6d5d087f7fc080705b
2021-04-121s4u: replace fan3 with fan4Andrew Geissler1-4/+4
The 1s4u hardware is configured with fans at 0,1,2, and 4 locations. Tested: - Verified that we can now power on a 1s4u machine with this change plus a kernel device tree change to move to fan 4. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic1415da9ab900c0e553600df89a1e26893f8b0bd
2021-04-08ibm: fans: Replace rainier with p10bmcAdriana Kobylak4-0/+0
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified the fan files were installed, ex: obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-4u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-2u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,everest/zones.json Change-Id: I10edb9e30716cffa3f510fe94822eadb08326912 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-03-251s4u: support presence config.json for new systemAndrew Geissler1-0/+86
The 1s4u is just like the 2s4u except it has two less fans. Tested: - Booted up system with entity-manager loading rainier-1s4u config and verified fan applications found and loaded new 1s4u files and system was able to chassis power on. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I575a63edb242c1b94e1a6f1eafd86a96e4518e37
2021-01-12rainier: Re-add fan presence gpios on EverestMatthew Barth1-0/+24
Corrected the gpio pins and paths for detecting fans wired to a PCA9552 behind a mux according to the Everest schematics. Fan presence will fail to access these gpios until the Everest dts is updated to expose them. (From meta-ibm rev: 072949a9b84112572559baa76d12b9a7c77f8547) Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: I9456ff8bd4298f3414f41180732e8e17b738acfa Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12rainier: Remove fan presence gpios on EverestMatthew Barth1-24/+0
Temporarily remove detecting fan presence by gpio on Everest until the gpios are added within the dts and accessible in userspace. (From meta-ibm rev: 7c4944f2dfd2ce5ab811f7e07a5a4d8de5949ee4) Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: I62f80e494a9d0feffa45cc3a1e08f0a859fca35b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-15fans:rainier: Add fan presence config filesMatthew Barth3-0/+352
This commit adds the fan presence config files for the rainier type machines. The recipe updates to install these files into a rainier image will collectively be done after all fan application config files are added. (From meta-ibm rev: f131f38e89da79848595670af0d150e01aaa664a) Change-Id: I514589fcde2a7d500e272b7d45ac90961bb46368 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop3-0/+199
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>