OSDN Git Service

usb: typec: tcpci: frs sourcing vbus callback
authorBadhri Jagan Sridharan <badhri@google.com>
Thu, 29 Oct 2020 06:31:33 +0000 (23:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 11:56:59 +0000 (12:56 +0100)
commita57d253fc0582d223464705a5103cfb1930a06cd
tree2faea330167170a59f2f58fa42d71c604c80b161
parenta30a00e37ceb094f949e4d96c2c586e6503b5d1d
usb: typec: tcpci: frs sourcing vbus callback

During FRS hardware autonomously starts to source vbus. Provide
callback to perform chip specific operations.

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-6-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c
drivers/usb/typec/tcpm/tcpci.h