summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usbc
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r--zephyr/Kconfig.usbc10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index 8932e1460e..f00978d5e0 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -400,6 +400,16 @@ config PLATFORM_EC_USB_DRP_ACC_TRYSRC
endchoice # USB-C device type
+config PLATFORM_EC_USB_PD_TRY_SRC
+ bool "Enable Try.SRC mode"
+ depends on PLATFORM_EC_USB_DRP_ACC_TRYSRC
+ default y
+ help
+ This enables Try.SRC mode so that the board will try to be a source
+ for power if the other end offers both options. This can be useful
+ for laptops, for example, since when attaching to a cellphone we want
+ the laptop to charge the phone, not vice versa.
+
endif # PLATFORM_EC_USB_POWER_DELIVERY
menuconfig PLATFORM_EC_USBC_PPC