Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI
From: Oliver Neukum
Date: Wed Feb 17 2016 - 13:56:28 EST
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