This commit adds a VBUS driver the uses an ADC connected to a voltage divider to measure VBUS. Signed-off-by: Sam Hurst <sbh1187@gmail.com>
19 lines
396 B
Text
19 lines
396 B
Text
# 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
|
|
|
|
source "drivers/usb_c/vbus/Kconfig.usbc_vbus_adc"
|
|
|
|
endif # USBC_VBUS_DRIVER
|
|
|
|
module = USBC
|
|
module-str = usbc
|
|
source "subsys/logging/Kconfig.template.log_config"
|