usb: typec: tcpci_maxim: Enable data path when partner is USB Comm capable
authorBadhri Jagan Sridharan <badhri@google.com>
Tue, 2 Feb 2021 00:31:01 +0000 (16:31 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Feb 2021 16:38:05 +0000 (17:38 +0100)
commit2a16e18c3400f7ab1deb826a98cf52153d03653e
tree27e1668b1df9dc4c03661872bc99b9d33ddc4f10
parent372a3d0b6b1e92d8138eeaed7366845a235475ef
usb: typec: tcpci_maxim: Enable data path when partner is USB Comm capable

Configure USB switches when partner is USB Communication capable.
The is enabled USB data communication over D+/D- pins.

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