usb: typec: Separate the definitions for data and power roles
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 20 Mar 2018 12:57:05 +0000 (15:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 12:40:10 +0000 (13:40 +0100)
commitceeb162500c3480b660a47d509db7955a7913271
treef532363ff66a205bd47aa6be9e28d9604db7159e
parentfde0aa6c175a4d8aa19e82b86ae0f9278bc8563b
usb: typec: Separate the definitions for data and power roles

USB Type-C specification v1.2 separated the power and data
roles more clearly. Dual-Role-Data term was introduced, and
the meaning of DRP was changed from "Dual-Role-Port" to
"Dual-Role-Power".

In order to allow the port drivers to describe the
capabilities of the ports more clearly according to the
newest specifications, introducing separate definitions for
the data roles.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/class.c
drivers/usb/typec/fusb302/fusb302.c
drivers/usb/typec/tcpm.c
drivers/usb/typec/tps6598x.c
drivers/usb/typec/typec_wcove.c
drivers/usb/typec/ucsi/ucsi.c
include/linux/usb/tcpm.h
include/linux/usb/typec.h