diff options
author | CHLin <CHLIN56@nuvoton.com> | 2019-06-13 14:12:59 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-24 09:33:46 +0000 |
commit | 2d4d05f6667d1fe26f9e9147fe8d6216c0679975 (patch) | |
tree | ebad9db53bf52bbc248cf591fb761d8b949172bb /include | |
parent | db49bc03b9b816e8c902a48478a18b9abe52b9a7 (diff) | |
download | chrome-ec-2d4d05f6667d1fe26f9e9147fe8d6216c0679975.tar.gz |
driver: IO expander: nct38xx: add support for NCT38XX series chips
Nuvoton TCPC NCT38XX series chips have some pins which can be used as
GPIO function. we can treat it as the IO expander chip also.
This commit adds the driver to support it.
BRANCH=none
BUG=none
TEST=No error for "make buildall"
TEST=Apply this and related CLs, manually test each API, make sure each
function works correctly with NCT3807 and NCT3808 at the same time.
Change-Id: I2254c2e867445e55d1c261172e4b7175d22f28ef
Signed-off-by: CHLin <CHLIN56@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1657859
Commit-Queue: CH Lin <chlin56@nuvoton.com>
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 1eae83dc1a..e147b9bfb5 100644 --- a/include/config.h +++ b/include/config.h @@ -2272,6 +2272,9 @@ /******************************************************************************/ +/* Support Nuvoton NCT38xx I/O expander. */ +#undef CONFIG_IO_EXPANDER_NCT38XX + /* Support NXP PCA9534 I/O expander. */ #undef CONFIG_IO_EXPANDER_PCA9534 |