[SWDEV-520665] Add support for board voltage (#303)

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

---------

Change-Id: Icb25bd653bb1d004704b5a21b378ca31b2b242c7
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>
Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
Dieser Commit ist enthalten in:
Liu, Shuzhou (Bill) verfasst und GitHub committed 2025-05-29 18:55:08 -05:00
1 Ursprung 13148c5d8e
Commit 970560fc7c
11 Dateien geändert
+69 -22

Keine Dateien entsprechen Ihrer Suche

+1
Datei anzeigen
@@ -123,6 +123,7 @@ static const char* short_options = "i:v:m:fr";
static const std::map<uint32_t, std::string> kVoltSensorNameMap = {
{AMDSMI_VOLT_TYPE_VDDGFX, "Vddgfx"},
{AMDSMI_VOLT_TYPE_VDDBOARD, "Vddboard"},
};
static void PrintHelp(void) {