diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2020-08-04 15:11:27 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-04 12:29:17 +0000 |
commit | ff9651857bed29d16f3bcfbc17ef0bac4d4ed4ff (patch) | |
tree | b1490fb59584c8a05acb2ef665fbadd5a7297331 /chip/it83xx/gpio.c | |
parent | 9a96e4e5c6685966210bbda4aed5f2848fd11d09 (diff) | |
download | chrome-ec-ff9651857bed29d16f3bcfbc17ef0bac4d4ed4ff.tar.gz |
it83xx: Add support for interrupt and 1.8v selection of GPJ7
BUG=b:162805450
BRANCH=none
TEST=not yet
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: Ie1525b8a0f67a4700649163b536d09bef9a9671a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335518
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'chip/it83xx/gpio.c')
-rw-r--r-- | chip/it83xx/gpio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chip/it83xx/gpio.c b/chip/it83xx/gpio.c index 12017c9f26..f6951fd3e0 100644 --- a/chip/it83xx/gpio.c +++ b/chip/it83xx/gpio.c @@ -185,6 +185,7 @@ static const struct { [IT83XX_IRQ_WKO132] = {GPIO_J, BIT(4), 14, BIT(4)}, [IT83XX_IRQ_WKO133] = {GPIO_J, BIT(5), 14, BIT(5)}, [IT83XX_IRQ_WKO134] = {GPIO_J, BIT(6), 14, BIT(6)}, + [IT83XX_IRQ_WKO135] = {GPIO_J, BIT(7), 14, BIT(7)}, [IT83XX_IRQ_WKO136] = {GPIO_L, BIT(0), 15, BIT(0)}, [IT83XX_IRQ_WKO137] = {GPIO_L, BIT(1), 15, BIT(1)}, [IT83XX_IRQ_WKO138] = {GPIO_L, BIT(2), 15, BIT(2)}, @@ -320,7 +321,8 @@ static const struct gpio_1p8v_t gpio_1p8v_sel[GPIO_PORT_COUNT][8] = { [3] = {&IT83XX_GPIO_GRC23, BIT(3)}, [4] = {&IT83XX_GPIO_GCR27, BIT(0)}, [5] = {&IT83XX_GPIO_GCR27, BIT(1)}, - [6] = {&IT83XX_GPIO_GCR27, BIT(2)} }, + [6] = {&IT83XX_GPIO_GCR27, BIT(2)}, + [7] = {&IT83XX_GPIO_GCR33, BIT(2)} }, [GPIO_K] = { [0] = {&IT83XX_GPIO_GCR26, BIT(0)}, [1] = {&IT83XX_GPIO_GCR26, BIT(1)}, [2] = {&IT83XX_GPIO_GCR26, BIT(2)}, |