summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb
Commit message (Collapse)AuthorAgeFilesLines
* Fix power supply presence informationBrandon Wyman2017-11-292-10/+10
| | | | | | | | | | | | | While testing missing power supply, the bottom power supply in the MRW is labeled as psu1, which would obviously map to powersupply1, but when that supply was removed and a power on attempted, the call out was for powerupply0. A simple rename of the labels does not work out right, due to the filenames, so swizzling the GPIO and I2C information. Resolves: openbmc/openbmc#2563 Change-Id: Iaed300becace2409e04c0097be9e2d7fa497dee3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* wspoon: Apply offset to ambient temp sensorMatthew Barth2017-11-012-0/+2
| | | | | | | | | According to thermal characterization, the ambient temperature sensor requires a -2C offset applied to reflect the correct ambient temperature. Change-Id: I354988013d51ee57403fa68c3fa5120e59d16b74 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add power supply default threshold valuesMatt Spinler2017-10-242-0/+38
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I96f8d36597ce0c304964590bb24e9946206b2f5d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add IR35221 default temperature threshold valuesMatt Spinler2017-10-234-0/+36
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: Ic2d146ee61c92ce029dfba98537a55a28aae47cc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add TMP275 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: Ic6a06e691f5dd46893a02a1c81792f17e63d4eb5 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add DPS310 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I0a22b9288de6617a8341720ce4146c9ddd1f93c6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add BMP280 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I9cd2663feed9cd9a343c1b986e3aa6d2d564c2cd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add phosphor-hwmon config file for the PCIE tempMatt Spinler2017-10-091-0/+1
| | | | | | | | | | | | | Adding this so phosphor-hwmon will put this temp on D-Bus so fan control and others can use it. It's provided by a TMP275 at bus 9, address 0x4A. It measures the air temperature by the PCIE slots. Resolves openbmc/openbmc#2411 Change-Id: I3ea16201fd63cb240b53c0a37aa0eaf3aabecead Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add power supply hwmon config filesMatt Spinler2017-08-202-0/+8
| | | | | | | | | | Puts current, voltage, and power properties on D-Bus for the two power supplies. Resolves openbmc/openbmc#2115 Change-Id: I52e85297a70f40854e141db9a25358511033ac02 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* kernel: new Maxim MAX31785A driverJoel Stanley2017-07-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew has cooked us up a proper pmbus MAX31785A driver. This bumps the kernel to include that driver, the device tree updates for the new bindings, and a userspace change for Witherspoon. The userspace change was reviewed and got five +1's: phosphor-hwmon: Update Witherspoon fan labels for PMBus driver The reimplementation of the max37185 fan controller driver uses the Linux PMBus subsystem, which exposes the installed number of fans rather than all supported fan IO. https://gerrit.openbmc-project.xyz/#/c/5564/ It is included in this commit so the system remains bisectable. Andrew Jeffery (6): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation ARM: dts: aspeed: witherspoon: Update max31785 node hwmon: pmbus: Add fan control support hwmon: Remove MAX31785 implementation pmbus: Add driver for Maxim MAX31785 Intelligent Fan Controller ARM: dts: aspeed: Witherspoon has a MAX31785A fan controller Joel Stanley (2): ARM: dts: aspeed: romulus: Update max31785 node ARM: dts: aspeed: firestone: Update max31785 node Change-Id: I7a7b86f5ee6ff38803d4f62c3d3ac99edbea45fb Signed-off-by: Joel Stanley <joel@jms.id.au>
* wspoon: Add secondary fan rotor sensorsBrad Bishop2017-07-181-0/+4
| | | | | | | | | | Create DBus objects for these additional sensors and update application configuration to consume them. Resolves: openbmc/openbmc#1188 Change-Id: If0c75ba9a2cae7811694379649756e1310e9a25a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* wspoon: Rename fan sensor objectsBrad Bishop2017-07-131-4/+4
| | | | | | | | Add a _0 prefix to fan sensor objects to reflect their dual rotor feedback sensing nature. Change-Id: I6de29b16c806d8e2b584c769af5f01e4ed5528f5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* wspoon: Inhibit phosphor-hwmon-config-mrwBrad Bishop2017-07-131-0/+4
| | | | | | | | | | | Use a hardcoded hwmon config file for the Witherspoon max31785 chip. Hopefully somewhat temporary workaround of missing tags in the Witherspoon MRW. Change-Id: Ibf03b6c566d600b34b52a0288e1c511b9ff07e4e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove attribute name from hwmon confAndrew Geissler2017-06-134-8/+8
| | | | | | | | | | The hwmon conf files should have the sensor mapping, not the attribute names Resolves openbmc/openbmc#1778 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> Change-Id: I84a367a7b7ae69243073b2bb3c4838c44abe8434
* Add in IR35221 hwon config fileAndrew Geissler2017-06-124-0/+8
| | | | | | | | The IR35221 is a new chip which provides temperature information on the VRMs installed in the system. Change-Id: I49e24e14f74400e948c2ed98132ebf5ef66346ff Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add in DPS310 hwmon config fileAndrew Geissler2017-06-121-0/+1
| | | | | | | | | | The DPS310 is a new chip coming soon to provide ambient temperature to the openbmc. The config file may need a few tweaks when the chip arrives but this at least provides a base that will not hurt anything. Change-Id: Id5264ddcab7245f9ec9b3dbb5898f76ccf45e82b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Create configuration file for BMP280 ambientBrandon Wyman2017-06-071-0/+1
Change-Id: If5137be315dd7b8f087b79f75a9e5e1f2f112113 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
OpenPOWER on IntegriCloud