summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usba
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.usba')
-rw-r--r--zephyr/Kconfig.usba24
1 files changed, 24 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usba b/zephyr/Kconfig.usba
index 380d277d2c..eba0eb1e37 100644
--- a/zephyr/Kconfig.usba
+++ b/zephyr/Kconfig.usba
@@ -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