diff options
author | 2020-12-01 20:08:39 -0800 | |
---|---|---|
committer | 2020-12-09 14:49:54 +0100 | |
commit | 766c485b86ef52765926b69a1145cadcf2db1e7d (patch) | |
tree | 941c45885b08152e39bc78a8efb1e652fa86cea2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | usb: typec: tcpm: Introduce vsafe0v for vbus (diff) | |
download | linux-dev-766c485b86ef52765926b69a1145cadcf2db1e7d.tar.xz linux-dev-766c485b86ef52765926b69a1145cadcf2db1e7d.zip |
usb: typec: tcpci: Add support to report vSafe0V
This change adds vbus_vsafe0v which when set, makes TCPM
query for VSAFE0V by assigning the tcpc.is_vbus_vsafe0v callback.
Also enables ALERT.ExtendedStatus which is triggered when
status of EXTENDED_STATUS.vSafe0V changes.
EXTENDED_STATUS.vSafe0V is set when vbus is at vSafe0V and
cleared otherwise.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20201202040840.663578-2-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions