oem_ibm : Sync power bios attribues to dbus

1. Map PowerCapEnable dbus property to hb_power_limit_enable
2. Map PowerCap dbus property to hb_power_limit_in_watts

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I99dbc067c743c7b9a9a73c92e72975af05310dac
diff --git a/oem/ibm/configurations/bios/enum_attrs.json b/oem/ibm/configurations/bios/enum_attrs.json
index 175fda3..d66f01d 100644
--- a/oem/ibm/configurations/bios/enum_attrs.json
+++ b/oem/ibm/configurations/bios/enum_attrs.json
@@ -335,7 +335,15 @@
             "Disabled"
          ],
          "helpText" : "Specifies whether the power limit is enabled.",
-         "displayName" : "Power Limit Enable"
+         "displayName" : "Power Limit Enable",
+         "dbus":
+            {
+               "object_path" : "/xyz/openbmc_project/control/host0/power_cap",
+               "interface" : "xyz.openbmc_project.Control.Power.Cap",
+               "property_name" : "PowerCapEnable",
+               "property_type" : "bool",
+               "property_values" : [true, false]
+            }
       },
       {
          "attribute_name":"hb_secure_ver_lockin_enabled",
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
index 048a093..1d5dcfe 100644
--- a/oem/ibm/configurations/bios/integer_attrs.json
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -79,7 +79,13 @@
          "scalar_increment" : 1,
          "default_value" : 0,
          "helpText" : "Specifies the power limit in watts.",
-         "displayName" : "Power Limit In Watts"
+         "displayName" : "Power Limit In Watts",
+         "dbus":{
+            "object_path" : "/xyz/openbmc_project/control/host0/power_cap",
+            "interface" : "xyz.openbmc_project.Control.Power.Cap",
+            "property_type" : "uint32_t",
+            "property_name" : "PowerCap"
+         }
       },
       {
          "attribute_name" : "hb_max_number_huge_pages",