Re: [PATCH 4/5 v3] usb: host: fotg2: add Gemini-specific handling

2017-04-25 Thread Linus Walleij
On Mon, Apr 24, 2017 at 7:06 PM, Hans Ulli Kroll wrote: > please wait for a while, I'm working on some glue code to support both > host and device mode on FOTG. Sure no problem, sorry for being so impatient, it's a character trait. I sent out bindings and drivers for

Re: [PATCH 4/5 v3] usb: host: fotg2: add Gemini-specific handling

2017-04-24 Thread Hans Ulli Kroll
Hi Linus On Fri, 21 Apr 2017, Linus Walleij wrote: > The Cortina Systems Gemini has bolted on a PHY inside the > silicon that can be handled by six bits in a MISC register in > the system controller. > > If we are running on Gemini, look up a syscon regmap through > a phandle and enable VBUS

[PATCH 4/5 v3] usb: host: fotg2: add Gemini-specific handling

2017-04-21 Thread Linus Walleij
The Cortina Systems Gemini has bolted on a PHY inside the silicon that can be handled by six bits in a MISC register in the system controller. If we are running on Gemini, look up a syscon regmap through a phandle and enable VBUS and optionally the Mini-B connector. If the device is flagged as