Changeset 42290


Ignore:
Timestamp:
2014-08-25T18:31:01+02:00 (3 years ago)
Author:
blogic
Message:

ralink: fix mt7620 ohci 3.10

the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/patches-3.10/0119-USB-phy-add-ralink-SoC-driver.patch

    r39949 r42290  
    3636--- /dev/null 
    3737+++ b/drivers/usb/phy/ralink-phy.c 
    38 @@ -0,0 +1,191 @@ 
     38@@ -0,0 +1,192 @@ 
    3939+/* 
    4040+ * Copyright (C) 2013 John Crispin <blogic@openwrt.org> 
     
    6767+ 
    6868+#define MT7620_CLKCFG1_UPHY0_CLK_EN    BIT(25) 
     69+#define MT7620_CLKCFG1_UPHY1_CLK_EN    BIT(22) 
    6970+#define RT_CLKCFG1_UPHY1_CLK_EN        BIT(20) 
    7071+#define RT_CLKCFG1_UPHY0_CLK_EN        BIT(18) 
     
    146147+static const struct of_device_id ralink_usbphy_dt_match[] = { 
    147148+       { .compatible = "ralink,rt3xxx-usbphy", .data = (void *) (RT_CLKCFG1_UPHY1_CLK_EN | RT_CLKCFG1_UPHY0_CLK_EN) }, 
    148 +       { .compatible = "ralink,mt7620a-usbphy", .data = (void *) MT7620_CLKCFG1_UPHY0_CLK_EN }, 
     149+       { .compatible = "ralink,mt7620a-usbphy", .data = (void *) (MT7620_CLKCFG1_UPHY1_CLK_EN | MT7620_CLKCFG1_UPHY0_CLK_EN) }, 
    149150+       {}, 
    150151+}; 
Note: See TracChangeset for help on using the changeset viewer.