MLK-17210 usb: imx8m: Add PU power on/off to USB
authorYe Li <ye.li@nxp.com>
Fri, 15 Dec 2017 01:56:40 +0000 (19:56 -0600)
committerYe Li <ye.li@nxp.com>
Fri, 15 Dec 2017 03:08:03 +0000 (21:08 -0600)
commit0bf7e91882d7ae7ecef1acb59a17158f99b9e616
tree28bde497dd9ba145bfa18c0637f763ed4d5cc37a
parent242823400c5bd59960e1b40d941e177e8ebad57e
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>
arch/arm/cpu/armv8/imx8m/soc.c
board/freescale/imx8mq_evk/imx8m_evk.c
drivers/usb/host/xhci-imx8m.c