GPIO-keys & IIO-HWMON Name and Compatible check based on linux 4.10

Resolves openbmc/openbmc-test-automation#747

Change-Id: I2846f09fa665944f8cb86a9661956b985115ac25
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/test_lists/skip_test_barreleye b/test_lists/skip_test_barreleye
index 1ab16dc..007aafb 100644
--- a/test_lists/skip_test_barreleye
+++ b/test_lists/skip_test_barreleye
@@ -33,6 +33,10 @@
 -e Verify_Setting_OCC_Turbo_Via_REST
 -e Check_BMC_GPIO_FSI_Name_Property_Is_Set
 -e Check_BMC_GPIO_FSI_Compatible_Property_Is_Set
+-e Check_BMC_GPIO_keys_Name_Property_Is_Set
+-e Check_BMC_GPIO_keys_Compatible_Property_Is_Set
+-e Check_BMC_IIO-HWMON_Name_Property_Is_Set
+-e Check_BMC_IIO-HWMON_Compatible_Property_Is_Set
 #https://github.com/openbmc/openbmc/issues/1283
 -e Inventory
 # NA until VPD is programmed on systems
diff --git a/test_lists/skip_test_palmetto b/test_lists/skip_test_palmetto
index d57998f..7122418 100644
--- a/test_lists/skip_test_palmetto
+++ b/test_lists/skip_test_palmetto
@@ -40,6 +40,10 @@
 -e LED_Group
 -e Check_BMC_GPIO_FSI_Name_Property_Is_Set
 -e Check_BMC_GPIO_FSI_Compatible_Property_Is_Set
+-e Check_BMC_GPIO_keys_Name_Property_Is_Set
+-e Check_BMC_GPIO_keys_Compatible_Property_Is_Set
+-e Check_BMC_IIO-HWMON_Name_Property_Is_Set
+-e Check_BMC_IIO-HWMON_Compatible_Property_Is_Set
 #https://github.com/openbmc/openbmc/issues/1283
 -e Inventory
 # NA until VPD is programmed on systems
diff --git a/tests/test_bmc_devicetree.robot b/tests/test_bmc_devicetree.robot
index fa3f94b..1b4e7ff 100644
--- a/tests/test_bmc_devicetree.robot
+++ b/tests/test_bmc_devicetree.robot
@@ -90,6 +90,38 @@
    [Tags]  Check_BMC_GPIO_FSI_Compatible_Property_Is_Set
    [Template]  Template Check Property
 
+Check BMC GPIO-keys Name Property Is Set
+   #Property
+   gpio-keys/name
+   [Documentation]  Verify if the BMC GPIO-keys name property is
+   ...  populated.
+   [Tags]  Check_BMC_GPIO_keys_Name_Property_Is_Set
+   [Template]  Template Check Property
+
+Check BMC GPIO-keys Compatible Property Is Set
+   #Property
+   gpio-keys/compatible
+   [Documentation]  Verify if the BMC GPIO-keys compatible property is
+   ...  populated.
+   [Tags]  Check_BMC_GPIO_keys_Compatible_Property_Is_Set
+   [Template]  Template Check Property
+
+Check BMC IIO-HWMON Name Property Is Set
+   #Property
+   iio-hwmon/name
+   [Documentation]  Verify if the BMC IIO-HWMON name property is
+   ...  populated.
+   [Tags]  Check_BMC_IIO-HWMON_Name_Property_Is_Set
+   [Template]  Template Check Property
+
+Check BMC IIO-HWMON Compatible Property Is Set
+   #Property
+   iio-hwmon/compatible
+   [Documentation]  Verify if the BMC IIO-HWMON compatible property is
+   ...  populated.
+   [Tags]  Check_BMC_IIO-HWMON_Compatible_Property_Is_Set
+   [Template]  Template Check Property
+
 Check BMC LED Name Property Is Set
    #Property
    leds/name