[ARM] OMAP2/3: Add non-CORE DPLL rate set code and M, N programming

Add non-CORE DPLL rate set code and M,N programming for OMAP3.
Connect it to OMAP34xx DPLLs 1, 2, 4, 5 via the clock framework.

You may see some warnings on rate sets from the freqsel code.  The
table that TI presented in the 3430 TRM Rev F does not cover Fint <
750000, which definitely occurs in practice.  However, the lack of this
freqsel case does not appear to impair the DPLL rate change.

linux-omap source commit is 689fe67c6d1ad8f52f7f7b139a3274b79bf3e784.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Paul Walmsley
2009-01-27 19:12:47 -07:00
committed by Russell King
parent 6f7607ccd1
commit 16c90f0200
3 changed files with 148 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ struct dpll_data {
void __iomem *idlest_reg;
u32 enable_mask;
u32 autoidle_mask;
u32 freqsel_mask;
u8 auto_recal_bit;
u8 recal_en_bit;
u8 recal_st_bit;