diff options
author | Roger Quadros <rogerq@ti.com> | 2013-07-09 13:38:31 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 12:58:09 +0200 |
commit | 519c6013d356fef95c9e45cfb533b3e68b47dbf4 (patch) | |
tree | 04597d1061d4f76b121c31ef19a7ddda70eecb64 /drivers/usb/renesas_usbhs | |
parent | usb: ehci-omap: select NOP_USB_XCEIV PHY driver (diff) | |
download | linux-519c6013d356fef95c9e45cfb533b3e68b47dbf4.tar.xz linux-519c6013d356fef95c9e45cfb533b3e68b47dbf4.zip |
usb: phy: omap-usb3: Improve DPLL parameter lookup code
Use a mapping table (dpll_map) to match the possible system clock rates
to the appropriate DPLL parameters.
Introduce a function "omap_usb3_get_dpll_params()" that will
return the matching DPLL parameters for the given clock rate.
Also, bail out on phy init if DPLL locking fails.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions