Re: [PATCH 1/3] usb: USB Type-C Connector Class
From: Heikki Krogerus
Date: Thu Feb 11 2016 - 09:51:41 EST
On Thu, Feb 11, 2016 at 10:08:14AM +0100, Oliver Neukum wrote:
> I would think that user space should be able to preselect
> that we always want to be upstream or downstream or flexible.
Agreed.
> And it should be able to preemptively disallow power delivery
> even if no cable is present.
By power delivery you mean power sourcing, not USB PD, right? So
basically being able to preselect also power_role?
That is OK by me, but we need to remember that it's something that is
only possible when both our connector and also the partner support USB
PD. Otherwise the power role will be based on the data role. So when
USB PD is not supported, host is always the source and the device
always the sink.
Thanks,
--
heikki