summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-03-17 16:24:36 +1100
committerCommit Bot <commit-bot@chromium.org>2022-03-17 07:47:51 +0000
commit52a0250895cf1167f5c220dcaeda82a5e59d21fa (patch)
tree6a96ed01cf0051702802d2de1112fbcde143eb13
parentb2372919aee3dadb43a9fff734d2abe53a6612e3 (diff)
downloadchrome-ec-release-R101-14588.B-main.tar.gz
Both Nereid and Nivviks chargers allow discharge on AC which can be enabled for testing. BUG=b:224929764 TEST=zmake build nivviks; ectool chargecontrol discharge BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I8aa9c5ae2974b4a402cb8c634a2078fd6580e883 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3529600 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r--zephyr/projects/nissa/prj.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/prj.conf b/zephyr/projects/nissa/prj.conf
index 805f333b7c..b79f8869e9 100644
--- a/zephyr/projects/nissa/prj.conf
+++ b/zephyr/projects/nissa/prj.conf
@@ -136,3 +136,5 @@ CONFIG_PLATFORM_EC_CHARGER=y
CONFIG_PLATFORM_EC_OCPC=y
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR=10
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR_AC=10
+CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC=y
+CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC_CHARGER=y