]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP4: clock data: Add missing fixed divisors
authorJon Hunter <jon-hunter@ti.com>
Thu, 9 Dec 2010 22:13:40 +0000 (23:13 +0100)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 17:12:46 +0000 (10:12 -0700)
commitc9b2e9775023783e82f1b2d21780ff3493747e17
tree3aed5a30a245f1e0a10bfa1bce82bee9a17631c3
parent40ffa98a8b2a5949c7943755e61a19edeba6464e
OMAP4: clock data: Add missing fixed divisors

The following OMAP4 clocks have the following fixed divisors that
determine the frequency at which these clocks operate. These
dividers are defined by the PRCM specification and without these
dividers the rates of the below clocks are calculated incorrectly.
This may cause internal peripherals using these clocks to operate
at the wrong frequency.

- abe_24m_fclk (freq = divided-by-8)
- ddrphy_ck (freq = parent divided-by-2)
- dll_clk_div_ck (freq = parent divided-by-2)
- per_hs_clk_div_ck (freq = parent divided-by-2)
- usb_hs_clk_div_ck (freq = parent divided-by-3)
- func_12m_fclk (freq = parent divided-by-16)
- func_24m_clk (freq = parent divided-by-4)
- func_24mc_fclk (freq = parent divided-by-8)
- func_48mc_fclk (freq = divided-by-4)
- lp_clk_div_ck (freq = divided-by-16)
- per_abe_24m_fclk (freq = divided-by-4)

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/clock44xx_data.c