summaryrefslogtreecommitdiff
path: root/drivers/usb/fotg210/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-11-09 21:05:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-11 10:18:56 +0100
commit00fb05ff87bc63a3e9000e3f7c15c86951aca76d (patch)
tree88b6b341a242d721e971025334c0de164e19f178 /drivers/usb/fotg210/Kconfig
parentd65e6b6e884a38360fc1cadf8ff31858151da57f (diff)
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/Kconfig')
-rw-r--r--drivers/usb/fotg210/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/fotg210/Kconfig b/drivers/usb/fotg210/Kconfig
index 933c513b5728..534206ee0d1d 100644
--- a/drivers/usb/fotg210/Kconfig
+++ b/drivers/usb/fotg210/Kconfig
@@ -5,6 +5,7 @@ config USB_FOTG210
depends on USB || USB_GADGET
depends on HAS_DMA && HAS_IOMEM
default ARCH_GEMINI
+ select MFD_SYSCON
help
Faraday FOTG210 is a dual-mode USB controller that can act
in both host controller and peripheral controller mode.