MLK-16175-1 usb: ehci-mx6: Turn on the power domain of USB PHY
authorYe Li <ye.li@nxp.com>
Wed, 9 Aug 2017 09:54:53 +0000 (04:54 -0500)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:00:03 +0000 (02:00 -0700)
commit395c986a73b1b314313bb726e7f08bab0ffb7916
tree279b11360ed3dd00f7629a134b49b6d5f9dc2038
parenta020cd2cec659d03eb5ab822e460436176c7b1e5
MLK-16175-1 usb: ehci-mx6: Turn on the power domain of USB PHY

Since there is no uclass for USB PHY. The device won't be setup for the USB PHY
node in DTB. And its associated power domain device won't be turned on neither
by DM framework.

This patch modifies the ehci-mx6 driver to enable the power domain device before
access the USB PHY. This is only for DM driver. For non-DM part, users still
need to power on the USB PHY in boards/SoC codes.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 3c59c8ea95d401d06736c68c186aec80e214bee8)
(cherry picked from commit 79122202a4f748b5da654ed6e7ce6a4597eac747)
drivers/usb/host/ehci-mx6.c