meta-p8-systems: Correct OCC path for P8 systems
On P8 systems the occ control objects are changed to named like
occ_<i2c-bus>_<address>
E.g. occ_3_0050 for the occ device on i2c-3, address 0x50.
Update the occ sensor configs to match the change.
Change-Id: If4c3ed2438e9534915e1f1bfa9bbff134ba94f33
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 55303f7..c5a275e 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -28,7 +28,7 @@
set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
0x08:
sensorType: 0x07
- path: /org/open_power/control/occ0
+ path: /org/open_power/control/occ_4_0050
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
@@ -46,7 +46,7 @@
type: bool
0x09:
sensorType: 0x07
- path: /org/open_power/control/occ1
+ path: /org/open_power/control/occ_5_0051
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 55303f7..c5a275e 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -28,7 +28,7 @@
set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
0x08:
sensorType: 0x07
- path: /org/open_power/control/occ0
+ path: /org/open_power/control/occ_4_0050
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
@@ -46,7 +46,7 @@
type: bool
0x09:
sensorType: 0x07
- path: /org/open_power/control/occ1
+ path: /org/open_power/control/occ_5_0051
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 8b0b0cf..ca1ffa7 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -28,7 +28,7 @@
set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
0x08:
sensorType: 0x07
- path: /org/open_power/control/occ0
+ path: /org/open_power/control/occ_3_0050
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 24442cb..f2f947b 100755
--- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -28,7 +28,7 @@
set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
0x08:
sensorType: 0x07
- path: /org/open_power/control/occ0
+ path: /org/open_power/control/occ_3_0050
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
@@ -58,7 +58,7 @@
type: uint32_t
0x0A:
sensorType: 0x07
- path: /org/open_power/control/occ1
+ path: /org/open_power/control/occ_3_0051
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion