]> git.karo-electronics.de Git - karo-tx-linux.git/commit
phy: meson: add USB2 PHY support for Meson GXL and GXM
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 20 May 2017 13:50:41 +0000 (15:50 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 6 Jun 2017 09:19:47 +0000 (14:49 +0530)
commit697b373c6df682dc6aba10cc1e81a2664c7cbbd4
tree8a20e6fd874759bc3455712eb7e7e9e8b8d16095
parent8cda2a0dfefa6ea99be80c7ed6ec57fb4d3d470f
phy: meson: add USB2 PHY support for Meson GXL and GXM

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>
drivers/phy/amlogic/Kconfig
drivers/phy/amlogic/Makefile
drivers/phy/amlogic/phy-meson-gxl-usb2.c [new file with mode: 0644]