MLK-17210 usb: imx8m: Add PU power on/off to USB
authorYe Li <ye.li@nxp.com>
Wed, 11 Apr 2018 02:33:53 +0000 (19:33 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:24:05 +0000 (02:24 -0700)
commit9eb9b42c0acc42f46deba696da63582a4a32a9fb
treecd4c843da8badbc6f09e3d60787a85399c61db88
parent45cf59ff70696a147e39034c6b8418cb687c9f84
MLK-17210 usb: imx8m: Add PU power on/off to USB

ATF will power off all PUs at default, so for USB, we enable
its PU power for both host and device modes in board_usb_init and
disable the power when usb is stop in board_usb_cleanup.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit 20e8f5ab5e18fa578283ad232e500a47e71fdd28)
arch/arm/include/asm/arch-imx8m/sys_proto.h
arch/arm/mach-imx/imx8m/soc.c