OSDN Git Service

usb: typec: tcpci_maxim: Chip level TCPC driver
authorBadhri Jagan Sridharan <badhri@google.com>
Thu, 8 Oct 2020 06:15:45 +0000 (23:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2020 07:27:42 +0000 (09:27 +0200)
commit6f413b559f86a2894188e082e389ff95ee428345
treebdc4f18cdbdb1468d3dd29d1bad0307a63a0a95b
parentb9358a068490d0a590a860a75869853f0b6e8aee
usb: typec: tcpci_maxim: Chip level TCPC driver

Chip level TCPC driver for Maxim's TCPCI implementation.
This TCPC implementation does not support the following
commands: COMMAND.SinkVbus, COMMAND.SourceVbusDefaultVoltage,
COMMAND.SourceVbusHighVoltage. Instead the sinking and sourcing
from vbus is supported by writes to custom registers.

Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20201008061556.1402293-5-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/Kconfig
drivers/usb/typec/tcpm/Makefile
drivers/usb/typec/tcpm/tcpci.h
drivers/usb/typec/tcpm/tcpci_maxim.c [new file with mode: 0644]