summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.pmic
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-04-14 23:06:59 -0700
committerCommit Bot <commit-bot@chromium.org>2021-04-16 00:12:36 +0000
commit93c4ac5f985709cec95545e73c52267e2a90a731 (patch)
tree703249ba65352a3f68a2e96ac8657ed592277849 /zephyr/Kconfig.pmic
parentbb5ea6072edc23b4e258bc19a90881a4c88290fc (diff)
downloadchrome-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/Kconfig.pmic')
-rw-r--r--zephyr/Kconfig.pmic27
1 files changed, 27 insertions, 0 deletions
diff --git a/zephyr/Kconfig.pmic b/zephyr/Kconfig.pmic
new file mode 100644
index 0000000000..dc79305439
--- /dev/null
+++ b/zephyr/Kconfig.pmic
@@ -0,0 +1,27 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+menuconfig PLATFORM_EC_PMIC
+ bool "Power Management IC support"
+ help
+ Enables support for controlling PMICs (Power Management ICs).
+ A system may have one or more PMICs to control various power
+ rails. These devices operate autonomously, but can sometimes
+ be accessed to tune operational parameters or read fault
+ codes.
+
+if PLATFORM_EC_PMIC
+
+config PLATFORM_EC_MP2964
+ bool "Enable MP2964 PMIC support"
+ depends on AP_X86_INTEL
+ depends on PLATFORM_EC_I2C
+ help
+ Enables support for the MPS MP2964 PMIC (Power Management IC).
+ This is a dual rail IMVP8 - IMVP9.1 compatible Digital
+ Multi-Phase Controller with an I2C interface. This driver
+ enables reprogramming configuration registers when initial the
+ factory settings need to be tuned in prototype devices.
+
+endif # PLATFORM_EC_PMIC