diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-11-09 23:05:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-11 12:18:56 +0300 |
commit | 00fb05ff87bc63a3e9000e3f7c15c86951aca76d (patch) | |
tree | 88b6b341a242d721e971025334c0de164e19f178 /drivers/usb/fotg210/fotg210-udc.c | |
parent | d65e6b6e884a38360fc1cadf8ff31858151da57f (diff) | |
download | linux-00fb05ff87bc63a3e9000e3f7c15c86951aca76d.tar.xz |
usb: fotg2: add Gemini-specific handling
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@linaro.org>
Link: https://lore.kernel.org/r/20221109200554.1957185-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/fotg210/fotg210-udc.c')
0 files changed, 0 insertions, 0 deletions