[Bugfix][API-1213][AUTOSUSPEND]RING no rise in suspend

Only Configure: No
Affected branch: GSW3.0-No-Connman
Affected module: suspend
Is it addected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: N

Change-Id: I22defb42cd314e56a0c2d0ea3838c1635b7f9d7b
diff --git a/meta-sdk/meta/meta-lynqSDK-T800/recipes-kernel/linux/files/auto2735evb.dts b/meta-sdk/meta/meta-lynqSDK-T800/recipes-kernel/linux/files/auto2735evb.dts
index fa22ff4..c6c19ed 100755
--- a/meta-sdk/meta/meta-lynqSDK-T800/recipes-kernel/linux/files/auto2735evb.dts
+++ b/meta-sdk/meta/meta-lynqSDK-T800/recipes-kernel/linux/files/auto2735evb.dts
@@ -1627,6 +1627,16 @@
             post_mdelay_time = <10>;
         };
     };
+
+    ring_power_004: gpio@004 {
+	gpio_num = <4>;
+        actions_suspend_004:suspend@004 {
+		gpio_mode = <0>;
+                gpio_dir = <1>;
+		gpio_value = <1>;
+	};
+    };
+
     wifi_power_182: gpio@182 {
         valid_absence_of_module = "bcmdhd";
         gpio_num = <182>;
diff --git a/meta/meta-mediatek-mt2735/recipes-lynq/suspend-service/files/autosuspend_wakeup_count.c b/meta/meta-mediatek-mt2735/recipes-lynq/suspend-service/files/autosuspend_wakeup_count.c
index b37724c..8e78587 100755
--- a/meta/meta-mediatek-mt2735/recipes-lynq/suspend-service/files/autosuspend_wakeup_count.c
+++ b/meta/meta-mediatek-mt2735/recipes-lynq/suspend-service/files/autosuspend_wakeup_count.c
@@ -249,9 +249,7 @@
         ALOGI("lynq_screen off fail\n");
         return -1;
     }
-    system("echo mode 4 0 >/sys/devices/platform/10005000.pinctrl/mt_gpio");
-    system("echo out 4 1 >/sys/devices/platform/10005000.pinctrl/mt_gpio");
-    RLOGD("ring GPIO PASS\n");
+
     system("hwclock -w");
     RLOGD("TIME: sys to rtc\n");
     system("echo \"autosuspend:Sys seek\" >/dev/console");