phy: sun4i-usb: Align H6 initialization logic with the kernel
authorRoman Stratiienko <r.stratiienko@gmail.com>
Tue, 12 May 2020 18:24:49 +0000 (21:24 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 1 Jun 2020 17:07:51 +0000 (22:37 +0530)
commit462a9c7a9ccec444ecb5b8bc3ee3edecbab7e18c
treebb896fe665a67faae2c3778f4f393de378e68c97
parentd09b832cd8ccb7e37e2b188394df5a73d7074c3b
phy: sun4i-usb: Align H6 initialization logic with the kernel

H6 SOC needs additional initialization of PHY registers. Corresponding
changes can be found in the kernel patch [1].

Without this changes there is no enumeration of 'musb' gadget.

[1] - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ae409cc7c3cdb9ac4a1dba3eae70efec3d6b6c79

Fixes: 35fa673e0e5f ("sunxi: phy: Add USB PHY support for Allwinner H6")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/phy/allwinner/phy-sun4i-usb.c