Add support for setting VoutSetpoint and NominalTargetVout

Change-Id: I21e0064bcd8c7ba0352954b639556cc2f8af870f
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com>
diff --git a/README.md b/README.md
index 17d33cd..7945e5b 100644
--- a/README.md
+++ b/README.md
@@ -463,8 +463,8 @@
 
 Get the accel's VR setting value for the given chip and settings ID
 
-Currently 4 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline [3]
-VoutMargin
+Currently 6 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline [3]
+VoutMargin [4] VoutSetpoint [5] NominalTargetVout
 
 On success, the response contains 2 bytes containing the setting value.
 
@@ -489,7 +489,8 @@
 
 Update the VR settings of a given accel device for a specific settings id.
 
-Currently 3 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline
+Currently 6 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline [3]
+VoutMargin [4] VoutSetpoint [5] NominalTargetVout
 
 The settings value parameter is a 2 byte value and is expected in little endian
 format
diff --git a/handler_impl.hpp b/handler_impl.hpp
index 3d027f9..1d2c088 100644
--- a/handler_impl.hpp
+++ b/handler_impl.hpp
@@ -108,10 +108,9 @@
         {0x20, "memory_device"}};
 
     const std::unordered_map<uint8_t, std::string> _vrSettingsMap{
-        {0, "idle_mode_"},
-        {1, "power_brake_"},
-        {2, "loadline_"},
-        {3, "vout_margin_"}};
+        {0, "idle_mode_"},     {1, "power_brake_"},
+        {2, "loadline_"},      {3, "vout_margin_"},
+        {4, "vout_setpoint_"}, {5, "nominal_target_vout_"}};
 
     const std::unordered_map<uint8_t, std::string> bmInstanceTypeStringMap = {
         {0x00, "asset-tag"}, {0x01, "board-serial-number"},