openpower_occ_control: Support new APSS sensor IDs
Add APSS sensor IDs and Names to powerSensorName.
Tested: command line occ poll, occ sensors.
Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
Change-Id: Ia9b0040fbf97d2c2f07c18b343fba6a064ccdcb0
diff --git a/occ_manager.hpp b/occ_manager.hpp
index d3388e8..87a4c1b 100644
--- a/occ_manager.hpp
+++ b/occ_manager.hpp
@@ -393,9 +393,14 @@
{"16", "fans_a_power"}, {"17", "fans_b_power"},
{"18", "storage_a_power"}, {"19", "storage_b_power"},
{"23", "mem_cache_power"}, {"25", "p0_mem_0_power"},
- {"26", "p0_mem_1_power"}, {"27", "p0_mem_2_power"}};
+ {"26", "p0_mem_1_power"}, {"27", "p0_mem_2_power"},
+ {"35", "pcie_dcm0_power"}, {"36", "pcie_dcm1_power"},
+ {"37", "pcie_dcm2_power"}, {"38", "pcie_dcm3_power"},
+ {"39", "io_dcm0_power"}, {"40", "io_dcm1_power"},
+ {"41", "io_dcm2_power"}, {"42", "io_dcm3_power"},
+ {"43", "avdd_total_power"}};
- /** @brief The dimm temperature sensor names map */
+ /** @brief The dimm temperature sensor names map */
const std::map<uint32_t, std::string> dimmTempSensorName = {
{internalMemCtlr, "_intmb_temp"},
{dimm, "_dram_temp"},