Re: [PATCH v1 2/2] usb: typec: tcpci: add vconn over current fault handling to maxim_core

From: Guenter Roeck
Date: Tue Nov 28 2023 - 10:11:13 EST


On 11/21/23 12:38, RD Babiera wrote:
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@xxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>