GPT clock source select can be selected from: 000 No clock 001 ipg_clk 010 ipg_clk_highfreq 011 ipp_ind_clkin (external clock from pad) 1xx ipg_clk_32k The clock is gated by ipg_clk so the reference value must be computed using the get_rate_ipg. Signed-off-by: Michael Trimarchi diff --git a/arch/arm/mach-mx25/clock.c b/arch/arm/mach-mx25/clock.c index 9e4a557..0af06d4 100644 --- a/arch/arm/mach-mx25/clock.c +++ b/arch/arm/mach-mx25/clock.c @@ -131,7 +131,7 @@ static unsigned long get_rate_nfc(struct clk *clk) static unsigned long get_rate_gpt(struct clk *clk) { - return get_rate_per(5); + return get_rate_ipg(NULL); } static unsigned long get_rate_lcdc(struct clk *clk)