Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231112
b: refs/heads/master
c: 1740d48
h: refs/heads/master
v: v3
  • Loading branch information
Anand Gadiyar authored and Tony Lindgren committed Jan 10, 2011
1 parent c9b5e6c commit 29ec6e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56a6a19dffda6b75cef8d4183c7c6ff650025cbd
refs/heads/master: 1740d483ba4d79f9fa6984dccd7152b6b208f1bf
10 changes: 10 additions & 0 deletions trunk/arch/arm/mach-omap2/board-omap4panda.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/leds.h>
#include <linux/gpio.h>
Expand Down Expand Up @@ -95,7 +96,16 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
static void __init omap4_ehci_init(void)
{
int ret;
struct clk *phy_ref_clk;

/* FREF_CLK3 provides the 19.2 MHz reference clock to the PHY */
phy_ref_clk = clk_get(NULL, "auxclk3_ck");
if (IS_ERR(phy_ref_clk)) {
pr_err("Cannot request auxclk3\n");
goto error1;
}
clk_set_rate(phy_ref_clk, 19200000);
clk_enable(phy_ref_clk);

/* disable the power to the usb hub prior to init */
ret = gpio_request(GPIO_HUB_POWER, "hub_power");
Expand Down

0 comments on commit 29ec6e1

Please sign in to comment.