Update power supply inventory path to match MRW

I2C device access failures can lead to the correct FRU
callouts only when the inventory path of the FRU matches
in the inventory and the MRW, as a build time script
parses the MRW to map device paths to inventory items.

In the MRW it is not possible to hang a FRU off the chassis
like the BMC currently has it, so adding the motherboard
into the BMC inventory paths to match the MRW ones.

With this change, device access failures by phosphor-hwmon-readd
and witherspoon-psu-monitor will now lead to the proper
inventory object callouts.

Resolves openbmc/openbmc#2924

Change-Id: I7d76d1879ead48c95ec28c7536ae404f1fc9856d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/power/witherspoon-power-supply-policy/power-supply-policy.yaml b/meta-witherspoon/recipes-phosphor/power/witherspoon-power-supply-policy/power-supply-policy.yaml
index a97f4b8..20141c9 100644
--- a/meta-witherspoon/recipes-phosphor/power/witherspoon-power-supply-policy/power-supply-policy.yaml
+++ b/meta-witherspoon/recipes-phosphor/power/witherspoon-power-supply-policy/power-supply-policy.yaml
@@ -7,14 +7,14 @@
   group: path
   members:
     - meta: POWER SUPPLY
-      path: /xyz/openbmc_project/inventory/system/chassis/powersupply0
+      path: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
 
 - name: power supply1
   class: group
   group: path
   members:
     - meta: POWER SUPPLY
-      path: /xyz/openbmc_project/inventory/system/chassis/powersupply1
+      path: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1
 
 - name: power supplies
   description: >
@@ -23,9 +23,9 @@
   group: path
   members:
     - meta: POWER SUPPLY
-      path: /xyz/openbmc_project/inventory/system/chassis/powersupply0
+      path: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
     - meta: POWER SUPPLY
-      path: /xyz/openbmc_project/inventory/system/chassis/powersupply1
+      path: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1
 
 - name: chassis state
   description: >
@@ -142,7 +142,7 @@
   error: xyz::openbmc_project::Inventory::Error::NotPresent
   metadata:
     - name: xyz::openbmc_project::Inventory::NotPresent::CALLOUT_INVENTORY_PATH
-      value: /xyz/openbmc_project/inventory/system/chassis/powersupply0
+      value: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
       type: string
 
 - name: notpresent power supply1 error
@@ -153,7 +153,7 @@
   error: xyz::openbmc_project::Inventory::Error::NotPresent
   metadata:
     - name: xyz::openbmc_project::Inventory::NotPresent::CALLOUT_INVENTORY_PATH
-      value: /xyz/openbmc_project/inventory/system/chassis/powersupply1
+      value: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1
       type: string
 
 - name: resolve power supply0 errors if present
@@ -187,14 +187,14 @@
   callback: resolve callout
   paths: power supply0
   properties: power supply present
-  callout: /xyz/openbmc_project/inventory/system/chassis/powersupply0
+  callout: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
 
 - name: resolve power supply1 errors
   class: callback
   callback: resolve callout
   paths: power supply1
   properties: power supply present
-  callout: /xyz/openbmc_project/inventory/system/chassis/powersupply1
+  callout: /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1
 
 - name: watch power supply0 present for resolving error logs
   description: >