summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/power
AgeCommit message (Collapse)AuthorFilesLines
2020-05-12phosphor-power: srcrev bump 8e4cb64539..f213432080Andrew Geissler1-1/+1
Bob King (1): regulators: Implements support for compare_vpd action (From meta-phosphor rev: 2b525b38b18a167a36c2f8424424cf3c50455aed) Change-Id: I91a1e46846e00bc9a92ccb7213791afde87f7c73 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-08phosphor-power: srcrev bump 4e016652d8..8e4cb64539Andrew Geissler1-1/+1
Bob King (1): regulators: Create regulators CompareVPDAction class Shawn McCarney (1): regulators: Implement D-Bus configure method (From meta-phosphor rev: 0be6055416d238d3ea1ca5e73bf8e8d93a073733) Change-Id: Ide606c1f179991ea329ccacb482776ea4c6dd57d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06phosphor-power: srcrev bump 84807b96fa..4e016652d8Andrew Geissler1-1/+1
Brandon Wyman (1): psu-ng: Clear fault bits in STATUS_WORD Shawn McCarney (1): regulators: Load JSON config file (From meta-phosphor rev: 82228c7009f6e265eed654907becb6b5371f439f) Change-Id: I0dd300cdd5c8ae2f99e2f01faa3364ddaa8b92d8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-04phosphor-power: srcrev bump df42c0d6a7..84807b96faAndrew Geissler1-1/+1
Shawn McCarney (2): regulators: Initial JSON config file for Rainier regulators: Temporarily hard-code config file name (From meta-phosphor rev: 8326cb64de0014a97f65e2b4d38cb4d0cc3f58de) Change-Id: I8bd0c112addf8962fff29688fcc67189fc17cec0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30phosphor-power: srcrev bump 01bc612007..df42c0d6a7Andrew Geissler1-1/+1
Brad Bishop (1): meson: add options for each application Shawn McCarney (1): Add 'long-tests' build option (From meta-phosphor rev: 99c9595c20c81d0d49e98ec10f2fbc072396ce7b) Change-Id: I277dd621abe5db2806e28016a9f4fb6424c065f5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30phosphor-power: Add phosphor-regulators-monitor servicesMatthew Barth2-2/+4
Add the phosphor-regulators monitor services that perform method calls to phosphor-regulators to enable or disable monitoring of the regulators. The enable service should be started after power sequencing begins during a poweron and the disable service startsp immediately at a poweroff to halt monitoring Tested: Monitoring started after power sequencing services and the chassis is on Monitoring disabled immediately at poweroff (From meta-phosphor rev: a51bc302c63971fd30798e7a167a24303843489e) Change-Id: I1da591b9d895d24ce351867aa4eaa9039a13acbf Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30phosphor-power: Add phosphor-regulators-config serviceMatthew Barth2-2/+3
Add the phosphor-regulators config service that performs a method call to phosphor-regulators that would then configure the regulators. This service should be called immediately at poweron before the power sequencing begins. Tested: Method call occurs before pre-poweron target is set Power sequencing does not start before this method completes (From meta-phosphor rev: 3e79686a2476ed1c77b811262dcf1a370c2f6571) Change-Id: Id30bb149c94281183fa33c761abe5a25bdfdedd8 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30phosphor-power: Add regsctl binary to imageMatthew Barth2-1/+2
(From meta-phosphor rev: 7166750260457a7a4e051d8cba9c4d4a5e48a657) Change-Id: I53e15eab24e494aec032efb77dadef18f764a9bf Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-29phosphor-power: srcrev bump b267b7ebf1..cd9ab087e6Andrew Geissler1-1/+1
Matthew Barth (1): regs: Create regulator control utility function (From meta-phosphor rev: b15265704906b672d0816225d00aee192034b105) Change-Id: I48d2d4212f0c062f7b5881dfde2ce1469c801a40 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-29phosphor-psu-code-mgmt: srcrev bump d48ae5fbca..f356fdc926Andrew Geissler1-1/+1
Albert Zhang (1): Cleanup the code related to emit_interface_added Lei YU (1): Add updateable association (From meta-phosphor rev: 89f29aa6af2076e216902f8310f5410fdeb82c62) Change-Id: I2e40caaf317b9f01248451bf3d5c213313021ce0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-28Add PSU software manager recipeLei YU1-0/+52
Add phosphor-psu-software-manager recipe to manage PSU software versions and updates. Tested: Add the recipe into Witherspoon build, verify the service is running and the PSU version objects are created on Witherspoon. (From meta-phosphor rev: 99cf05d696d52eee5c89a464296d2151a957fb0a) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I466725976dd70209f7bbc670bad6b09f14d53684 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27phosphor-power: srcrev bump 8a392d9d62..b267b7ebf1Andrew Geissler1-1/+1
Bob King (5): regulators: Implements support for if action regulators: Implements support for presence_detection regulators: Implements support for set_device action regulators: Create regulators ComparePresenceAction class regulators: Implements support for compare_presence action (From meta-phosphor rev: ceeb16c05fa92a2d01c0b327588d0dcf54f7e9b0) Change-Id: I3a92e570801372fb96c180a1a726f562dd81028f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-22phosphor-power: srcrev bump 0b51a9b234..8a392d9d62Andrew Geissler1-1/+1
Lei YU (1): Remove Lei from MAINTAINERS (From meta-phosphor rev: f2161ddd590b9f59a664598c19ff56ba84145669) Change-Id: I84675965276ebde3f9bab3dce645616527c3bcdb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21phosphor-power: srcrev bump 2af5289ddb..0b51a9b234Andrew Geissler1-1/+1
Bob King (4): regulators: Implements support for i2c_compare actions regulators: Implements support for and action regulators: Implements support for not action regulators: Implements support for or action (From meta-phosphor rev: a9f91ec2ef502f01b57092c74a56f030462b8d31) Change-Id: I5471285d9b1c8da03f2429a356ab01950497b4e8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17phosphor-power: srcrev bump 9af855569e..2af5289ddbAndrew Geissler1-1/+1
Andy YF Wang (1): Add CPLD class for Mihawk platform Bob King (4): regulators: Implements support for device regulators: Implements support for configuration regulators: Implements support for rail regulators: Modify instances for implicit conversion Matthew Barth (8): regs: Add private manager dbus interface regs: Add manager object regs: Add an event timer for monitoring regs: Handle HUP signals regs: Add initial dbus attributes for system type util: Logging error on getService optional regs: Get JSON configuration data filename from dbus regs: Subscribe to InterfacesAdded signals Shawn McCarney (6): regulators: Create exception_utils namespace regulators: Implement Configuration execution regulators: Add configure support to Rail class regulators: Add configure support to Device class regulators: Add configure support to Chassis class regulators: Add configure support to System class (From meta-phosphor rev: b310b833d05e98a28e65d17036803a89d0bc0ace) Change-Id: I7221bed2ab721ab2b352098bc9284dcde94f1126 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14phosphor-power: srcrev bump e22e0c4b93..9af855569eAndrew Geissler1-1/+1
Shawn McCarney (1): regulators: Add logDebug() to journal interface (From meta-phosphor rev: cada4fb3c64584e5db8f073db648c63eb938113a) Change-Id: Ie57c5a1ac235df4f4eb9e5b66230dd35b9e3cea4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-11phosphor-power: srcrev bump 0e70113dc4..e22e0c4b93Andrew Geissler1-1/+1
Shawn McCarney (2): regulators: Build IDMap for system regulators: Fix IDMap testcases for duplicate IDs (From meta-phosphor rev: f4e13ea3040357c5a16e1909a31382bab7cd0cdd) Change-Id: Ic41703ec509103660a9eaf4268bd6c386000d0bd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-09phosphor-power: srcrev bump 87ff9d7d0a..0e70113dc4Andrew Geissler1-1/+1
Bob King (3): regulators: Implements support for i2c_write_bytes regulators: Implements support for run_rule regulators: Implements support for chassis Shawn McCarney (3): regulators: Create journal interface regulators: Create System class regulators: Enhance IDMap to detect duplicate IDs (From meta-phosphor rev: 03d7ccb6d67f84421955a46b21259fb27735d0ea) Change-Id: I1993ed8185f57d562b0a5c5abe7bc6d493a7101c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07phosphor-power: srcrev bump e85499b63d..87ff9d7d0aAndrew Geissler1-1/+1
Bob King (2): regulators: Implements support for i2c_write_bit regulators: Implements support for i2c_write_byte (From meta-phosphor rev: 8938fef774ba3c4c8f5a21ed83f90a0e524fb51d) Change-Id: I0a171b1af24e5bf87ea7f0ef6b28c877f7d0d1ac Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-phosphor: PN.inc to BPN.incPatrick Williams1-1/+1
Some recipes have abstracted the git revision into a separate file and have a line 'require ${PN}.inc'. The issue with PN is that it changes to have a -native or -nativesdk for those contexts. The variable ${BPN} (base package name) should be used instead. (From meta-phosphor rev: c7d848ec9b524114550f80276f7b5e45b9ad8d46) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib875fd9904b16379b20dc7891087b8e0bf90fe69 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03meta-phosphor: update DEPENDS for sdbusplus-nativePatrick Williams1-1/+1
sdbusplus has changed the package layout so that sdbusplus-native and sdbus++-native are now ${PYTHON_PN}-sdbus++-native. Update recipes that need to use sdbus++ (or its associated python modules) or remove the DEPENDS if it is no longer necessary. (From meta-phosphor rev: 2bebd1247cb78567441158b152c7a13f476afd4f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I30f9c2220da9145ef0a7067e067aed1396d8b40d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-01phosphor-power: srcrev bump 8b89f1b183..e85499b63dAndrew Geissler1-1/+1
Shawn McCarney (4): regulators: Create ConfigFileParserError class regulators: Create configuration file parser regulators: Make TmpFile class common regulators: Skip validation tool tests in SDK (From meta-phosphor rev: d40b56703fce1256d7bbea1aca586ab5a0f8551f) Change-Id: I73202965a85719c22a8d97b409b56cd5a6e5bc19 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-22phosphor-power: srcrev bump 3afa711d1c..8b89f1b183Andrew Geissler1-1/+1
Brandon Wyman (2): Install phosphor-psu-monitor configuration files Updates to load JSON file from default location (From meta-phosphor rev: b7c529edab2e219171dcf9af3dda7566b74fb63c) Change-Id: I24b35d76e05053edfca788e3c138d22d80e31773 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-22phosphor-power: srcrev bump 3f1242f3a1..3afa711d1cAndrew Geissler1-1/+1
Bob King (1): regulators: Add test cases for action. (From meta-phosphor rev: b9de049f00d84858979e0d941023f66a236fdabf) Change-Id: I94c3998ebb207fc4359f71b99311572ed2a0a8db Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-19phosphor-power: srcrev bump 8a3afd70ea..3f1242f3a1Andrew Geissler1-1/+1
Bob King (2): regulators: Add test cases for check_duplicate_object_id. regulators: Add test cases for entire config file. Brandon Wyman (2): Create PMBusBase class to allow for mocking Update analyze function to check STATUS_WORD Shawn McCarney (1): regulators: Increase timeout for validator tests (From meta-phosphor rev: 603158d07dff63b41723e7240c7403ec00ffcbc6) Change-Id: Ibae4c0efcea692d8a31a22457c8573d73bbc7414 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-18phosphor-power: srcrev bump 43082e70b2..8a3afd70eaAndrew Geissler1-1/+1
Bob King (1): regulators: Update validator testcases for python3 Shawn McCarney (2): regulators: Add remaining props to Device class regulators: Create Chassis class (From meta-phosphor rev: df9b3e11810b489f39a7e0a052c1fd1ae15acf43) Change-Id: I5539d019475daecc5628312c11dc3785fbe774b3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-18Add phosphor-psu-monitor datadir to the packageBrandon Wyman1-1/+1
The JSON configuration file will need to be installed into the datadir (/usr/share/phosphor-psu-monitor), so add that to the package list. (From meta-phosphor rev: f363ebfc11b04c9b86c24c0bc3447c912f5fa2ce) Change-Id: Ib0c602d0ca1d326a804e83358956a54699051b07 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-18phosphor-power: use python3Lei YU2-2/+2
The python scripts in this repo supports both python2 and python3. Use python3 now since python2 is EOL. Tested: Verify the recipe builds fine with sdbusplus python2 or python3. (From meta-phosphor rev: 404e16319c6f9afae5a055c570e24e1a8cfa6e05) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ic63d65a4ad40db646baa2eab92941dfde850ffe1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16phosphor-power: Fix the missing dependsLei YU1-0/+4
The repo runs python to generate code or validate config, which requires python and the dependent python packages. Previously that happens to be satisfied by sdbusplus's RDEPENDS. If sdbusplus is changed to use python3, this repo fails to built because it lacks of dependency. See details in https://lists.ozlabs.org/pipermail/openbmc/2020-February/020771.html This commit fixes the depends by adding the required python and python-packages so that it builds fine. Tested: Verify phosphor-power builds fine with sdbusplus updates to python3. (From meta-phosphor rev: b16b3060288f016a68fa780d791d01b625128ff4) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I93ee5afadb01fce42f2dc91edd274278b026eadb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16phosphor-power: Fix regulators FILESLei YU1-2/+1
The FILES_${PN}-regulators was incorrectly set without +=, and thus some files for ${PN}-regulators are not installed. Fix it by correctly specify the files for ${PN}-regulators. (From meta-phosphor rev: ae688cfe0bb6951d0897361d7b18984c01111aef) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I35def509124b712e56e54fb8b71a9b595843df0f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-13phosphor-power: srcrev bump 4bf310e3d6..a57e08144dAndrew Geissler1-1/+1
Bob King (1): regulators: Modify file path and timeout for CI. (From meta-phosphor rev: d8c8fa53c2ca193187119009193db94776686e62) Change-Id: I1d6b9b63639d8de89ad96348c8b5d797036a7455 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-12phosphor-power: srcrev bump aed1f75d2d..4bf310e3d6Andrew Geissler1-1/+1
Brandon Wyman (1): Parse I2C bus and address out of JSON config file Shawn McCarney (4): regulators: Create Configuration class regulators: Create PresenceDetection class regulators: Create SensorMonitoring class regulators: Add remaining properties to Rail class (From meta-phosphor rev: 1cb9b0b6bdf17a00e9a04483a7aa8b43a9643a34) Change-Id: I3c9a300a4d9bc7772ebcf0f4aafe9ad231f3a8cf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-12phosphor-power: split into separated packagesLei YU4-45/+98
phosphor-power consists of several separated services and utils. All of them are installed by default. Split them into separated packages, so that a machine layer could select which packages are needed. This is done by define PACKAGE_BEFORE_PN and specify the FILES_ for each package, and split the phosphor-power-systemd-links-monitor.bb into separated recipes to install services for the related package. The phosphor-power-systemd-links.bb is kept for now to avoid build error on existing systems. It will be removed when the meta-system layers' changes are done. Tested: Only include phosphor-power-monitor, verify that only the related binary and service unit file are installed into the image. Include all the packages, verify that all the services and utils are installed into the image. (From meta-phosphor rev: 2172cd128215683d1fd425b841e90b515aec04c9) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I83f436e51b33903a581bfc48541475711467bb61 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-11phosphor-power: srcrev bump 2fe5186eaa..aed1f75d2dAndrew Geissler1-1/+1
Brandon Wyman (1): psu: Updates for power supply presence Shawn McCarney (1): regulators: Use std::optional in ActionEnvironment (From meta-phosphor rev: 7143ad7c880ea96386c8afc9f59d18b6280cf86a) Change-Id: I90a882cca9a1f5e12595a0c6397d5bd89503eb03 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-10phosphor-power: srcrev bump a533d700c1..2fe5186eaaAndrew Geissler1-1/+1
Brandon Wyman (1): psu: Add code to get pollInterval from JSON file (From meta-phosphor rev: b4a840c1bd3de977b472ec0398004606294a45db) Change-Id: I9967228c728821942187b442a5a44e48504f26af Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-09phosphor-power: srcrev bump dc72b62ad3..a533d700c1Andrew Geissler1-1/+1
Bob King (5): regulators: Add check_run_rule_value_exists function. regulators: Add test cases for command line syntax regulators: Add check_set_device_value_exists function. regulators: Add check_rule_id_exists function. regulators: Add check_number_of_elements_in_masks function. (From meta-phosphor rev: 2048ce1c5b893195d354b9aad492469ab25ca9e0) Change-Id: I7f1a1723344636182df725b77e7c1e7355c8070c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-05phosphor-power: srcrev bump a8119f2667..dc72b62ad3Andrew Geissler1-1/+1
Bob King (4): regulators: Add test cases for check_run_rule_value_exists regulators: Add test cases for check_set_device_value_exists regulators: Add test cases for check_rule_id_exists regulators: Add test cases for check_number_of_elements_in_masks (From meta-phosphor rev: dca9bdf77c06d77ce5cde54d6d89639af38b5942) Change-Id: I34cca883f8158876747e0fe82ca70d5b0701c268 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-04phosphor-power: srcrev bump a5ef5409ac..a8119f2667Andrew Geissler1-1/+1
Shawn McCarney (1): regulators: Add pmbus_write_vout_command action (From meta-phosphor rev: d43b86448a41a3126400d75ae612e278232aa47c) Change-Id: Ifd207f20d2c33429fe3ee2d54cac63157c3432b5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-03phosphor-power: srcrev bump d114cd94ac..a5ef5409acAndrew Geissler1-1/+1
Shawn McCarney (3): Document byte order of I2CInterface read/write regulators: Add PMBus utilities regulators: Add PMBusError/WriteVerificationError (From meta-phosphor rev: d2aab32aef3b1b7778d1348f37bf8b8b5e16851d) Change-Id: I147b9c55a60986a0df3df8db85b58f1c4d58c29b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-02phosphor-power: srcrev bump 5b27a95bec..d114cd94acAndrew Geissler1-1/+1
Bob King (1): regulators: Add check infinite loops function. (From meta-phosphor rev: 69e261b3b794f67974691e2ad38518427c87f3e0) Change-Id: Ibd3f8287645f9c1590f9128e8b286814ceb2e69a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-28phosphor-power: srcrev bump 83169bfe9f..5b27a95becAndrew Geissler1-1/+1
Bob King (1): regulators: Add check_duplicate_object_id function. Shawn McCarney (1): regulators: Implement i2c_write_bit action (From meta-phosphor rev: ff0c157bc57960eb7ba806dc04391e26df695fc6) Change-Id: I03d1107d85b390135ba704cd3b17979251211357 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-28phosphor-power: srcrev bump 7d3a9f1b54..83169bfe9fAndrew Geissler1-1/+1
Shawn McCarney (4): regulators: Implement i2c_compare_bytes action regulators: Improve gmock EXPECT_CALL() usage regulators: Implement i2c_write_byte action regulators: Implement i2c_write_bytes action (From meta-phosphor rev: 54326074366e3c5ab7787cc6a9fb0f5e37d22316) Change-Id: If4f6806a3b906b215abae408203027ebc688d37f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-26phosphor-power: Add phosphor-regulators serviceMatthew Barth2-1/+5
Add the base phosphor-regulators service that starts the binary and have bitbake install it to the appropriate location in the image. Tested: Service installed and started at BMC standby (From meta-phosphor rev: fa58fcd708f9d801bfef7a3861f869af596ed8e9) Change-Id: I1ca3fee421abf5e458cd812df1eadf7a72622516 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Bumped SRCREV to pick up required unit files. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-21phosphor-power: srcrev bump 4c67a3a007..b3e48bca92Andrew Geissler1-1/+1
Bob King (6): regulators: Add test cases for object 'rail'. regulators: Add test cases for object 'sensor_monitoring'. regulators: Add test cases for check duplicates and infinite loop. regulators: change the test cases sorting. regulators: Add test cases for 'i2c_write_bit' and 'i2c_write_byte(s)'. regulators: Fix test case failures. Shawn McCarney (1): regulators: Implement i2c_compare_bit action (From meta-phosphor rev: ab9510aad7bc5af4dcfe4bf6e5f4ee317fea25a2) Change-Id: I950af37f604cc821882ad0ac9c14bd731439de30 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-21phosphor-power: srcrev bump a0f33ce35e..4c67a3a007Andrew Geissler1-1/+1
Bob King (2): regulators: Add test cases for object 'presence_detection'. regulators: Add test cases for object 'configuration'. Shawn McCarney (1): regulators: Implement i2c_compare_byte action (From meta-phosphor rev: c0fc95e03615d54e98369922ec89323fc9f5f0e0) Change-Id: I83e95c7545d29f4ddcd89ec32d489c47f452d0ba Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-18phosphor-power: srcrev bump ca93f1f489..a0f33ce35eAndrew Geissler1-1/+1
Brandon Wyman (5): psu: Add phosphor-psu-monitor.service psu: Add command line argument for JSON config file psu: Update to use Power Supply Manager class Add OE-SDK option to Meson psu: Introduce the PowerSupply class Matthew Barth (1): regulators: Add/install config files Shawn McCarney (3): regulators: Add toString() method to Action class regulators: Create ActionError class Only build tests if -Dtests=enabled specified (From meta-phosphor rev: 83e52d9923c9cad2bbc6062b2f73b8273efdb047) Change-Id: I7c108f3c8bbf5afe3fefbc5ccd069aea8841fdb4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-18phosphor-power: srcrev bump 0dcbdf57b7..ca93f1f489Andrew Geissler1-1/+1
Bob King (17): regulators: Add check duplicate ID function. regulators: Add test cases for object 'and'. regulators: Add test cases for object 'compare_presence'. regulators: Add test cases for object 'compare_vpd'. regulators: Add test cases for object 'i2c_compare_bit'. regulators: Add test cases for object 'i2c_compare_byte'. regulators: Add test cases for object 'i2c_compare_bytes'. regulators: Add test cases for object 'if'. regulators: Add test cases for object 'not'. regulators: Add test cases for object 'or'. regulators: Add test cases for object 'pmbus_read_sensor'. regulators: Add test cases for object 'pmbus_write_vout_command'. regulators: Add test cases for object 'run_rule'. regulators: Add test cases for object 'set_device'. regulators: Add test cases for object 'chassis'. regulators: Add test cases for object 'device'. regulators: Add test cases for object 'i2c_interface'. Brandon Wyman (2): Create phosphor-power-supply source directory Add basic phosphor-psu-monitor application Matt Spinler (1): Remove openpower-dbus-interfaces dependency Shawn McCarney (2): Create libi2c_dev_mock.a to solve linker errors Add I2C interface to Device class (From meta-phosphor rev: f51528aea926c1778b0748ead5269e4da9c8eb97) Change-Id: Ia074a1ba9e2eebbebbcdc22e0ee07a3c5cb7a48c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-18Revert "Revert "Create phosphor-psu-monitor package""Brandon Wyman1-0/+4
This reverts commit 0feba83637c4f66b55f3752ab2697e6c033e36d2. Depends-On: I2769f6ac0012fe8849ef266930d8c736a88417ce (From meta-phosphor rev: 4d2907beaa1f7c421e89f0d68645e4f4cd2d8874) Change-Id: I2a3272f8fad0de63a3ccd44da194213253b0d3a2 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-18meta-phosphor: Package phosphor-regulators config filesMatthew Barth1-0/+3
Package all of the installed phosphor-regulators config files. Installation of the config files are handled by the meson install directive from within the phosphor-power/phosphor-regulators repository. Tested: All config files are present within an image using phosphor-power Config files are located at /usr/share/phosphor-regulators in image (From meta-phosphor rev: 280eeb9d2f3102b6e43d6f6b9a12406d6ecf93b9) Change-Id: I4fd4ef555b97d800d28e4bf4cfafe32fdd207f27 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-23phosphor-power: srcrev bump dcb4b3b3b8..0dcbdf57b7Andrew Geissler1-1/+1
Bob King (3): Create validate-regulators-config_tests.cpp. Add validate-regulators-config.py validation tool. Update format cause .clang-format file updates. Cheng C Yang (1): Add feature Cold Redundancy Lei YU (1): power-supply: Remove version interface (From meta-phosphor rev: 71356d8711bd68e028e36d154c046f82b9cfba56) Change-Id: I6c2459f5060d29d9b64b08c31ab5674ec4ce6747 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>