]> git.baikalelectronics.ru Git - uboot.git/commit
phy: meson: add Amlogic G12A USB2 and USB3+PCIE PHY drivers
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 19 Feb 2019 14:17:29 +0000 (15:17 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 9 May 2019 08:38:32 +0000 (10:38 +0200)
commit5151bb7628cfebb1813a384778dbf09e5cd7bff9
treeaa9ad60be4454cab86c927872ef2b30cfb247535
parent78e1272b8d0baa7debce95c2774cc8f414576aab
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>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/meson-g12a-usb2.c [new file with mode: 0644]
drivers/phy/meson-g12a-usb3-pcie.c [new file with mode: 0644]