Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221926
b: refs/heads/master
c: 9c75646
h: refs/heads/master
v: v3
  • Loading branch information
Bob Liu authored and Felipe Balbi committed Nov 5, 2010
1 parent 283d403 commit 67d5850
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 68f64714dc35a515a3064b300729e7809bcdd0e0
refs/heads/master: 9c7564620f82e55a9c8713311bffd401ec9d60fe
3 changes: 2 additions & 1 deletion trunk/drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ static void musb_platform_reg_init(struct musb *musb)
}

/* Configure PLL oscillator register */
bfin_write_USB_PLLOSC_CTRL(0x30a8);
bfin_write_USB_PLLOSC_CTRL(0x3080 |
((480/musb->config->clkin) << 1));
SSYNC();

bfin_write_USB_SRP_CLKDIV((get_sclk()/1000) / 32 - 1);
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/usb/musb.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ struct musb_hdrc_config {
/* A GPIO controlling VRSEL in Blackfin */
unsigned int gpio_vrsel;
unsigned int gpio_vrsel_active;
/* musb CLKIN in Blackfin in MHZ */
unsigned char clkin;
#endif

};
Expand Down

0 comments on commit 67d5850

Please sign in to comment.