summaryrefslogtreecommitdiff
path: root/zephyr/test/kingler/Kconfig
diff options
context:
space:
mode:
authorSiyu Qin <qinsiyu@huaqin.corp-partner.google.com>2023-02-09 17:48:49 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-29 13:39:39 +0000
commit9e9983c44d17aaf64469aa4e0535bb6754c042a4 (patch)
tree92a39bb21a209e9d0329f992d2b2730f48a83a2a /zephyr/test/kingler/Kconfig
parentcec6e36084ca76f4d30f9f929ea3dfb2fa6ceb30 (diff)
downloadchrome-ec-9e9983c44d17aaf64469aa4e0535bb6754c042a4.tar.gz
voltorb: limit type-c output current in S3
According to OEM requirement, if battery power is lower than 30% in S3, the type-c output current should be limited to 1.5A. For devices that support PD, change source PDO to 1.5A. BUG=b:270837688 BRANCH=corsola TEST=1. zmake build voltorb 2. ./twister --coverage -v -i -T zephyr/test/kingler Change-Id: I3852a96084f322875fa1117fd41a0b79c6d09afa Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4235510 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Diffstat (limited to 'zephyr/test/kingler/Kconfig')
-rw-r--r--zephyr/test/kingler/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/test/kingler/Kconfig b/zephyr/test/kingler/Kconfig
index 930185a5ef..a8449fe8c6 100644
--- a/zephyr/test/kingler/Kconfig
+++ b/zephyr/test/kingler/Kconfig
@@ -53,4 +53,17 @@ config TEST_KINGLER_CCD
help
Include alt_sensor.c into the binary to test the alt sensor probe via
SSFC.
+
+config TEST_VOLTORB
+ bool "Run the tests intended for voltorb"
+ help
+ Include voltorb_usbc.c into the binary to test the type-c output
+ current limit function.
+
+config TEST_USB_PD_POLICY
+ bool "Run the tests intended for voltorb usb policy"
+ help
+ Include voltorb_usbc.c into the binary to test the type-c output
+ current limit function.
+
source "Kconfig.zephyr"