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

Hans Ulli Kroll ulli.kroll at googlemail.com
Mon Apr 24 13:06:29 EDT 2017


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 and optionally the Mini-B connector.
> 
> If the device is flagged as "wakeup-source" using the standard
> DT bindings, we also enable this in the global controller for
> respective port.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  drivers/usb/host/Kconfig       |  1 +
>  drivers/usb/host/fotg210-hcd.c | 76 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 77 insertions(+)
> 

please wait for a while, I'm working on some glue code to support both 
host and device mode on FOTG.

Hans Ulli Kroll




More information about the linux-arm-kernel mailing list