diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-04-14 23:06:59 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-16 00:12:36 +0000 |
commit | 93c4ac5f985709cec95545e73c52267e2a90a731 (patch) | |
tree | 703249ba65352a3f68a2e96ac8657ed592277849 /zephyr/CMakeLists.txt | |
parent | bb5ea6072edc23b4e258bc19a90881a4c88290fc (diff) | |
download | chrome-ec-93c4ac5f985709cec95545e73c52267e2a90a731.tar.gz |
mp2964: Add PMIC driver
This adds a driver for the mp2964 IMVP9.1 PMIC. This driver enables
programming control registers within the PMIC.
BRANCH=none
BUG=b:185424011
TEST=buildall passes. functional testing was done with the follow-on
patch.
Change-Id: I9b2d89007b5f6933ceeb9a1bcd3bbefb819888a3
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2827950
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/CMakeLists.txt')
-rw-r--r-- | zephyr/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 0dfae5f01b..43930cf139 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -295,10 +295,12 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_LID_ANGLE_UPDATE "${PLATFORM_EC}/common/lid_angle.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_LID_SWITCH "${PLATFORM_EC}/common/lid_switch.c") -zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_MOTIONSENSE - "${PLATFORM_EC}/common/motion_sense.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_MKBP_EVENT "${PLATFORM_EC}/common/mkbp_event.c") +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_MOTIONSENSE + "${PLATFORM_EC}/common/motion_sense.c") +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_MP2964 + "${PLATFORM_EC}/driver/mp2964.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_PORT80 "${PLATFORM_EC}/common/port80.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_POWER_BUTTON |