mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 05:52:47 +00:00
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>
12 lines
287 B
Plaintext
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
|