zephyr/drivers/usb_c/vbus/Kconfig.usbc_vbus_adc
Sam Hurst 505892f1bb usb-c: Add USB-C VBUS ADC driver
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>
2022-10-22 18:38:35 -04:00

12 lines
287 B
Plaintext

# USB-C VBUS device configuration options
# Copyright 2022 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
config USBC_VBUS_ADC
bool "USB-C VBUS ADC"
default y
depends on DT_HAS_ZEPHYR_USB_C_VBUS_ADC_ENABLED
help
Measure VBUS with an ADC through a voltage divider