summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/prj.conf
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-03-02 21:06:49 -0700
committerCommit Bot <commit-bot@chromium.org>2022-03-08 18:35:07 +0000
commit2d2cf116d70561677cfe771b042ef5547a96e45c (patch)
tree83a8ed281fb664b95bbd6defdd958cc39d157dc9 /zephyr/test/drivers/prj.conf
parent118006c73105e6f378acc1213ed5705ee24a9326 (diff)
downloadchrome-ec-2d2cf116d70561677cfe771b042ef5547a96e45c.tar.gz
zephyr: test chgstate discharge on/off
Introduce Kconfig values to the drivers tests that match Herobrine and add tests to the console command to enable/disable battery discharge. BRANCH=none BUG=b:221471404 TEST=zmake configure --clobber --test test-drivers Signed-off-by: Yuval Peress <peress@google.com> Change-Id: Ie62b706fdbd684a69b088bb47c97cb3cf091ba98 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3500296 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/prj.conf')
-rw-r--r--zephyr/test/drivers/prj.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index d037ebea5e..34122b4a17 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -80,6 +80,8 @@ CONFIG_PLATFORM_EC_USB_PD_5V_EN_CUSTOM=y
CONFIG_PLATFORM_EC_I2C=y
CONFIG_PLATFORM_EC_BATTERY=y
CONFIG_PLATFORM_EC_BATTERY_SMART=y
+CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC=y
+CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC_CHARGER=y
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR=10
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR_AC=10
CONFIG_PLATFORM_EC_CHARGER_ISL9238=y