diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-12 21:26:34 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-19 20:44:58 +0400 |
commit | e482b3bee66d627356904746c217f8f1bf891e60 (patch) | |
tree | 9c6fa60278728972b160a95a014c24e4d7d92697 /drivers/of | |
parent | 6136a6ddc9db50d909344bb7e6f45dbe631f2e29 (diff) | |
download | linux-e482b3bee66d627356904746c217f8f1bf891e60.tar.xz |
mx25: fix clock's calculation
* get_rate_arm : when 400MHz clock is selected (cctl & 1<<14),
ARM clock is 400MHz (MPLL * 3 / 4) and not 800MHz
* get_rate_per : peripherals's clock is derived from AHB and not
from IPG (ref manual : figure 5-1)
* can2_clk : use the correct ID
* without this patch, peripherals getting their clock from PER
clocks work fine because of the 2 errors which fix themselves
(ARM clock x 2 and per clock actually based on IPG which is AHB/2)
but flexcan can't work as it gets its clock from IPG and thus
calculates its bitrate using a reference value which is twice
what it really is.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions