# USB-C VBUS Measurement configuration options

# Copyright 2022 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0

menuconfig USBC_VBUS_DRIVER
	bool "USB-C VBUS drivers"
	help
	  Enable USB-C drivers

if USBC_VBUS_DRIVER

config USBC_VBUS_INIT_PRIORITY
	int "USB-C VBUS driver init priority"
	default 85
	help
	  Initialization priority of the USB-C VBUS measurement drivers in POST_KERNEL.

source "drivers/usb_c/vbus/Kconfig.usbc_vbus_adc"
source "drivers/usb_c/vbus/Kconfig.numaker"
source "drivers/usb_c/vbus/Kconfig.usbc_vbus_tcpci"

endif # USBC_VBUS_DRIVER

module = USBC
module-str = usbc
source "subsys/logging/Kconfig.template.log_config"
