diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-04-03 08:34:02 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-07 21:11:45 +0000 |
commit | d67828082c65c0b4091265a16a78863ae0928997 (patch) | |
tree | daf93426bb9f89edac79b7acee83a04b87381e49 /meta-openbmc-machines | |
parent | d4017b9b05361bebd4bbab522b69de317226e442 (diff) | |
download | talos-openbmc-d67828082c65c0b4091265a16a78863ae0928997.tar.gz talos-openbmc-d67828082c65c0b4091265a16a78863ae0928997.zip |
Inventory: Add functional/presence sensor support for palmetto
Add the config.yaml which defines the mapping between
sensor numbers and Dbus Properties(present,functional)
for CPU,Core and DIMM inventory objects.
Change-Id: I5d720b09135c2b7b95e705a607c9f2a18373ec54
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
2 files changed, 290 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 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 new file mode 100755 index 000000000..195b084b4 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml @@ -0,0 +1,289 @@ +0x1e: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm0 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: true + deassert: false + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + assert: false + deassert: true + type: bool +0x1f: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm1 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: true + deassert: false + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + assert: false + deassert: true + type: bool +0x20: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm2 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: true + deassert: false + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + assert: false + deassert: true + type: bool +0x21: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm3 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: true + deassert: false + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + assert: false + deassert: true + type: bool +0x2f: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x22: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core0 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x23: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core1 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x24: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core2 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x25: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core3 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x26: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core4 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x27: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core5 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x28: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core6 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x29: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core7 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x2a: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core8 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x2b: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core9 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x2c: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core10 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool +0x2d: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core11 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x08: + deassert: true + assert: false + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + 0x07: + deassert: false + assert: true + type: bool |