summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-lpc18xx-usb-otg.c
AgeCommit message (Collapse)AuthorFilesLines
2015-08-10phy: lpc18xx-usb-otg: fix clock order in phy initJoachim Eastwood1-3/+3
Changing the frequency of the USB clock must be done before the PLL is powered on (prepared). This matters when the USB clock is not setup by either boot ROM or boot loader. Reorder the function calls to adhere to the order noted in the user manual. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2015-07-25phy: add lpc18xx usb otg phy driverJoachim Eastwood1-0/+143
Add PHY driver for the internal USB OTG PHY found on NXP LPC18xx and LPC43xx devices. This driver takes care of enabling the PHY in CREG (syscon) and setting the required clock frequency. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>