meta-ampere: mtmitchell: ipmi: support on-board sensor report

Support to report sensor information via IPMI for on-board sensors

Tested:
1. Check sensor report using IPMI sdr command:
$ ipmitool sdr list
OutletTemp       | 28 degrees C      | ok
Psu1InletTemp2   | 32 degrees C      | ok
PcieZoneTemp1    | 30 degrees C      | ok
Psu0InletTemp2   | 29 degrees C      | ok
PcieZoneTemp2    | 28 degrees C      | ok

Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: Ia38519c79596f65f780fe105ee25e8890825a44f
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/configuration/mtmitchell-yaml-config.bb b/meta-ampere/meta-mitchell/recipes-phosphor/configuration/mtmitchell-yaml-config.bb
new file mode 100644
index 0000000..c6e0ab6
--- /dev/null
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/configuration/mtmitchell-yaml-config.bb
@@ -0,0 +1,26 @@
+SUMMARY = "YAML configuration for Mt Mitchell"
+PR = "r1"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+inherit allarch
+
+SRC_URI = " \
+           file://mtmitchell-ipmi-sensors.yaml \
+           file://mtmitchell-ipmi-fru.yaml \
+          "
+
+S = "${WORKDIR}"
+
+do_install() {
+    install -m 0644 -D mtmitchell-ipmi-sensors.yaml \
+        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
+    install -m 0644 -D mtmitchell-ipmi-fru.yaml \
+        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
+}
+
+FILES:${PN}-dev = " \
+                   ${datadir}/${BPN}/ipmi-sensors.yaml \
+                   ${datadir}/${BPN}/ipmi-fru-read.yaml \
+                  "
+
+ALLOW_EMPTY:${PN} = "1"