diff options
author | Roger Quadros <rogerq@ti.com> | 2013-07-09 14:38:31 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 13:58:09 +0300 |
commit | 519c6013d356fef95c9e45cfb533b3e68b47dbf4 (patch) | |
tree | 04597d1061d4f76b121c31ef19a7ddda70eecb64 /drivers/usb/renesas_usbhs/pipe.h | |
parent | 88650d62a12de7fb9437b5508cc7f6b28da58cbf (diff) | |
download | op-kernel-dev-519c6013d356fef95c9e45cfb533b3e68b47dbf4.zip op-kernel-dev-519c6013d356fef95c9e45cfb533b3e68b47dbf4.tar.gz |
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/pipe.h')
0 files changed, 0 insertions, 0 deletions