summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2020-10-28 23:31:36 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 12:57:49 +0100
commite1a97bf80a022cdd7a5746a7de8e19f02203d112 (patch)
tree30783dfc02a76ca8b04522bccfd806f9f84f6d6b /drivers/Makefile
parentf321a02caebdd0c56e167610cda2fa148cd96e8b (diff)
downloadlinux-e1a97bf80a022cdd7a5746a7de8e19f02203d112.tar.bz2
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 <badhri@google.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20201029063138.1429760-9-badhri@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions