summaryrefslogtreecommitdiff
path: root/driver/build.mk
diff options
context:
space:
mode:
authorCHLin <CHLIN56@nuvoton.com>2019-06-13 14:12:59 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-24 09:33:46 +0000
commit2d4d05f6667d1fe26f9e9147fe8d6216c0679975 (patch)
treeebad9db53bf52bbc248cf591fb761d8b949172bb /driver/build.mk
parentdb49bc03b9b816e8c902a48478a18b9abe52b9a7 (diff)
downloadchrome-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 'driver/build.mk')
-rw-r--r--driver/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/build.mk b/driver/build.mk
index 8b5a26a2db..1e8dfa22a7 100644
--- a/driver/build.mk
+++ b/driver/build.mk
@@ -73,6 +73,8 @@ driver-$(CONFIG_CHARGER_SY21612)+=charger/sy21612.o
# I/O expander
driver-$(CONFIG_IO_EXPANDER_PCA9534)+=ioexpander_pca9534.o
+driver-$(CONFIG_IO_EXPANDER_NCT38XX)+=ioexpander_nct38xx.o
+
# Current/Power monitor
driver-$(CONFIG_INA219)$(CONFIG_INA231)+=ina2xx.o