OSDN Git Service

usb: typec: tcpci: Add Callback to Usb Communication capable partner
authorBadhri Jagan Sridharan <badhri@google.com>
Tue, 2 Feb 2021 00:31:00 +0000 (16:31 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Feb 2021 16:38:05 +0000 (17:38 +0100)
commit372a3d0b6b1e92d8138eeaed7366845a235475ef
treea6c37ae7e18c2e37358e38c62dd8e9086824ab13
parenta69bdb283f79949b67632878ef1822badae9299f
usb: typec: tcpci: Add Callback to Usb Communication capable partner

The USB Communications Capable bit indicates if port
partner is capable of communication over the USB data lines
(e.g. D+/- or SS Tx/Rx). TCPM passes this information for chip specific
operations.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20210202003101.221145-2-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c
drivers/usb/typec/tcpm/tcpci.h