zephyr,usb-c-vbus-adc

Vendor: Zephyr-specific binding

Description

This device is used to measure VBUS on a Type-C Port and to
discharge VBUS when needed.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

discharge-gpios

phandle-array

output-ohms

int

Resistance of the lower leg of the voltage divider

This property is required.

full-ohms

int

Resistance of the full path through the voltage divider.

If absent or zero the driver assumes that the upper leg is a
resistance-based sensor.

power-gpios

phandle-array

Control power to the voltage divider inputs.

If present the corresponding GPIO must be set to an active level
to enable the divider input.