commit | 2832f2cdd6b04c0359cb5ba712e3b88be7ce1c26 | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Tue Feb 04 22:29:30 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 7208db1cbecb47cf8cfe34b55663233b138a94a7 | |
parent | 765cf03dfed4da20ea0418a509c49b033fcbef3a [diff] [blame] |
host-bmc: Implement VRM interface Adds support to host Voltage Regulator Module interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The VRM interface is defined at [1]. Tested: Functional test passed [1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Vrm.interface.yaml Change-Id: I5124de5f34d3a482d17f1859ecfe8704901c5fad Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index 4278025..f29591e 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1175,6 +1175,9 @@ CustomDBus::getCustomDBus().implementPanelInterface( entity.first); break; + case PLDM_ENTITY_POWER_CONVERTER: + CustomDBus::getCustomDBus().implementVRMInterface(entity.first); + break; case PLDM_ENTITY_SLOT: CustomDBus::getCustomDBus().implementPCIeSlotInterface( entity.first);