commit | 519c6013d356fef95c9e45cfb533b3e68b47dbf4 | [log] [tgz] |
---|---|---|
author | Roger Quadros <rogerq@ti.com> | Tue Jul 09 14:38:31 2013 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 29 13:58:09 2013 +0300 |
tree | 04597d1061d4f76b121c31ef19a7ddda70eecb64 | |
parent | 88650d62a12de7fb9437b5508cc7f6b28da58cbf [diff] |
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>