summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usba
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.usba')
-rw-r--r--zephyr/Kconfig.usba26
1 files changed, 25 insertions, 1 deletions
diff --git a/zephyr/Kconfig.usba b/zephyr/Kconfig.usba
index 380d277d2c..8abbe839f6 100644
--- a/zephyr/Kconfig.usba
+++ b/zephyr/Kconfig.usba
@@ -1,4 +1,4 @@
-# Copyright 2022 The Chromium OS Authors. All rights reserved.
+# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -81,6 +81,30 @@ config PLATFORM_EC_USB_PORT_POWER_SMART_INVERTED
is inverted, meaning a low value indicates a high current limit and a
high value requests a low current limit.
+choice PLATFORM_EC_USBA_PORT_POWER_SMART_DEFAULT_MODE
+ prompt "Port power smart charging default mode"
+ default PLATFORM_EC_USB_PORT_POWER_SMART_DEFAULT_SDP
+
+config PLATFORM_EC_USB_PORT_POWER_SMART_DEFAULT_DISABLED
+ bool "Disabled"
+ help
+ USB-A ports charging mode default set to disabled.
+ If set, the USB-A charging mode is disabled.
+
+config PLATFORM_EC_USB_PORT_POWER_SMART_DEFAULT_SDP
+ bool "SDP"
+ help
+ USB-A ports charging mode default set to Standard Downstream
+ Port, USB 2.0 mode.
+
+config PLATFORM_EC_USB_PORT_POWER_SMART_DEFAULT_CDP
+ bool "CDP"
+ help
+ USB-A ports charging mode default set to Charging Downstream
+ Port, BC 1.2.
+
+endchoice
+
endif # PLATFORM_EC_USB_PORT_POWER_SMART
endif # PLATFORM_EC_USBA