diff options
Diffstat (limited to 'zephyr/Kconfig.usb_charger')
-rw-r--r-- | zephyr/Kconfig.usb_charger | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/zephyr/Kconfig.usb_charger b/zephyr/Kconfig.usb_charger index dd167dddae..1c58753412 100644 --- a/zephyr/Kconfig.usb_charger +++ b/zephyr/Kconfig.usb_charger @@ -1,4 +1,4 @@ -# Copyright 2020 The Chromium OS Authors. All rights reserved. +# Copyright 2020 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -16,10 +16,12 @@ config PLATFORM_EC_USB_CHARGER if PLATFORM_EC_USB_CHARGER config PLATFORM_EC_USB_CHARGER_SINGLE_TASK - bool "Run all charger code in a single task" + bool default y help - Run all USB charger code in a single task rather than a task per port. + Helper symbol use in the common EC code for Zephyr specific charger + changes. + config PLATFORM_EC_BC12_DETECT_DATA_ROLE_TRIGGER bool @@ -27,6 +29,14 @@ config PLATFORM_EC_BC12_DETECT_DATA_ROLE_TRIGGER This is a helper symbol that indicates the BC1.2 chip needs to be triggered on data role swaps in addition to VBUS changes. +config PLATFORM_EC_BC12_CLIENT_MODE_ONLY_PI3USB9201 + bool "Run as BC1.2 client while using PI3USB9201" + depends on PLATFORM_EC_BC12_DETECT_PI3USB9201 + default n + help + This is a helper symbol that indicates the PI3USB9201 will only + advertise itself as a BC1.2 client, not a BC1.2 host. + config PLATFORM_EC_BC12_DETECT_PI3USB9201 bool "Enable support for Pericom PI3USB9201" select PLATFORM_EC_BC12_DETECT_DATA_ROLE_TRIGGER |