lkml.org 
[lkml]   [2019]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/1] usb: typec: tcpci: read the VBUS_VOLTAGE register
From
Date
On 5/7/19 5:40 PM, Angus Ainslie (Purism) wrote:
> 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.
>

Odd. PTN5110 is supposed to support it, though the datasheet is a bit vague about it.
It may be disabled. Did you check the status of POWER_CONTROL.VBUS_VOLTAGEMonitor ?

> I don't currently have setup that I can adjust the vbus voltage to
> 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(+)
>
In general, an introductory patch is only useful if there is more than one patch.

Thanks,
Guenter

\
 
 \ /
  Last update: 2019-05-08 03:48    [W:0.045 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site