[SWDEV-539845] Add support for board voltage (#92)

* Add the API and CLI to show the board voltage.

---------

Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>
Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Co-authored-by: Liu, Shuzhou (Bill) <Shuzhou.Liu@amd.com>
This commit is contained in:
Castillo, Juan
2025-07-03 01:58:50 -05:00
committed by GitHub
parent 55ab9b2bda
commit bab82d98b7
3 changed files with 14 additions and 5 deletions
+4 -3
View File
@@ -522,9 +522,10 @@ typedef enum {
typedef enum {
RSMI_VOLT_TYPE_FIRST = 0,
RSMI_VOLT_TYPE_VDDGFX = RSMI_VOLT_TYPE_FIRST, //!< Vddgfx GPU
//!< voltage
RSMI_VOLT_TYPE_LAST = RSMI_VOLT_TYPE_VDDGFX,
RSMI_VOLT_TYPE_VDDGFX = RSMI_VOLT_TYPE_FIRST, //!< Vddgfx GPU voltage
RSMI_VOLT_TYPE_VDDBOARD, //!< Voltage for VDDBOARD
RSMI_VOLT_TYPE_LAST = RSMI_VOLT_TYPE_VDDBOARD,
RSMI_VOLT_TYPE_INVALID = 0xFFFFFFFF //!< Invalid type
} rsmi_voltage_type_t;