Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

From: Oliver Neukum
Date: Wed Feb 17 2016 - 08:54:27 EST


On Wed, 2016-02-17 at 15:34 +0200, Felipe Balbi wrote:
> Hi,
>
> Oliver Neukum <oneukum@xxxxxxxx> writes:
> >> > The API to user space. That is the point. We cannot break user space.
> >> > Once this sysfs API is upstream we are stuck with it.
> >>
> >> yeah, in fact I have been wondering if sysfs is the best interface to
> >
> > That is the discussion we must have.
> >
> >> userspace. I talked with Heikki a few days back about this; I was
> >> wondering if something like what the NFC folks did with netlink would be
> >> better here.
> >
> > I doubt that, because the main user is likely to be udev scripts.
>
> I'm entirely sure about this. I think it's not too far-fetched to think

What exactly are you sure about about?

> that, eventually, we will need an actual stack exposed for the CC pin.

The raw CC pin? What about the timing requirement?

Regards
Oliver