summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-05-08 11:49:10 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-05-23 11:03:25 +0000
commitcf7e84977a51885fd3872ecbb7f621508ee9b33c (patch)
tree80c4c1799b238dd815a17a5d0116e72dc58e1633 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw
parent47b348bf10b201fefb257ff7a2668fcf9c5722e5 (diff)
downloadtalos-openbmc-cf7e84977a51885fd3872ecbb7f621508ee9b33c.tar.gz
talos-openbmc-cf7e84977a51885fd3872ecbb7f621508ee9b33c.zip
Add virtual/phosphor-ipmi-inventory-sel
This virtual provides a YAML file that serves as a mapping between inventory and sensor number for phosphor-ipmi-host. Add a native recipe that builds the YAML from the MRW. This is the default for the machines that support obmc-mrw. Resolves openbmc/openbmc#1514 Change-Id: I3d856ab00c34d3e71926b863f207dd69f7fc8f3f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw/config.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw/config.yaml b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw/config.yaml
new file mode 100644
index 000000000..0caa1233b
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel-mrw/config.yaml
@@ -0,0 +1,20 @@
+# Maps the Entity ID to the interested Sensor Type & Offset
+0x01:
+ SensorType: 0x12
+ Offset: 0x02
+
+0x03:
+ SensorType: 0x07
+ Offset: 0x08
+
+0x07:
+ SensorType: 0xC7
+ Offset: 0x00
+
+0x20:
+ SensorType: 0x0C
+ Offset: 0x04
+
+0xD0:
+ SensorType: 0x07
+ Offset: 0x08
OpenPOWER on IntegriCloud