1# USBC TCPC configuration options 2 3# Copyright 2022 The Chromium OS Authors 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig USBC_TCPC_DRIVER 7 bool "USB-C TCPC drivers" 8 help 9 Enable USB TypeC Port Controller (TCPC) drivers 10 11if USBC_TCPC_DRIVER 12 13config USBC_TCPC_INIT_PRIORITY 14 int "USB-C TCPC driver init priority" 15 default 80 16 help 17 USB-C device driver initialization priority. 18 Do not mess with it unless you know what you are doing. 19 Note that the priority needs to be lower than the USBC stack 20 so that it can start before the USBC sub-system. 21 22config USBC_TCPC_SHELL 23 bool "Shell commands for TCPC subsystem" 24 help 25 Enable support for TCPC shell commands that helps with USB-C diagnostics. 26 Example functions are printing vbus, chip information and dumping registers. 27 28source "drivers/usb_c/tcpc/Kconfig.tcpc_stm32" 29source "drivers/usb_c/tcpc/Kconfig.tcpc_numaker" 30source "drivers/usb_c/tcpc/Kconfig.tcpc_tcpci" 31source "drivers/usb_c/tcpc/Kconfig.tcpc_ps8xxx" 32 33module = USBC 34module-str = usbc 35source "subsys/logging/Kconfig.template.log_config" 36 37endif # USBC_TCPC_DRIVER 38