Skip to contentSkip to conversation

usb: typec: Separate the definitions for data and power roles

DISCUSSION Heikki Krogerus 1 participant 1 message Mar 12, 2018 USB

lore
Share & tools
lore
#0 lore raw
Quoted 16 lines · Greg Kroah-Hartman
Quoted 10 lines · Heikki Krogerus

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.

Quoted 4 lines
---
 drivers/usb/typec/class.c           | 56 ++++++++++++++++++++++---------------
Quoted 4 lines

This file isn't in the tree, what tree/branch did you make this patch against?

confused,

The patch was made on top of the series we prepared with Hans for the USB muxes [1], which I totally failed to point out. Sorry for that.

Since we need one more round (v7) with those to make the API changes you proposed to the device-connection support, I'll just add this patch to that series. I hope that's okay.

[1] https://lkml.org/lkml/2018/3/2/340

Thanks,