zephyr/drivers/usb_c/tcpc/Kconfig.tcpc_stm32
Sam Hurst f4b2457322 drivers: usb-c: Update TCPC driver to use devicetree Kconfig symbol
Update TCPC driver to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-10-22 18:38:35 -04:00

14 lines
366 B
Plaintext

# USB-C STM32 TCPC device configuration options
# Copyright 2022 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
config USBC_TCPC_STM32
bool "USB-C TCPC device controller driver"
default y
depends on DT_HAS_ST_STM32_UCPD_ENABLED
select USE_STM32_LL_UCPD
help
Enable USB-C TCPC support on the STM32 G0, G4, L5, and U5 family of
processors.