summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2019-12-21 00:49:12 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-04-30 04:47:33 +0300
commit7036eea7da4a199d7edc9130a2480ebd6403c1d5 (patch)
tree9044de0014755b495da107f7eec46cfcf85d469d
parent33de4ecc62a25295d0add2e4d5ad8901c9c67d7d (diff)
downloadopenbmc-7036eea7da4a199d7edc9130a2480ebd6403c1d5.tar.xz
phosphor-power: Add phosphor-regulators-config service
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>
-rw-r--r--meta-phosphor/recipes-phosphor/power/phosphor-power.inc2
-rw-r--r--meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/power/phosphor-power.inc b/meta-phosphor/recipes-phosphor/power/phosphor-power.inc
index f42baa987..1a98ac999 100644
--- a/meta-phosphor/recipes-phosphor/power/phosphor-power.inc
+++ b/meta-phosphor/recipes-phosphor/power/phosphor-power.inc
@@ -2,4 +2,4 @@ HOMEPAGE = "https://github.com/openbmc/phosphor-power"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SRC_URI += "git://github.com/openbmc/phosphor-power"
-SRCREV = "32707088bf4eae60d0e16b4485768601a56d912c"
+SRCREV = "ec16128c008de889c1290241c56847b36ffdec49"
diff --git a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
index ab704ad7a..b7bcfd352 100644
--- a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
+++ b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
@@ -48,11 +48,12 @@ SEQ_PGOOD_SVC = "pseq-monitor-pgood.service"
PSU_MONITOR_TMPL = "power-supply-monitor@.service"
PSU_MONITOR_SVC = "phosphor-psu-monitor.service"
REGS_SVC = "phosphor-regulators.service"
+REGS_CONF_SVC = "phosphor-regulators-config.service"
SYSTEMD_SERVICE_${PN}-sequencer = "${SEQ_MONITOR_SVC} ${SEQ_PGOOD_SVC}"
SYSTEMD_SERVICE_${PN}-monitor = "${PSU_MONITOR_TMPL}"
SYSTEMD_SERVICE_${PN}-psu-monitor = "${PSU_MONITOR_SVC}"
-SYSTEMD_SERVICE_${PN}-regulators = "${REGS_SVC}"
+SYSTEMD_SERVICE_${PN}-regulators = "${REGS_SVC} ${REGS_CONF_SVC}"
# TODO: cold-redundancy is not installed in the repo yet