CLK: TI: dpll: support OMAP5 MPU DPLL that need special handling for higher frequencies
authorNishanth Menon <nm@ti.com>
Fri, 16 May 2014 10:45:59 +0000 (05:45 -0500)
committerTero Kristo <t-kristo@ti.com>
Fri, 6 Jun 2014 17:33:39 +0000 (20:33 +0300)
commitb4be018921879ba7452379af8fb7320833a12bd4
treea86e2a290ed68da325bf1f623b6b4437ca4d1771
parentce369a545aac3da653dd95d8117093a862bf94d3
CLK: TI: dpll: support OMAP5 MPU DPLL that need special handling for higher frequencies

MPU DPLL on OMAP5, DRA75x, DRA72x has a limitation on the maximum
frequency it can be locked at. Duty Cycle Correction circuit is used
to recover a correct duty cycle for achieving higher frequencies
(hardware internally switches output to M3 output(CLKOUTHIF) from M2
output (CLKOUT)).

So provide support to setup required data to handle Duty cycle by
the setting up the minimum frequency for DPLL. 1.4GHz is common
for all these devices and is based on Technical Reference Manual
information for OMAP5432((SWPU282U) chapter 3.6.3.3.1 "DPLLs Output
Clocks Parameters", and equivalent information from DRA75x, DRA72x
documentation(SPRUHP2E, SPRUHI2P).

Signed-off-by: Nishanth Menon <nm@ti.com>
[t-kristo@ti.com: updated for latest dpll init API call]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Documentation/devicetree/bindings/clock/ti/dpll.txt
drivers/clk/ti/dpll.c