meta-facebook: harma: enable phosphor-power

Add phosphor-power-contorl to initialize chassis power status.

root@harma:~# busctl introspect org.openbmc.control.Power  /org/openbmc/control/power0
NAME                                TYPE      SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface -         -            -
.Introspect                         method    -         s            -
org.freedesktop.DBus.Peer           interface -         -            -
.GetMachineId                       method    -         s            -
.Ping                               method    -         -            -
org.freedesktop.DBus.Properties     interface -         -            -
.Get                                method    ss        v            -
.GetAll                             method    s         a{sv}        -
.Set                                method    ssv       -            -
.PropertiesChanged                  signal    sa{sv}as  -            -
org.openbmc.control.Power           interface -         -            -
.getPowerState                      method    -         i            -
.setPowerState                      method    i         -            -
.setPowerSupplyError                method    s         -            -
.pgood                              property  i         1            emits-change
.pgood_timeout                      property  i         10           emits-change writable
.state                              property  i         1            emits-change
.PowerGood                          signal    -         -            -
.PowerLost                          signal    -         -            -


Change-Id: I3bb3d4741415d772ec158385465226e355d048c0
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/meta-facebook/meta-harma/recipes-phosphor/images/fb-harma-phosphor-image.inc b/meta-facebook/meta-harma/recipes-phosphor/images/fb-harma-phosphor-image.inc
index 2f63dba..3e6728f 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/images/fb-harma-phosphor-image.inc
+++ b/meta-facebook/meta-harma/recipes-phosphor/images/fb-harma-phosphor-image.inc
@@ -5,6 +5,16 @@
     phosphor-gpio-monitor \
 "
 
+# Monitor gpio presence status
+OBMC_IMAGE_EXTRA_INSTALL:append = " \
+    phosphor-gpio-monitor-presence \
+"
+
+# Monitor Chassis power status
+OBMC_IMAGE_EXTRA_INSTALL:append = " \
+    phosphor-power-control \
+"
+
 # It is for lsusb app.
 OBMC_IMAGE_EXTRA_INSTALL:append = " \
     usbutils \
@@ -20,8 +30,3 @@
     obmc-phosphor-buttons-signals \
     obmc-phosphor-buttons-handler \
 "
-
-# Monitor gpio status
-OBMC_IMAGE_EXTRA_INSTALL:append = " \
-    phosphor-gpio-monitor-presence \
-"
\ No newline at end of file