summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/power
AgeCommit message (Collapse)AuthorFilesLines
2020-07-10phosphor-power: srcrev bump 1d7a7df893..833b8e07e8Andrew Geissler1-1/+1
Bob King (1): regulators: Add SensorMonitoring::execute() (From meta-phosphor rev: 8d0ee4f25857d753efbaedc058869fab92b11326) Change-Id: Iec693a72cd04642022f6b5bf947754e3331a5b1e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-02phosphor-power: srcrev bump 717d2da24a..1d7a7df893Andrew Geissler1-1/+1
Brandon Wyman (1): psu-ng: Updates to get VPD data to inventory Jay Meyer (1): Update psu poll rate for phosphor-power-supply. (From meta-phosphor rev: 43e2d4ae7bd36fb7c4631268e47ded9f6b9e5aad) Change-Id: Ifad65065c8f2857b7f72bef4b29ac8332da5de43 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-27phosphor-power: srcrev bump 1b5de4620a..717d2da24aAndrew Geissler1-1/+1
Bob King (1): regulators: Add PMBusReadSensorAction::execute() Brandon Wyman (1): psu-ng: Add code to set ON_OFF_CONFIG (From meta-phosphor rev: f4d07c22cb21a8699b0e88c0e1ee545ff42582e1) Change-Id: I3ab293ed87b20313632bae22221dae0ca1ec1876 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-power: remove unused openpower-dbus-interfacesPatrick Williams1-3/+0
(From meta-phosphor rev: 2429642c7fb4706718a10ea731e4b53f92b9a12c) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7c6c86868cd6501a2859e90c96092bde071de5de Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-psu-code-mgmt: srcrev bump bfa8d16f36..de27029319Andrew Geissler1-1/+1
George Liu (1): sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: b76ebf701a58c9d0873c451fcf476ec1cbca1981) Change-Id: Ib376d82b3f80acbaa2ce7c1ea9d8f67a346cf2a6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-11phosphor-power: srcrev bump 5b19ea51b5..1b5de4620aAndrew Geissler1-1/+1
Brandon Wyman (1): clang-format: set standard to 'Latest' (From meta-phosphor rev: 5361d489a515eeef115b8856f3c5ee125ee06ce7) Change-Id: I6527857cda29fb0ac092b8eb79fc7d066faa7e9b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-05phosphor-power: srcrev bump 6687f125b6..5b19ea51b5Andrew Geissler1-1/+1
Shawn McCarney (3): regulators: Add close method to Device class regulators: Add closeDevices() to Chassis class regulators: Close devices when system powering off (From meta-phosphor rev: 1b30d32ac5a23e03697d580e9070b6d48cf12ba8) Change-Id: I09effa3b8f73a50de636f6fe54879949e1c3ddbc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03phosphor-power: srcrev bump 89283d10ec..6687f125b6Andrew Geissler1-1/+1
Shawn McCarney (1): power-supply: Fix variant build issue (From meta-phosphor rev: a075ea2f92df08cf7cfc1886774ad2415a98e398) Change-Id: Iab89df65866d5b1f60d461baf3f33483ff91d139 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02phosphor-power: srcrev bump b1ab1cf010..89283d10ecAndrew Geissler1-1/+1
Andrew Geissler (1): boost: define required dependency (From meta-phosphor rev: 18cc688ebaf1307466095ae483c8163b951ba3fc) Change-Id: Iac00bccdf9645bba2eb2aef95fadb2c8383d2648 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02boost: define required dependency in recipeAndrew Geissler1-0/+1
Latest upstream yocto is failing due to being unable to find the boost header files. Define the needed dependency. Tested: Verified with the corresponding meson.build change that phosphor-power now builds against upstream yocto (From meta-phosphor rev: da29f23ed62d5fa26c83b422e1e09b796dd75a52) Change-Id: Iaeaeaaf7f5718210e2c0a5c9ec329db9f1926d9e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-01phosphor-power: srcrev bump 8d0b3ce22c..b1ab1cf010Andrew Geissler1-1/+1
Bob King (1): regulators: ActionEnvironment enhancements (From meta-phosphor rev: 4d8ede4eacb9b8862a782dd07347290ccedaad81) Change-Id: I9069c9563c530dfa6f9ee3967f271ee3cb85a7d8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29phosphor-power: srcrev bump 928d1d9ed8..8d0b3ce22cAndrew Geissler1-1/+1
Bob King (2): regulators: Add convertFromLinear for sensor monitoring regulators: Add convertFromVoutLinear for sensor monitoring Shawn McCarney (1): Add AfterCaseLabel to .clang-format (From meta-phosphor rev: c164ea8f74d44c2243213e498783063496e4d93b) Change-Id: I1754e92413ff73dc50ae094cdd933e78d0344e3d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-22phosphor-power: srcrev bump abe4941845..928d1d9ed8Andrew Geissler1-1/+1
Bob King (1): regulators: Implements support for pmbus_read_sensor action Brandon Wyman (1): psu-ng: Updates for clearFaults Shawn McCarney (2): regulators: Create README in application directory Add overview and build information to README (From meta-phosphor rev: 0ccc4d7feb16430c639d736c3385a3fc53a13320) Change-Id: I084bc37867ce085a3ca96c9714d784f6305bee21 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-18phosphor-power: srcrev bump d6820bb886..abe4941845Andrew Geissler1-1/+1
Andrew Geissler (2): include needed file for 64 bit defs include needed file for runtime_error Patrick Williams (2): sdbusplus: remove deprecated variant_ns sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: 102840240d5ecef82e6f44883456c56cddc765b7) Change-Id: I2297c7fa2529c8706aa713c050e19f92ce408d97 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-15phosphor-power: srcrev bump f213432080..d6820bb886Andrew Geissler1-1/+1
Bob King (1): regulators: Create regulators PMBusReadSensorAction class (From meta-phosphor rev: 3a5491fb513ef8a61e42f83e4ce060ca2fcf2baf) Change-Id: Ic89c6f3505a89c29fd3ecb53c5cd3ede3f8c8793 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-15phosphor-psu-code-mgmt: srcrev bump f356fdc926..bfa8d16f36Andrew Geissler1-1/+1
Patrick Williams (2): sdbusplus: remove deprecated variant_ns sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: c3065d14cb2ce16c134710dee12dc81fa66a2d35) Change-Id: I0e55613b54c30d39cbb49b85bdfa757337e8d22c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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>