ARM: OMAP5+: dpll: support Duty Cycle Correction(DCC)
authorAndrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Fri, 16 May 2014 10:45:58 +0000 (05:45 -0500)
committerTero Kristo <t-kristo@ti.com>
Fri, 6 Jun 2014 17:33:38 +0000 (20:33 +0300)
commitce369a545aac3da653dd95d8117093a862bf94d3
treeb9e2bf7e4ee27f8c09c7116af9ed0c4776bbee52
parent81c7e03acbcb68274be770134f8f04f270ffa859
ARM: OMAP5+: dpll: support Duty Cycle Correction(DCC)

Duty Cycle Correction(DCC) needs to be enabled if the MPU is to run at
frequencies beyond 1.4GHz for OMAP5, DRA75x, DRA72x.

MPU DPLL 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)).

For further information, See the note on OMAP5432 Technical Reference
Manual(SWPU282U) chapter 3.6.3.3.1 "DPLLs Output Clocks Parameters",
and also the "OMAP543x ES2.0 DM Operating Conditions Addendum v0.5"
chapter 2.1 "Micro Processor Unit (MPU)". Equivalent information is
present in relevant DRA75x, 72x documentation(SPRUHP2E, SPRUHI2P).

Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[t-kristo@ti.com: added TRM / DM references for DCC clock rate]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/dpll3xxx.c
include/linux/clk/ti.h