diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2021-07-22 12:11:19 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-23 02:58:35 +0000 |
commit | a6c0ab97d9074a4b856e1f3162bef48dc0e51f57 (patch) | |
tree | ff956fcc5bcd7f821e1d97cb57792aa5b759c028 /zephyr/Kconfig | |
parent | b00e78a45275dc44245ebf8c91b8209388004d8b (diff) | |
download | chrome-ec-a6c0ab97d9074a4b856e1f3162bef48dc0e51f57.tar.gz |
zephyr: add support for CONFIG_HOSTCMD_REGULATOR
Add Kconfig option to enable host command of voltage regulator control.
BRANCH=none
BUG=b:189855648
TEST=zmake testall
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I3cb8a875f8354f4223d31e2d54319f0fb2690b5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045033
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index ea437bda40..6351eef2bb 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -376,6 +376,13 @@ config PLATFORM_EC_HOSTCMD_GET_UPTIME_INFO the EC has been powered up, the number of AP resets, an optional log of AP-reset events and some flags. +config PLATFORM_EC_HOSTCMD_REGULATOR + bool "Host command of voltage regulator control" + help + Enable host commands (EC_CMD_REGULATOR_) for controlling voltage + regulator. The board should also implement board functions defined in + include/regulator.h. + config PLATFORM_EC_I2C bool "I2C shim" default n if ARCH_POSIX |