Re: [PATCH v17 2/3] usb: USB Type-C connector class
From: Oliver Neukum
Date: Mon Mar 06 2017 - 05:22:59 EST
Am Freitag, den 03.03.2017, 20:27 +0100 schrieb Mats Karrman:
> On 2017-03-03 13:59, Heikki Krogerus wrote:
>
> >
> > On Fri, Mar 03, 2017 at 08:29:18AM +0100, Mats Karrman wrote:
> > ....
>
> >
> > How would something like that sound to you guys?
>
> Complicated... Need to marinate on that for a while ;)
The thing is that a type C plug has operations that affect every
device on it and need to be synchronized. Reset and power
requirements would be the obvious examples.
It seems to me that the natural way to represent this is a bus.
Like SCSI where you have a bus reset operation.
Regards
Oliver