mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
697b373c6d
This adds a new driver for the USB2 PHYs found on Meson GXL and GXM SoCs (both SoCs are using the same USB PHY register layout). The USB2 PHY is a simple PHY which only has a few registers to configure the mode (host/device) and a reset register (to enable/disable the PHY). Unfortunately there are no datasheets available for this PHY. The driver was written by reading the code from Amlogic's GPL kernel sources and by analyzing the registers on an actual GXL and GXM device running the kernel that was shipped on the boards I have. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
28 lines
680 B
Plaintext
28 lines
680 B
Plaintext
#
|
|
# Phy drivers for Amlogic platforms
|
|
#
|
|
config PHY_MESON8B_USB2
|
|
tristate "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 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 USB_COMMON
|
|
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.
|