diff options
author | CHLin <CHLin56@nuvoton.com> | 2020-09-08 18:22:25 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-25 16:56:44 +0000 |
commit | cd2ce1213b08f8a2365407d39a005918190888b8 (patch) | |
tree | e93585bda2fdb8fcc85e0636ef98e9afa4fdd662 /chip/npcx/gpio-npcx7.c | |
parent | 6aaa7d4a1907b97787dd4b28e727394e3e5eadd6 (diff) | |
download | chrome-ec-cd2ce1213b08f8a2365407d39a005918190888b8.tar.gz |
npcx: add GPIO support for npcx9 and refactor GPIO driver
1. Add GPIO driver support for npcx9.
2. move the GPIO interrupt handler (MIWU) from gpio.h to gpio-npcx5.h,
gpio-npcx7.h, and gpio-npcx9.h separately.
Note: gpio-npcx7.h is a link to gpio-npcx5.h because almost all of the
source codes are the same.
BRANCH=none
BUG=b:165777478
TEST=pass "make buildall"
TEST=with related CLs, build and flash image on the npcx5/7/9 EVB and
yorp; verify GPIO functionality.
Signed-off-by: CHLin <CHLin56@nuvoton.com>
Change-Id: I665507f804ca3772f81f0ff8bd917a633bda2d11
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2402842
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'chip/npcx/gpio-npcx7.c')
l--------- | chip/npcx/gpio-npcx7.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/npcx/gpio-npcx7.c b/chip/npcx/gpio-npcx7.c new file mode 120000 index 0000000000..39b939f44c --- /dev/null +++ b/chip/npcx/gpio-npcx7.c @@ -0,0 +1 @@ +gpio-npcx5.c
\ No newline at end of file |