From 7cdce86b60b97e0916819c90ada0a3667f40c3d8 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Tue, 8 Oct 2019 13:41:29 -0600 Subject: icelake: Cleanup GPIO_PCH_DSW_PWROK Change GPIO_EC_PCH_DSW_PWROK to GPIO_PCH_DSW_PWROK to match convention for EC to PCH signals used by other Intel processors (specifically cannonlake already used GPIO_PCH_DSW_PWROK). BUG=none BRANCH=none TEST=buildall -j Change-Id: I59fb8d3ee3867c70dde74c186ba3974490c3cd27 Signed-off-by: Keith Short Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1848252 Reviewed-by: Vijay P Hiremath Reviewed-by: Denis Brockus Reviewed-by: Edward Hill Commit-Queue: Denis Brockus --- power/icelake.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'power/icelake.c') diff --git a/power/icelake.c b/power/icelake.c index 9480c54387..175a4269b3 100644 --- a/power/icelake.c +++ b/power/icelake.c @@ -68,7 +68,7 @@ void chipset_force_shutdown(enum chipset_shutdown_reason reason) gpio_set_level(GPIO_PCH_RSMRST_L, 0); /* Turn off DSW_PWROK to meet tPCH14 */ - gpio_set_level(GPIO_EC_PCH_DSW_PWROK, 0); + gpio_set_level(GPIO_PCH_DSW_PWROK, 0); /* Turn off DSW load switch. */ gpio_set_level(GPIO_EN_PP3300_A, 0); @@ -130,7 +130,7 @@ enum power_state power_handle_state(enum power_state state) * stable and the DSW_PWROK signal being passed to the PCH. */ msleep(10); - gpio_set_level(GPIO_EC_PCH_DSW_PWROK, dswpwrok_in); + gpio_set_level(GPIO_PCH_DSW_PWROK, dswpwrok_in); dswpwrok_out = dswpwrok_in; } @@ -164,7 +164,7 @@ enum power_state power_handle_state(enum power_state state) * stable and the DSW_PWROK signal being passed to the PCH. */ msleep(10); - gpio_set_level(GPIO_EC_PCH_DSW_PWROK, dswpwrok_in); + gpio_set_level(GPIO_PCH_DSW_PWROK, dswpwrok_in); CPRINTS("Pass thru GPIO_DSW_PWROK: %d", dswpwrok_in); dswpwrok_out = dswpwrok_in; -- cgit v1.2.1