meta-facebook: yosemite4: Support host and chassis power control

Description:
- Support host and chassis power control by setting dbus property from phosphor-state-manager

Design:
- Add host/chassis power control services and scripts
 - chassis power control:
  - do 12V power on/off/cycle by setting virtual i/o exp output port.

Limitation:
- Implementation of host power control and sled cycle are not support for now.
- Host power control will be implemented after both BMC/BIC support PDLM commands.
- Sled cycle will be implemented after power control between CPLD and HSC was ready.

Test Case:
- host power on:
 - command:
  - busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_proct.State.Host.Transition.On"
 - show "Host power on is not support for now" in journal
- host power off:
 - command:
  - busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.Off"
 - show "Host power off is not support for now" in journal
- host power cycle:
 - command:
  - busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.Powercycle"
 - show "Host power cycle is not support for now" in journal
- host power reset:
 - command:
  - busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.ForceWarmReboot"
 - show "Host power reset is not support for now" in journal
- chassis power on:
 - command:
  - busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.On"
- show chassis-poweron started in journal
- chassis power off:
 - command:
  - busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.Off"
- show chassis-poweroff started in journal
- chassis power cycle:
 - command:
  - busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.PowerCycle"
- show chassis-powecycle started in journal
- sled cycle:
 - command:
  - busctl set-property xyz.openbmc_project.State.Chassis0 /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.PowerCycle
- show "SLED-cycle is not support for now" in journal

Change-Id: I021e2c438974765bebeff6c7ed7e7d5b56c586a3
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/meta-facebook/meta-yosemite4/conf/machine/yosemite4.conf b/meta-facebook/meta-yosemite4/conf/machine/yosemite4.conf
index 28f6f82..17d12e6 100644
--- a/meta-facebook/meta-yosemite4/conf/machine/yosemite4.conf
+++ b/meta-facebook/meta-yosemite4/conf/machine/yosemite4.conf
@@ -20,3 +20,5 @@
 # Primary chassis as Sled plus secondary chassis in N slots.
 OBMC_CHASSIS_INSTANCES = "0 ${OBMC_HOST_INSTANCES}"
 
+VIRTUAL-RUNTIME_obmc-host-state-manager = "phosphor-state-manager-host"
+VIRTUAL-RUNTIME_obmc-chassis-state-manager = "phosphor-state-manager-chassis"