summaryrefslogtreecommitdiffstats
path: root/drivers/phy/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-02-19 15:17:29 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2019-05-09 10:38:32 +0200
commit277d9167cb413f6e3a40dc03cfa02a13fe93ec3f (patch)
treeaa9ad60be4454cab86c927872ef2b30cfb247535 /drivers/phy/Kconfig
parentadb049abf7a209629c7b5e4bc673a0d802c616c2 (diff)
downloadu-boot-277d9167cb413f6e3a40dc03cfa02a13fe93ec3f.tar.gz
u-boot-277d9167cb413f6e3a40dc03cfa02a13fe93ec3f.tar.xz
u-boot-277d9167cb413f6e3a40dc03cfa02a13fe93ec3f.zip
phy: meson: add Amlogic G12A USB2 and USB3+PCIE PHY drivers
This adds support for the USB PHYs found in the Amlogic G12A SoC Family. The USB2 PHY supports Host and/or Peripheral mode, depending on it's position. The first PHY is only used as Host, but the second supports Dual modes defined by the USB Control Glue HW in front of the USB Controllers. The second driver supports USB3 Host mode or PCIE 2.0 mode, depending on the layout of the board. Selection is done by the #phy-cells, making the mode static and exclusive. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r--drivers/phy/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 102fb91fff..957efb3984 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -147,6 +147,14 @@ config MESON_GXL_USB_PHY
This is the generic phy driver for the Amlogic Meson GXL
USB2 and USB3 PHYS.
+config MESON_G12A_USB_PHY
+ bool "Amlogic Meson G12A USB PHYs"
+ depends on PHY && ARCH_MESON && MESON_G12A
+ imply REGMAP
+ help
+ This is the generic phy driver for the Amlogic Meson G12A
+ USB2 and USB3 PHYS.
+
config MSM8916_USB_PHY
bool "Qualcomm MSM8916 USB PHY support"
depends on PHY