Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180265
b: refs/heads/master
c: faed406
h: refs/heads/master
i:
  180263: ffdf486
v: v3
  • Loading branch information
Baruch Siach authored and Sascha Hauer committed Jan 26, 2010
1 parent 11efc2a commit 4b33662
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 828df43f139c7fbf0d505c7b9a666d321a0f2c25
refs/heads/master: faed40665d2d81b7e0e537d14ef680ab3da9f22d
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-mx25/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ static unsigned long get_rate_nfc(struct clk *clk)
return get_rate_per(8);
}

static unsigned long get_rate_gpt(struct clk *clk)
{
return get_rate_per(5);
}

static unsigned long get_rate_otg(struct clk *clk)
{
return 48000000; /* FIXME */
Expand Down Expand Up @@ -156,7 +161,7 @@ static void clk_cgcr_disable(struct clk *clk)
.secondary = s, \
}

DEFINE_CLOCK(gpt_clk, 0, CCM_CGCR0, 5, get_rate_ipg, NULL, NULL);
DEFINE_CLOCK(gpt_clk, 0, CCM_CGCR0, 5, get_rate_gpt, NULL, NULL);
DEFINE_CLOCK(uart_per_clk, 0, CCM_CGCR0, 15, get_rate_uart, NULL, NULL);
DEFINE_CLOCK(cspi1_clk, 0, CCM_CGCR1, 5, get_rate_ipg, NULL, NULL);
DEFINE_CLOCK(cspi2_clk, 0, CCM_CGCR1, 6, get_rate_ipg, NULL, NULL);
Expand Down

0 comments on commit 4b33662

Please sign in to comment.