From 848ccf1029c2883c152eb17158ac6120dfa48378 Mon Sep 17 00:00:00 2001 From: Josh Tsai Date: Wed, 16 Jun 2021 11:15:07 +0800 Subject: Cret: Modified NPCX7_PWM1_SEL defination to 1 In Cret board, GPIOC1 is the power button signal from EC to PCH, if NPCX7_PWM1_SEL set to 0, it will cause the power button signal can't be controlled by EC. So we need to change the NPCX7_PWM1_SEL to 1. BUG=b:191184363 BRANCH=dedede TEST=DUT can resume from S0ix by press power button, GPIOC1 can be asserted when press power button. Signed-off-by: Josh Tsai Change-Id: I64a600a02791fa73db28d4315eb287622d114675 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2965804 Reviewed-by: Elthan Huang Reviewed-by: Aseda Aboagye Tested-by: Elthan Huang Commit-Queue: Aseda Aboagye --- board/cret/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/cret/board.h b/board/cret/board.h index cb61902d61..02f0b0bc29 100644 --- a/board/cret/board.h +++ b/board/cret/board.h @@ -46,7 +46,7 @@ /* PWM */ #define CONFIG_PWM -#define NPCX7_PWM1_SEL 0 /* GPIO C2 is used as PWM1. */ +#define NPCX7_PWM1_SEL 1 /* GPIO C2 is used as PWM1. */ /* USB */ #define CONFIG_BC12_DETECT_PI3USB9201 -- cgit v1.2.1