diff options
author | 2010-10-12 19:26:34 +0200 | |
---|---|---|
committer | 2010-10-19 18:44:58 +0200 | |
commit | e482b3bee66d627356904746c217f8f1bf891e60 (patch) | |
tree | 9c6fa60278728972b160a95a014c24e4d7d92697 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARM: imx: add lost 3rd imx-i2c device for mx35 (diff) | |
download | wireguard-linux-e482b3bee66d627356904746c217f8f1bf891e60.tar.xz wireguard-linux-e482b3bee66d627356904746c217f8f1bf891e60.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions