16df8bcb67
This adds support for the USB2 PHY found in the Amlogic G12A SoC Family. It 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. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
#
|
|
# Phy drivers for Amlogic platforms
|
|
#
|
|
config PHY_MESON8B_USB2
|
|
tristate "Meson8, Meson8b and GXBB USB2 PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
depends on USB_SUPPORT
|
|
select USB_COMMON
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson8,
|
|
Meson8b and GXBB SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_GXL_USB2
|
|
tristate "Meson GXL and GXM USB2 PHY drivers"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
depends on USB_SUPPORT
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson
|
|
GXL and GXM SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_GXL_USB3
|
|
tristate "Meson GXL and GXM USB3 PHY drivers"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
depends on USB_SUPPORT
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB3 PHY and OTG detection
|
|
IP block found in Meson GXL and GXM SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_G12A_USB2
|
|
tristate "Meson G12A USB2 PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson
|
|
G12A SoCs.
|
|
If unsure, say N.
|