I don't have a setup that I can test this code right now.
I did test the tcpci_get_vbus_voltage and on my setup it is always 0.
I don't currently have setup that I can adjust the vbus voltage toIn general, an introductory patch is only useful if there is more than one patch.
trigger the fault.
Angus Ainslie (Purism) (1):
usb: typec: tcpci: add functions to read the VBUS voltage
drivers/usb/typec/tcpm/tcpci.c | 35 ++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)