projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5879cf
)
s5pc210: usbd: fix usb phy clock
author
Minkyu Kang
<mk7.kang@samsung.com>
Thu, 19 Aug 2010 23:57:31 +0000
(08:57 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Thu, 19 Aug 2010 23:57:31 +0000
(08:57 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/s5p-common/usb-hs-otg.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/s5p-common/usb-hs-otg.c
b/arch/arm/cpu/armv7/s5p-common/usb-hs-otg.c
index
0e51b90
..
b517235
100644
(file)
--- a/
arch/arm/cpu/armv7/s5p-common/usb-hs-otg.c
+++ b/
arch/arm/cpu/armv7/s5p-common/usb-hs-otg.c
@@
-327,9
+327,12
@@
static void s5p_usb_init_phy(void)
#else
s5p_phy_write_reg(0x2, OTG_PHYCTRL);
#endif
- } else {
+ } else
if (s5p_cpu_id == 0xc110)
{
s5p_phy_write_reg(0xA0, OTG_PHYPWR);
s5p_phy_write_reg(0x3, OTG_PHYCTRL);
+ } else if (s5p_cpu_id == 0xc210) {
+ s5p_phy_write_reg(0x1f80, OTG_PHYPWR);
+ s5p_phy_write_reg(0x3, OTG_PHYCTRL);
}
s5p_phy_write_reg(0x1, OTG_RSTCON);