s5pc210: usbd: fix usb phy clock
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 19 Aug 2010 23:57:31 +0000 (08:57 +0900)
committerMinkyu 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

index 0e51b90..b517235 100644 (file)
@@ -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);