diff options
author | Andrew McRae <amcrae@google.com> | 2019-11-08 15:47:56 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-14 04:31:44 +0000 |
commit | 86a7e2f4b791ec02da9403781b21ae19e3e6cb1e (patch) | |
tree | b084704c52b7ecb05d424e53c8cbad9ccca4fe27 /include/config.h | |
parent | a4972e187c6ce582aa54dbfce6039fd2239e4bbd (diff) | |
download | chrome-ec-86a7e2f4b791ec02da9403781b21ae19e3e6cb1e.tar.gz |
ec: Add driver for TI INA3221 voltage sensors.
Add driver for TI INA3221 voltage sensors.
Puff has several of these devices, and the EC has access to them.
BRANCH=none
BUG=b:144132145
TEST=EC buildall, tests
Change-Id: I37efd6ce7f154339f002c633e5daf6a18fef05aa
Signed-off-by: Andrew McRae <amcrae@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1903629
Reviewed-by: Shelley Chen <shchen@chromium.org>
Reviewed-by: Andrew McRae <amcrae@chromium.org>
Tested-by: Andrew McRae <amcrae@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h index f7b2ee83e5..e92a20f411 100644 --- a/include/config.h +++ b/include/config.h @@ -2315,11 +2315,13 @@ /* Current/Power monitor */ /* - * Compile driver for INA219 or INA231. These two flags may not be both - * defined. + * Compile driver for INA219 or INA231 or INA3221. + * Only one of these may be defined (if any). */ #undef CONFIG_INA219 #undef CONFIG_INA231 +#undef CONFIG_INA3221 + /*****************************************************************************/ /* Inductive charging */ |