[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>
Tá an tiomantas seo le fáil i:
Liu, Shuzhou (Bill) údaraithe agus GitHub tiomanta 2025-05-29 18:55:08 -05:00
1 tuismitheoir 13148c5d8e
tiomantas 970560fc7c
11 comhad athraithe
+69 -22

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -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) {