diff options
author | Yuval Peress <peress@google.com> | 2021-09-29 22:07:41 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-01 17:45:15 +0000 |
commit | a94daa8412b6e936c96d68bb3e5c607fde9b0972 (patch) | |
tree | 43a59efe06dba8eae72b21e3e87202d956dbf28a /zephyr/Kconfig.battery | |
parent | d5ad74574f5bf884bd1642914f522136d4218c2c (diff) | |
download | chrome-ec-a94daa8412b6e936c96d68bb3e5c607fde9b0972.tar.gz |
zephyr: charger: Allow multiple (different) chips
There's no real restriction that the same chip needs to be used for
charging. Remove 'choice' and allow multiple charging drivers to be
set for the same board. This change also requires re-naming the
mutex to avoid conflict because of the way Zephyr allocates them.
BRANCH=none
BUG=b:201602829
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I522247bc7dbdae6d6c360a37dfbc1031f4058983
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3195199
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r-- | zephyr/Kconfig.battery | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery index c1753ccefc..add095ce8e 100644 --- a/zephyr/Kconfig.battery +++ b/zephyr/Kconfig.battery @@ -99,12 +99,6 @@ config PLATFORM_EC_I2C_VIRTUAL_BATTERY return desired data to host instead of issuing I2C transaction every time. -choice "Charger select" - prompt "Select the charger to use" - help - Select the battery charger IC used on the board. Only one charger may - be selected. - config PLATFORM_EC_CHARGER_ISL9237 bool "Use the ISL9237 charger" depends on PLATFORM_EC_I2C @@ -180,8 +174,6 @@ config PLATFORM_EC_CHARGER_BQ25720 wide range of input power sources are supported such as high voltage USB-C power delivery. -endchoice # "Charger select" - config PLATFORM_EC_CHARGER_DISCHARGE_ON_AC bool "Board supports discharge mode" help |