On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the data role randomly with DRP ports. When USB PD is > supported, also independent (from data role) power role swapping can > be supported together with Alternate Mode control. What about S4? We need to restore the alternate mode upon resume, if we are the DFP and as that might involve storage devices it needs to be done in kernel space. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html