diff options
author | RD Babiera <rdbabiera@google.com> | 2023-11-21 23:38:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-04 16:29:51 +0300 |
commit | 5e4c8814a431d21bfaf20b464134f40f2f81e152 (patch) | |
tree | d70917cb479a5596b0343ff6d5c11b9dca815f18 /scripts/gdb/linux/device.py | |
parent | db9e54709895241dda23f9347f619afb15291353 (diff) | |
download | linux-5e4c8814a431d21bfaf20b464134f40f2f81e152.tar.xz |
usb: typec: tcpci: add vconn over current fault handling to maxim_core
Add TCPC_FAULT_STATUS_VCONN_OC constant and corresponding mask definition.
Maxim TCPC is capable of detecting VConn over current faults, so add
fault to alert mask. When a Vconn over current fault is triggered, put the
port in an error recovery state via tcpm_port_error_recovery.
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231121203845.170234-6-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions