From 7036eea7da4a199d7edc9130a2480ebd6403c1d5 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Fri, 20 Dec 2019 15:49:12 -0600 Subject: 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 Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/power/phosphor-power.inc | 2 +- meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb | 3 ++- 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 -- cgit v1.2.3