diff options
author | Badhri Jagan Sridharan <[email protected]> | 2020-10-28 23:31:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-18 12:57:49 +0100 |
commit | e1a97bf80a022cdd7a5746a7de8e19f02203d112 (patch) | |
tree | 30783dfc02a76ca8b04522bccfd806f9f84f6d6b /scripts/gdb/linux/config.py | |
parent | f321a02caebdd0c56e167610cda2fa148cd96e8b (diff) |
usb: typec: tcpci: Implement Auto discharge disconnect callbacks
vImplement callbacks for enabling/disabling
POWER_CONTROL.AutoDischargeDisconnect.
Programs VBUS_SINK_DISCONNECT_THRESHOLD based on the
voltage requested as sink, mode of operation.
The programmed threshold is based on vSinkDisconnect and
vSinkDisconnectPD values.
Add auto_discharge_disconnect to tdata to allow TCPC chip
level drivers enable AutoDischargeDisconnect.
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions