phy: amlogic: add Amlogic G12A USB2 PHY Driver
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Mar 2019 09:39:40 +0000 (10:39 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:42:50 +0000 (14:12 +0530)
commit16df8bcb672c45e69a7bf4b37bb6de12c705e195
treef5e93abdc598a480204fabbd5016b8b37c92ce43
parentab6dbeb24d1a93425b2d1d91b17a7bce79dba41b
phy: amlogic: add Amlogic G12A USB2 PHY Driver

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