]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: phy: Add USB PHY support for Allwinner H6
authorAndre Przywara <andre.przywara@arm.com>
Sun, 23 Jun 2019 14:09:49 +0000 (15:09 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:43:15 +0000 (17:13 +0530)
commit35fa673e0e5f9e947f0bae9d170bd9c8b449a751
treeb95bf18d18697079785d98036b023edadef8948b
parent106c1300a5a54c61d9368e5afdb5282e7e4ef3d8
sunxi: phy: Add USB PHY support for Allwinner H6

The USB PHY used in the Allwinner H6 SoC has some pecularities (as usual),
which require a small addition to the USB PHY driver:
In this case the second PHY is PHY3, not PHY1, so we need to skip number
1 and 2 in the code. Just use the respective code from Linux for that.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> # Pine-H64
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/phy/allwinner/phy-sun4i-usb.c