Changeset 38182


Ignore:
Timestamp:
2013-09-25T19:13:24+02:00 (4 years ago)
Author:
juhosg
Message:

kernel/3.10: refresh all target patches

Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/target/linux
Files:
48 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-3.10/404-mtd-wrt160nl-trx-parser.patch

    r38000 r38182  
    11--- a/drivers/mtd/Kconfig 
    22+++ b/drivers/mtd/Kconfig 
    3 @@ -176,6 +176,12 @@ config MTD_BCM47XX_PARTS 
     3@@ -208,6 +208,12 @@ config MTD_BCM47XX_PARTS 
    44          This provides partitions parser for devices based on BCM47xx 
    55          boards. 
     
    1616--- a/drivers/mtd/Makefile 
    1717+++ b/drivers/mtd/Makefile 
    18 @@ -14,6 +14,7 @@ obj-$(CONFIG_MTD_AR7_PARTS)   += ar7part.o 
     18@@ -19,6 +19,7 @@ obj-$(CONFIG_MTD_AR7_PARTS)   += ar7part.o 
    1919 obj-$(CONFIG_MTD_BCM63XX_PARTS)        += bcm63xxpart.o 
    2020 obj-$(CONFIG_MTD_BCM47XX_PARTS)        += bcm47xxpart.o 
  • trunk/target/linux/ar71xx/patches-3.10/405-mtd-tp-link-partition-parser.patch

    r38000 r38182  
    11--- a/drivers/mtd/Kconfig 
    22+++ b/drivers/mtd/Kconfig 
    3 @@ -178,7 +178,7 @@ config MTD_BCM47XX_PARTS 
     3@@ -210,7 +210,7 @@ config MTD_BCM47XX_PARTS 
    44  
    55 config MTD_WRT160NL_PARTS 
     
    1010           Linksys WRT160NL partitioning support 
    1111  
    12 @@ -198,6 +198,12 @@ config MTD_MYLOADER_PARTS 
     12@@ -230,6 +230,12 @@ config MTD_MYLOADER_PARTS 
    1313          You will still need the parsing functions to be called by the driver 
    1414          for your particular device. It won't happen automatically. 
     
    2525--- a/drivers/mtd/Makefile 
    2626+++ b/drivers/mtd/Makefile 
    27 @@ -14,6 +14,7 @@ obj-$(CONFIG_MTD_AR7_PARTS)   += ar7part.o 
     27@@ -19,6 +19,7 @@ obj-$(CONFIG_MTD_AR7_PARTS)   += ar7part.o 
    2828 obj-$(CONFIG_MTD_BCM63XX_PARTS)        += bcm63xxpart.o 
    2929 obj-$(CONFIG_MTD_BCM47XX_PARTS)        += bcm47xxpart.o 
  • trunk/target/linux/atheros/patches-3.10/130-watchdog.patch

    r37546 r38182  
    203203--- a/drivers/watchdog/Kconfig 
    204204+++ b/drivers/watchdog/Kconfig 
    205 @@ -1104,6 +1104,12 @@ config LANTIQ_WDT 
     205@@ -1113,6 +1113,12 @@ config LANTIQ_WDT 
    206206        help 
    207207          Hardware driver for the Lantiq SoC Watchdog Timer. 
     
    218218--- a/drivers/watchdog/Makefile 
    219219+++ b/drivers/watchdog/Makefile 
    220 @@ -130,6 +130,7 @@ obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o 
     220@@ -131,6 +131,7 @@ obj-$(CONFIG_GPIO_WDT) += gpio_wdt.o 
    221221 obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o 
    222222 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o 
  • trunk/target/linux/imx6/patches-3.10/0009-of-pci-Provide-support-for-parsing-PCI-DT-ranges-pro.patch

    r38080 r38182  
    4646 2 files changed, 115 insertions(+) 
    4747 
    48 diff --git a/drivers/of/address.c b/drivers/of/address.c 
    49 index 04da786..fdd0636 100644 
    5048--- a/drivers/of/address.c 
    5149+++ b/drivers/of/address.c 
    52 @@ -227,6 +227,73 @@ int of_pci_address_to_resource(struct device_node *dev, int bar, 
     50@@ -231,6 +231,73 @@ int of_pci_address_to_resource(struct de 
    5351        return __of_address_to_resource(dev, addrp, size, flags, NULL, r); 
    5452 } 
     
    124122  
    125123 /* 
    126 diff --git a/include/linux/of_address.h b/include/linux/of_address.h 
    127 index 0506eb5..4c2e6f2 100644 
    128124--- a/include/linux/of_address.h 
    129125+++ b/include/linux/of_address.h 
     
    165161 extern u64 of_translate_address(struct device_node *np, const __be32 *addr); 
    166162 extern bool of_can_translate_address(struct device_node *dev); 
    167 @@ -27,6 +57,11 @@ static inline unsigned long pci_address_to_pio(phys_addr_t addr) { return -1; } 
     163@@ -27,6 +57,11 @@ static inline unsigned long pci_address_ 
    168164 #define pci_address_to_pio pci_address_to_pio 
    169165 #endif 
     
    177173 #ifndef of_address_to_resource 
    178174 static inline int of_address_to_resource(struct device_node *dev, int index, 
    179 @@ -53,6 +88,19 @@ static inline const __be32 *of_get_address(struct device_node *dev, int index, 
     175@@ -53,6 +88,19 @@ static inline const __be32 *of_get_addre 
    180176 { 
    181177        return NULL; 
     
    197193  
    198194  
    199 --  
    200 1.8.4 
    201  
  • trunk/target/linux/imx6/patches-3.10/0010-ARM-imx-Add-LVDS-general-purpose-clocks-to-i.MX6Q.patch

    r38080 r38182  
    1111 2 files changed, 23 insertions(+), 1 deletion(-) 
    1212 
    13 diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c 
    14 index 9181a24..d94be84 100644 
    1513--- a/arch/arm/mach-imx/clk-imx6q.c 
    1614+++ b/arch/arm/mach-imx/clk-imx6q.c 
     
    3735  
    3836 static struct clk *clk[clk_max]; 
    39 @@ -340,6 +347,18 @@ int __init mx6q_clocks_init(void) 
     37@@ -340,6 +346,18 @@ int __init mx6q_clocks_init(void) 
    4038                        base + 0xe0, 0, 2, 0, clk_enet_ref_table, 
    4139                        &imx_ccm_lock); 
  • trunk/target/linux/imx6/patches-3.10/0011-ARM-imx6q-Add-PCIe-bits-to-GPR-syscon-definition.patch

    r38080 r38182  
    99 1 file changed, 8 insertions(+) 
    1010 
    11 diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h 
    12 index b6bdcd6..e00e9f3 100644 
    1311--- a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h 
    1412+++ b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h 
  • trunk/target/linux/imx6/patches-3.10/0012-PCI-imx6-Add-support-for-i.MX6-PCIe-controller.patch

    r38080 r38182  
    1818 create mode 100644 drivers/pci/host/pci-imx6.c 
    1919 
    20 diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi 
    21 index ccd55c2..125202e 100644 
    2220--- a/arch/arm/boot/dts/imx6qdl.dtsi 
    2321+++ b/arch/arm/boot/dts/imx6qdl.dtsi 
    24 @@ -116,6 +116,22 @@ 
    25                         arm,data-latency = <4 2 3>; 
     22@@ -108,6 +108,22 @@ 
     23                        cache-level = <2>; 
    2624                }; 
    2725  
     
    4543                        compatible = "arm,cortex-a9-pmu"; 
    4644                        interrupts = <0 94 0x04>; 
    47 diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig 
    48 index 29a8af6..e6ac281 100644 
    4945--- a/arch/arm/mach-imx/Kconfig 
    5046+++ b/arch/arm/mach-imx/Kconfig 
    51 @@ -801,6 +801,8 @@ config SOC_IMX6Q 
     47@@ -806,6 +806,8 @@ config SOC_IMX6Q 
    5248        select HAVE_IMX_SRC 
    5349        select HAVE_SMP 
     
    5854        select PINCTRL_IMX6Q 
    5955        select PL310_ERRATA_588369 if CACHE_PL310 
    60 diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c 
    61 index d94be84..6956995 100644 
    6256--- a/arch/arm/mach-imx/clk-imx6q.c 
    6357+++ b/arch/arm/mach-imx/clk-imx6q.c 
    64 @@ -621,6 +621,10 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) 
    65         if (ret) 
    66                 pr_warn("failed to set up CLKO: %d\n", ret); 
     58@@ -586,6 +586,10 @@ int __init mx6q_clocks_init(void) 
     59                clk_prepare_enable(clk[usbphy2_gate]); 
     60        } 
    6761  
    6862+       /* All existing boards with PCIe use LVDS1 */ 
  • trunk/target/linux/imx6/patches-3.10/011-pci-tweaks.patch

    r38080 r38182  
    1212--- a/drivers/pci/host/pci-imx6.c 
    1313+++ b/drivers/pci/host/pci-imx6.c 
    14 @@ -200,12 +200,6 @@ 
     14@@ -200,12 +200,6 @@ static int pcie_phy_write(void __iomem * 
    1515 static int imx6q_pcie_abort_handler(unsigned long addr, 
    1616                unsigned int fsr, struct pt_regs *regs) 
     
    2525 } 
    2626  
    27 @@ -322,7 +316,7 @@ 
     27@@ -322,7 +316,7 @@ static void imx6_pcie_host_init(struct p 
    2828                        IMX6Q_GPR12_PCIE_CTL_2, 1 << 10); 
    2929  
  • trunk/target/linux/lantiq/patches-3.10/0001-MIPS-lantiq-add-pcie-driver.patch

    r38031 r38182  
    3939 create mode 100644 arch/mips/pci/pcie-lantiq.h 
    4040 
    41 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    42 index c002191..1621b1d 100644 
    4341--- a/arch/mips/lantiq/Kconfig 
    4442+++ b/arch/mips/lantiq/Kconfig 
     
    6765        bool "XRX200 PHY firmware loader" 
    6866        depends on SOC_XWAY 
    69 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    70 index c24924f..e30dde8 100644 
    7167--- a/arch/mips/lantiq/xway/sysctrl.c 
    7268+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    8076                clkdev_add_static(ltq_ar9_cpu_hz(), ltq_ar9_fpi_hz(), 
    8177                                ltq_ar9_fpi_hz(), CLOCK_250M); 
    82 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    83 index 2cb1d31..8ba7fff 100644 
    8478--- a/arch/mips/pci/Makefile 
    8579+++ b/arch/mips/pci/Makefile 
    86 @@ -41,6 +41,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
     80@@ -41,6 +41,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
    8781 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    8882 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    9387 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    9488 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    95 diff --git a/arch/mips/pci/fixup-lantiq-pcie.c b/arch/mips/pci/fixup-lantiq-pcie.c 
    96 new file mode 100644 
    97 index 0000000..3325e24 
    9889--- /dev/null 
    9990+++ b/arch/mips/pci/fixup-lantiq-pcie.c 
     
    181172+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE, 
    182173+     ifx_pcie_rc_class_early_fixup); 
    183 diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c 
    184 index 6c829df..50ec0b5 100644 
    185174--- a/arch/mips/pci/fixup-lantiq.c 
    186175+++ b/arch/mips/pci/fixup-lantiq.c 
     
    199188        if (ltq_pci_plat_dev_init) 
    200189                return ltq_pci_plat_dev_init(dev); 
    201 @@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 
     190@@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct 
    202191        struct of_irq dev_irq; 
    203192        int irq; 
     
    208197                dev_err(&dev->dev, "trying to map irq for unknown slot:%d pin:%d\n", 
    209198                        slot, pin); 
    210 diff --git a/arch/mips/pci/ifxmips_pci_common.h b/arch/mips/pci/ifxmips_pci_common.h 
    211 new file mode 100644 
    212 index 0000000..46f4cb2 
    213199--- /dev/null 
    214200+++ b/arch/mips/pci/ifxmips_pci_common.h 
     
    271257+#endif /* IFXMIPS_PCI_COMMON_H */ 
    272258+ 
    273 diff --git a/arch/mips/pci/ifxmips_pcie.c b/arch/mips/pci/ifxmips_pcie.c 
    274 new file mode 100644 
    275 index 0000000..4128898 
    276259--- /dev/null 
    277260+++ b/arch/mips/pci/ifxmips_pcie.c 
     
    13761359+MODULE_DESCRIPTION("Infineon builtin PCIe RC driver"); 
    13771360+ 
    1378 diff --git a/arch/mips/pci/ifxmips_pcie.h b/arch/mips/pci/ifxmips_pcie.h 
    1379 new file mode 100644 
    1380 index 0000000..c6f92f5 
    13811361--- /dev/null 
    13821362+++ b/arch/mips/pci/ifxmips_pcie.h 
     
    15171497+#endif  /* IFXMIPS_PCIE_H */ 
    15181498+ 
    1519 diff --git a/arch/mips/pci/ifxmips_pcie_ar10.h b/arch/mips/pci/ifxmips_pcie_ar10.h 
    1520 new file mode 100644 
    1521 index 0000000..99ff463 
    15221499--- /dev/null 
    15231500+++ b/arch/mips/pci/ifxmips_pcie_ar10.h 
     
    18131790+ 
    18141791+#endif /* IFXMIPS_PCIE_AR10_H */ 
    1815 diff --git a/arch/mips/pci/ifxmips_pcie_msi.c b/arch/mips/pci/ifxmips_pcie_msi.c 
    1816 new file mode 100644 
    1817 index 0000000..bffd6fa 
    18181792--- /dev/null 
    18191793+++ b/arch/mips/pci/ifxmips_pcie_msi.c 
     
    22112185+MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver"); 
    22122186+ 
    2213 diff --git a/arch/mips/pci/ifxmips_pcie_phy.c b/arch/mips/pci/ifxmips_pcie_phy.c 
    2214 new file mode 100644 
    2215 index 0000000..f5b0f13 
    22162187--- /dev/null 
    22172188+++ b/arch/mips/pci/ifxmips_pcie_phy.c 
     
    26952666+} 
    26962667+ 
    2697 diff --git a/arch/mips/pci/ifxmips_pcie_pm.c b/arch/mips/pci/ifxmips_pcie_pm.c 
    2698 new file mode 100644 
    2699 index 0000000..a10ecad 
    27002668--- /dev/null 
    27012669+++ b/arch/mips/pci/ifxmips_pcie_pm.c 
     
    28772845+} 
    28782846+ 
    2879 diff --git a/arch/mips/pci/ifxmips_pcie_pm.h b/arch/mips/pci/ifxmips_pcie_pm.h 
    2880 new file mode 100644 
    2881 index 0000000..6ece20d 
    28822847--- /dev/null 
    28832848+++ b/arch/mips/pci/ifxmips_pcie_pm.h 
     
    29192884+#endif /* IFXMIPS_PCIE_PM_H  */ 
    29202885+ 
    2921 diff --git a/arch/mips/pci/ifxmips_pcie_reg.h b/arch/mips/pci/ifxmips_pcie_reg.h 
    2922 new file mode 100644 
    2923 index 0000000..e7e4b6c 
    29242886--- /dev/null 
    29252887+++ b/arch/mips/pci/ifxmips_pcie_reg.h 
     
    39263888+#endif /* IFXMIPS_PCIE_REG_H */ 
    39273889+ 
    3928 diff --git a/arch/mips/pci/ifxmips_pcie_vr9.h b/arch/mips/pci/ifxmips_pcie_vr9.h 
    3929 new file mode 100644 
    3930 index 0000000..57d9368 
    39313890--- /dev/null 
    39323891+++ b/arch/mips/pci/ifxmips_pcie_vr9.h 
     
    42034162+#endif /* IFXMIPS_PCIE_VR9_H */ 
    42044163+ 
    4205 diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c 
    4206 index 594e60d..2e75400 100644 
    42074164--- a/arch/mips/pci/pci.c 
    42084165+++ b/arch/mips/pci/pci.c 
     
    42394196 { 
    42404197        u16 cmd, old_cmd; 
    4241 diff --git a/arch/mips/pci/pcie-lantiq.h b/arch/mips/pci/pcie-lantiq.h 
    4242 new file mode 100644 
    4243 index 0000000..d877c23 
    42444198--- /dev/null 
    42454199+++ b/arch/mips/pci/pcie-lantiq.h 
     
    55505504+#endif /* IFXMIPS_PCIE_VR9_H */ 
    55515505+ 
    5552 diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig 
    5553 index 50e94e0..4bf848f 100644 
    55545506--- a/drivers/pci/pcie/aer/Kconfig 
    55555507+++ b/drivers/pci/pcie/aer/Kconfig 
     
    55635515          This enables PCI Express Root Port Advanced Error Reporting 
    55645516          (AER) driver support. Error reporting messages sent to Root 
    5565 diff --git a/include/linux/pci.h b/include/linux/pci.h 
    5566 index 3a24e4f..25b0349 100644 
    55675517--- a/include/linux/pci.h 
    55685518+++ b/include/linux/pci.h 
    5569 @@ -1082,6 +1082,8 @@ void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), 
     5519@@ -1082,6 +1082,8 @@ void pci_walk_bus(struct pci_bus *top, i 
    55705520 int pci_cfg_space_size_ext(struct pci_dev *dev); 
    55715521 int pci_cfg_space_size(struct pci_dev *dev); 
     
    55765526 resource_size_t pcibios_window_alignment(struct pci_bus *bus, 
    55775527                                         unsigned long type); 
    5578 diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h 
    5579 index c129162..c503ac9 100644 
    55805528--- a/include/linux/pci_ids.h 
    55815529+++ b/include/linux/pci_ids.h 
     
    55935541 #define PCI_DEVICE_ID_WINBOND_82C105   0x0105 
    55945542 #define PCI_DEVICE_ID_WINBOND_83C553   0x0565 
    5595 --  
    5596 1.7.10.4 
    5597  
  • trunk/target/linux/lantiq/patches-3.10/0002-MIPS-lantiq-adds-minimal-dcdc-driver.patch

    r38031 r38182  
    1616 create mode 100644 arch/mips/lantiq/xway/dcdc.c 
    1717 
    18 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    19 index 7a13660..087497d 100644 
    2018--- a/arch/mips/lantiq/xway/Makefile 
    2119+++ b/arch/mips/lantiq/xway/Makefile 
     
    2523  
    2624 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    27 diff --git a/arch/mips/lantiq/xway/dcdc.c b/arch/mips/lantiq/xway/dcdc.c 
    28 new file mode 100644 
    29 index 0000000..7688ac0 
    3025--- /dev/null 
    3126+++ b/arch/mips/lantiq/xway/dcdc.c 
     
    9489+ 
    9590+arch_initcall(dcdc_init); 
    96 --  
    97 1.7.10.4 
    98  
  • trunk/target/linux/lantiq/patches-3.10/0004-MIPS-lantiq-falcon-add-cpu-feature-override.h.patch

    r38031 r38182  
    1616 create mode 100644 arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h 
    1717 
    18 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h b/arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h 
    19 new file mode 100644 
    20 index 0000000..096a100 
    2118--- /dev/null 
    2219+++ b/arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h 
     
    8077+ 
    8178+#endif /* __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H */ 
    82 --  
    83 1.7.10.4 
    84  
  • trunk/target/linux/lantiq/patches-3.10/0005-MIPS-lantiq-falcon-fix-asc-clock-definition.patch

    r38031 r38182  
    1515 1 file changed, 4 insertions(+), 1 deletion(-) 
    1616 
    17 diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c 
    18 index ff4894a..8f1866d 100644 
    1917--- a/arch/mips/lantiq/falcon/sysctrl.c 
    2018+++ b/arch/mips/lantiq/falcon/sysctrl.c 
     
    2725 #define ACTS_I2C_ACT   0x00004000 
    2826 #define ACTS_P0                0x00010000 
    29 @@ -108,6 +109,7 @@ static void sysctl_deactivate(struct clk *clk) 
     27@@ -108,6 +109,7 @@ static void sysctl_deactivate(struct clk 
    3028 static int sysctl_clken(struct clk *clk) 
    3129 { 
     
    4442        clkdev_add_sys("1e200000.i2c", SYSCTL_SYS1, ACTS_I2C_ACT); 
    4543 } 
    46 --  
    47 1.7.10.4 
    48  
  • trunk/target/linux/lantiq/patches-3.10/0006-MIPS-lantiq-dtb-image-hack.patch

    r38031 r38182  
    1010 2 files changed, 3 insertions(+), 3 deletions(-) 
    1111 
    12 diff --git a/arch/mips/lantiq/Makefile b/arch/mips/lantiq/Makefile 
    13 index d6bdc57..690257a 100644 
    1412--- a/arch/mips/lantiq/Makefile 
    1513+++ b/arch/mips/lantiq/Makefile 
     
    2321  
    2422 obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ 
    25 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    26 index 9f9e875..72b183a 100644 
    2723--- a/arch/mips/lantiq/prom.c 
    2824+++ b/arch/mips/lantiq/prom.c 
    29 @@ -57,6 +57,8 @@ static void __init prom_init_cmdline(void) 
     25@@ -57,6 +57,8 @@ static void __init prom_init_cmdline(voi 
    3026        } 
    3127 } 
     
    4541  
    4642 void __init device_tree_init(void) 
    47 --  
    48 1.7.10.4 
    49  
  • trunk/target/linux/lantiq/patches-3.10/0007-MIPS-lantiq-handle-vmmc-memory-reservation.patch

    r38031 r38182  
    1111 create mode 100644 arch/mips/lantiq/xway/vmmc.c 
    1212 
    13 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    14 index 087497d..a2edc53 100644 
    1513--- a/arch/mips/lantiq/xway/Makefile 
    1614+++ b/arch/mips/lantiq/xway/Makefile 
     
    2119+ 
    2220 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    23 diff --git a/arch/mips/lantiq/xway/vmmc.c b/arch/mips/lantiq/xway/vmmc.c 
    24 new file mode 100644 
    25 index 0000000..6dedf77 
    2621--- /dev/null 
    2722+++ b/arch/mips/lantiq/xway/vmmc.c 
     
    9085+ 
    9186+module_platform_driver(vmmc_driver); 
    92 --  
    93 1.7.10.4 
    94  
  • trunk/target/linux/lantiq/patches-3.10/0009-MIPS-lantiq-add-atm-hack.patch

    r38031 r38182  
    1717 create mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
    1818 
    19 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_atm.h b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
    20 new file mode 100644 
    21 index 0000000..bf045a9 
    2219--- /dev/null 
    2320+++ b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
     
    219216+#endif  //  IFX_ATM_H 
    220217+ 
    221 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
    222 new file mode 100644 
    223 index 0000000..698e5c3 
    224218--- /dev/null 
    225219+++ b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
     
    428422+#endif  //  IFX_PTM_H 
    429423+ 
    430 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    431 index 5119487..6d2c486 100644 
    432424--- a/arch/mips/lantiq/irq.c 
    433425+++ b/arch/mips/lantiq/irq.c 
     
    440432 #include <asm/bootinfo.h> 
    441433 #include <asm/irq_cpu.h> 
    442 @@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_data *d) 
     434@@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_dat 
    443435        ltq_icu_w32(im, ltq_icu_r32(im, ier) & ~BIT(offset), ier); 
    444436        ltq_icu_w32(im, BIT(offset), isr); 
     
    448440 static void ltq_ack_irq(struct irq_data *d) 
    449441 { 
    450 diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c 
    451 index 5aeb3eb..11aa4e6 100644 
    452442--- a/arch/mips/mm/cache.c 
    453443+++ b/arch/mips/mm/cache.c 
    454 @@ -58,6 +58,8 @@ void (*_dma_cache_wback)(unsigned long start, unsigned long size); 
     444@@ -59,6 +59,8 @@ void (*_dma_cache_wback)(unsigned long s 
    455445 void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    456446  
     
    461451 #endif /* CONFIG_DMA_NONCOHERENT */ 
    462452  
    463 diff --git a/include/uapi/linux/atm.h b/include/uapi/linux/atm.h 
    464 index 88399db..78c8bbc 100644 
    465453--- a/include/uapi/linux/atm.h 
    466454+++ b/include/uapi/linux/atm.h 
     
    480468        unsigned char   traffic_class;  /* traffic class (ATM_UBR, ...) */ 
    481469        int             max_pcr;        /* maximum PCR in cells per second */ 
    482 diff --git a/net/atm/common.c b/net/atm/common.c 
    483 index 737bef5..959008d 100644 
    484470--- a/net/atm/common.c 
    485471+++ b/net/atm/common.c 
    486 @@ -62,11 +62,17 @@ static void vcc_remove_socket(struct sock *sk) 
     472@@ -62,11 +62,17 @@ static void vcc_remove_socket(struct soc 
    487473        write_unlock_irq(&vcc_sklist_lock); 
    488474 } 
     
    502488                pr_debug("Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n", 
    503489                         sk_wmem_alloc_get(sk), size, sk->sk_sndbuf); 
    504 diff --git a/net/atm/proc.c b/net/atm/proc.c 
    505 index bbb6461..ecb584a 100644 
    506490--- a/net/atm/proc.c 
    507491+++ b/net/atm/proc.c 
    508 @@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) 
     492@@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_fil 
    509493 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) 
    510494 { 
     
    515499                "---",  "1",    "2",    "3/4",  /*  0- 3 */ 
    516500                "???",  "5",    "???",  "???",  /*  4- 7 */ 
    517 --  
    518 1.7.10.4 
    519  
  • trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch

    r38041 r38182  
    1818 create mode 100644 arch/mips/lantiq/xway/rt_eep.c 
    1919 
    20 Index: linux-3.10.12/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
    21 =================================================================== 
    22 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    23 +++ linux-3.10.12/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h     2013-09-17 22:32:50.385021711 +0200 
     20--- /dev/null 
     21+++ b/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
    2422@@ -0,0 +1,6 @@ 
    2523+#ifndef _PCI_ATH_FIXUP 
     
    2927+ 
    3028+#endif /* _PCI_ATH_FIXUP */ 
    31 Index: linux-3.10.12/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    32 =================================================================== 
    33 --- linux-3.10.12.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h      2013-09-14 15:55:12.000000000 +0200 
    34 +++ linux-3.10.12/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h   2013-09-17 22:32:50.389021711 +0200 
    35 @@ -90,5 +90,8 @@ 
     29--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     30+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     31@@ -90,5 +90,8 @@ int xrx200_gphy_boot(struct device *dev, 
    3632 extern void ltq_pmu_enable(unsigned int module); 
    3733 extern void ltq_pmu_disable(unsigned int module); 
     
    4238 #endif /* CONFIG_SOC_TYPE_XWAY */ 
    4339 #endif /* _LTQ_XWAY_H__ */ 
    44 Index: linux-3.10.12/arch/mips/lantiq/xway/Makefile 
    45 =================================================================== 
    46 --- linux-3.10.12.orig/arch/mips/lantiq/xway/Makefile   2013-09-17 22:32:50.305021707 +0200 
    47 +++ linux-3.10.12/arch/mips/lantiq/xway/Makefile        2013-09-18 02:41:31.613659574 +0200 
    48 @@ -2,4 +2,6 @@ 
     40--- a/arch/mips/lantiq/xway/Makefile 
     41+++ b/arch/mips/lantiq/xway/Makefile 
     42@@ -2,4 +2,6 @@ obj-y := prom.o sysctrl.o clk.o reset.o 
    4943  
    5044 obj-y += vmmc.o 
     
    5347+ 
    5448 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    55 Index: linux-3.10.12/arch/mips/lantiq/xway/ath_eep.c 
    56 =================================================================== 
    57 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    58 +++ linux-3.10.12/arch/mips/lantiq/xway/ath_eep.c       2013-09-18 02:41:28.525659442 +0200 
     49--- /dev/null 
     50+++ b/arch/mips/lantiq/xway/ath_eep.c 
    5951@@ -0,0 +1,250 @@ 
    6052+/* 
     
    308300+} 
    309301+device_initcall(of_ath5k_eeprom_init); 
    310 Index: linux-3.10.12/arch/mips/lantiq/xway/pci-ath-fixup.c 
    311 =================================================================== 
    312 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    313 +++ linux-3.10.12/arch/mips/lantiq/xway/pci-ath-fixup.c 2013-09-17 22:32:50.389021711 +0200 
     302--- /dev/null 
     303+++ b/arch/mips/lantiq/xway/pci-ath-fixup.c 
    314304@@ -0,0 +1,109 @@ 
    315305+/* 
     
    422412+       ath_num_fixups++; 
    423413+} 
    424 Index: linux-3.10.12/arch/mips/lantiq/xway/rt_eep.c 
    425 =================================================================== 
    426 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    427 +++ linux-3.10.12/arch/mips/lantiq/xway/rt_eep.c        2013-09-17 22:32:50.389021711 +0200 
     414--- /dev/null 
     415+++ b/arch/mips/lantiq/xway/rt_eep.c 
    428416@@ -0,0 +1,60 @@ 
    429417+/* 
  • trunk/target/linux/lantiq/patches-3.10/0011-MIPS-lantiq-add-reset-controller-api-support.patch

    r38031 r38182  
    1212 1 file changed, 61 insertions(+) 
    1313 
    14 diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c 
    15 index 1fa0f17..a1e06b7 100644 
    1614--- a/arch/mips/lantiq/xway/reset.c 
    1715+++ b/arch/mips/lantiq/xway/reset.c 
     
    2422 #include <asm/reboot.h> 
    2523  
    26 @@ -113,6 +114,66 @@ void ltq_reset_once(unsigned int module, ulong u) 
     24@@ -113,6 +114,66 @@ void ltq_reset_once(unsigned int module, 
    2725        ltq_rcu_w32(ltq_rcu_r32(RCU_RST_REQ) & ~module, RCU_RST_REQ); 
    2826 } 
     
    9189 { 
    9290        local_irq_disable(); 
    93 --  
    94 1.7.10.4 
    95  
  • trunk/target/linux/lantiq/patches-3.10/0012-MTD-m25p80-allow-loading-mtd-name-from-OF.patch

    r38031 r38182  
    1313 1 file changed, 5 insertions(+) 
    1414 
    15 diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c 
    16 index 2f3d2a5..1828704 100644 
    1715--- a/drivers/mtd/devices/m25p80.c 
    1816+++ b/drivers/mtd/devices/m25p80.c 
    19 @@ -909,10 +909,13 @@ static int m25p_probe(struct spi_device *spi) 
     17@@ -925,10 +925,13 @@ static int m25p_probe(struct spi_device 
    2018        unsigned                        i; 
    2119        struct mtd_part_parser_data     ppdata; 
     
    3129  
    3230        /* Platform data helps sort out which chip type we have, as 
    33 @@ -988,6 +991,8 @@ static int m25p_probe(struct spi_device *spi) 
     31@@ -1004,6 +1007,8 @@ static int m25p_probe(struct spi_device 
    3432  
    3533        if (data && data->name) 
     
    4038                flash->mtd.name = dev_name(&spi->dev); 
    4139  
    42 --  
    43 1.7.10.4 
    44  
  • trunk/target/linux/lantiq/patches-3.10/0013-MTD-lantiq-Add-NAND-support-on-Lantiq-Falcon-SoC.patch

    r38031 r38182  
    1717 create mode 100644 drivers/mtd/nand/falcon_nand.c 
    1818 
    19 diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig 
    20 index a60f6c1..74b1323 100644 
    2119--- a/drivers/mtd/nand/Kconfig 
    2220+++ b/drivers/mtd/nand/Kconfig 
     
    3432+ 
    3533 endif # MTD_NAND 
    36 diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile 
    37 index bb81891..feb7c9d 100644 
    3834--- a/drivers/mtd/nand/Makefile 
    3935+++ b/drivers/mtd/nand/Makefile 
    40 @@ -50,5 +50,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740_nand.o 
     36@@ -50,5 +50,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740 
    4137 obj-$(CONFIG_MTD_NAND_GPMI_NAND)       += gpmi-nand/ 
    4238 obj-$(CONFIG_MTD_NAND_XWAY)            += xway_nand.o 
     
    4541  
    4642 nand-objs := nand_base.o nand_bbt.o 
    47 diff --git a/drivers/mtd/nand/falcon_nand.c b/drivers/mtd/nand/falcon_nand.c 
    48 new file mode 100644 
    49 index 0000000..13458d3 
    5043--- /dev/null 
    5144+++ b/drivers/mtd/nand/falcon_nand.c 
     
    134127+ 
    135128+arch_initcall(falcon_register_nand); 
    136 --  
    137 1.7.10.4 
    138  
  • trunk/target/linux/lantiq/patches-3.10/0014-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch

    r38031 r38182  
    88 1 file changed, 5 insertions(+), 1 deletion(-) 
    99 
    10 diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c 
    11 index d7ac65d..95b155a 100644 
    1210--- a/drivers/mtd/maps/lantiq-flash.c 
    1311+++ b/drivers/mtd/maps/lantiq-flash.c 
    14 @@ -134,7 +134,11 @@ ltq_mtd_probe(struct platform_device *pdev) 
     12@@ -134,7 +134,11 @@ ltq_mtd_probe(struct platform_device *pd 
    1513        } 
    1614  
     
    2523        ltq_mtd->map->virt = devm_ioremap_resource(&pdev->dev, ltq_mtd->res); 
    2624        if (IS_ERR(ltq_mtd->map->virt)) { 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/lantiq/patches-3.10/0015-MTD-lantiq-xway-fix-invalid-operator.patch

    r38031 r38182  
    1212 1 file changed, 1 insertion(+), 1 deletion(-) 
    1313 
    14 diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
    15 index 3f81dc8..169a91d 100644 
    1614--- a/drivers/mtd/nand/xway_nand.c 
    1715+++ b/drivers/mtd/nand/xway_nand.c 
    18 @@ -124,7 +124,7 @@ static unsigned char xway_read_byte(struct mtd_info *mtd) 
     16@@ -124,7 +124,7 @@ static unsigned char xway_read_byte(stru 
    1917        int ret; 
    2018  
     
    2523  
    2624        return ret; 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/lantiq/patches-3.10/0016-MTD-lantiq-xway-the-latched-command-should-be-persis.patch

    r38031 r38182  
    1010 1 file changed, 6 insertions(+), 6 deletions(-) 
    1111 
    12 diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
    13 index 169a91d..7f2bdd1 100644 
    1412--- a/drivers/mtd/nand/xway_nand.c 
    1513+++ b/drivers/mtd/nand/xway_nand.c 
     
    2321 { 
    2422        unsigned long nandaddr = (unsigned long) chip->IO_ADDR_W; 
    25 @@ -94,17 +96,15 @@ static void xway_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 
     23@@ -94,17 +96,15 @@ static void xway_cmd_ctrl(struct mtd_inf 
    2624        unsigned long flags; 
    2725  
     
    4543                        ; 
    4644                spin_unlock_irqrestore(&ebu_lock, flags); 
    47 --  
    48 1.7.10.4 
    49  
  • trunk/target/linux/lantiq/patches-3.10/0017-MTD-lantiq-xway-remove-endless-loop.patch

    r38031 r38182  
    1313 1 file changed, 8 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
    16 index 7f2bdd1..8d14f1b 100644 
    1715--- a/drivers/mtd/nand/xway_nand.c 
    1816+++ b/drivers/mtd/nand/xway_nand.c 
     
    4240 } 
    4341  
    44 --  
    45 1.7.10.4 
    46  
  • trunk/target/linux/lantiq/patches-3.10/0018-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch

    r38031 r38182  
    1010 1 file changed, 28 insertions(+) 
    1111 
    12 diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
    13 index 8d14f1b..f813a55 100644 
    1412--- a/drivers/mtd/nand/xway_nand.c 
    1513+++ b/drivers/mtd/nand/xway_nand.c 
    16 @@ -136,6 +136,32 @@ static unsigned char xway_read_byte(struct mtd_info *mtd) 
     14@@ -136,6 +136,32 @@ static unsigned char xway_read_byte(stru 
    1715        return ret; 
    1816 } 
     
    4745 { 
    4846        struct nand_chip *this = platform_get_drvdata(pdev); 
    49 @@ -181,6 +207,8 @@ static struct platform_nand_data xway_nand_data = { 
     47@@ -181,6 +207,8 @@ static struct platform_nand_data xway_na 
    5048                .dev_ready      = xway_dev_ready, 
    5149                .select_chip    = xway_select_chip, 
     
    5654 }; 
    5755  
    58 --  
    59 1.7.10.4 
    60  
  • trunk/target/linux/lantiq/patches-3.10/0019-NET-lantiq-adds-PHY11G-firmware-blobs.patch

    r38031 r38182  
    1313 create mode 100644 firmware/lantiq/README 
    1414 
    15 diff --git a/firmware/Makefile b/firmware/Makefile 
    16 index cbb09ce..c8697df 100644 
    1715--- a/firmware/Makefile 
    1816+++ b/firmware/Makefile 
    19 @@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda/keyspan_pda.fw 
     17@@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_P 
    2018 fw-shipped-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda/xircom_pgs.fw 
    2119 fw-shipped-$(CONFIG_USB_VICAM) += vicam/firmware.fw 
     
    2725  
    2826 fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-) 
    29 diff --git a/firmware/lantiq/COPYING b/firmware/lantiq/COPYING 
    30 new file mode 100644 
    31 index 0000000..5ec70b2 
    3227--- /dev/null 
    3328+++ b/firmware/lantiq/COPYING 
     
    323318+ 
    324319+                    END OF TERMS AND CONDITIONS 
    325 diff --git a/firmware/lantiq/README b/firmware/lantiq/README 
    326 new file mode 100644 
    327 index 0000000..cb1a10a 
    328320--- /dev/null 
    329321+++ b/firmware/lantiq/README 
     
    374366+lantiq/vr9_phy11g_a2x.bin 
    375367+lantiq/vr9_phy22f_a2x.bin 
    376 --  
    377 1.7.10.4 
    378  
  • trunk/target/linux/lantiq/patches-3.10/0020-NET-MIPS-lantiq-adds-xrx200-net.patch

    r38031 r38182  
    1313 create mode 100644 drivers/net/ethernet/lantiq_xrx200.c 
    1414 
    15 diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
    16 index ed956e0..9261fe4 100644 
    1715--- a/drivers/net/ethernet/Kconfig 
    1816+++ b/drivers/net/ethernet/Kconfig 
     
    3230 source "drivers/net/ethernet/marvell/Kconfig" 
    3331 source "drivers/net/ethernet/mellanox/Kconfig" 
    34 diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
    35 index 8268d85..e8410d8 100644 
    3632--- a/drivers/net/ethernet/Makefile 
    3733+++ b/drivers/net/ethernet/Makefile 
     
    4440 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 
    4541 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/ 
    46 diff --git a/drivers/net/ethernet/lantiq_pce.h b/drivers/net/ethernet/lantiq_pce.h 
    47 new file mode 100644 
    48 index 0000000..0c38efe 
    4942--- /dev/null 
    5043+++ b/drivers/net/ethernet/lantiq_pce.h 
     
    213206+       MC_ENTRY(0x0000, 0x0000, 39, OUT_NONE,   0, INSTR,   FLAG_END,   0), 
    214207+}; 
    215 diff --git a/drivers/net/ethernet/lantiq_xrx200.c b/drivers/net/ethernet/lantiq_xrx200.c 
    216 new file mode 100644 
    217 index 0000000..2d40c64 
    218208--- /dev/null 
    219209+++ b/drivers/net/ethernet/lantiq_xrx200.c 
     
    14221412+MODULE_DESCRIPTION("Lantiq SoC XRX200 ethernet"); 
    14231413+MODULE_LICENSE("GPL"); 
    1424 --  
    1425 1.7.10.4 
    1426  
  • trunk/target/linux/lantiq/patches-3.10/0021-NET-MIPS-lantiq-update-etop-driver-for-devicetree.patch

    r38031 r38182  
    88 1 file changed, 355 insertions(+), 146 deletions(-) 
    99 
    10 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    11 index bfdb0686..cdc0c0e 100644 
    1210--- a/drivers/net/ethernet/lantiq_etop.c 
    1311+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    3634 #define ETOP_PLEN_UNDER                0x40 
    3735 #define ETOP_CGEN              0x800 
    38 - 
     36+#define ETOP_CFG_MII0          0x01 
     37  
    3938-/* use 2 static channels for TX/RX */ 
    4039-#define LTQ_ETOP_TX_CHANNEL    1 
     
    4241-#define IS_TX(x)               (x == LTQ_ETOP_TX_CHANNEL) 
    4342-#define IS_RX(x)               (x == LTQ_ETOP_RX_CHANNEL) 
    44 - 
    45 +#define ETOP_CFG_MII0          0x01 
    46 + 
    4743+#define LTQ_GBIT_MDIO_CTL      0xCC 
    4844+#define LTQ_GBIT_MDIO_DATA     0xd0 
     
    7571+#define MDIO_XR9_ADDR_OFFSET   5 
    7672+#define MDIO_XR9_WR_OFFSET     16 
    77 + 
     73  
    7874+#define LTQ_DMA_ETOP   ((of_machine_is_compatible("lantiq,ase")) ? \ 
    7975+                       (INT_NUM_IM3_IRL0) : (INT_NUM_IM2_IRL0)) 
     
    143139                return -ENOMEM; 
    144140        ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(NULL, 
    145 @@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan *ch) 
     141@@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan 
    146142        spin_unlock_irqrestore(&priv->lock, flags); 
    147143  
     
    155151  
    156152 static int 
    157 @@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     153@@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    158154 { 
    159155        struct ltq_etop_chan *ch = container_of(napi, 
     
    166162        while ((rx < budget) && !complete) { 
    167163                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; 
    168 @@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     164@@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    169165        } 
    170166        if (complete || !rx) { 
     
    176172        return rx; 
    177173 } 
    178 @@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     174@@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    179175                container_of(napi, struct ltq_etop_chan, napi); 
    180176        struct ltq_etop_priv *priv = netdev_priv(ch->netdev); 
     
    192188                ch->skb[ch->tx_free] = NULL; 
    193189                memset(&ch->dma.desc_base[ch->tx_free], 0, 
    194 @@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     190@@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    195191        if (netif_tx_queue_stopped(txq)) 
    196192                netif_tx_start_queue(txq); 
     
    216212 } 
    217213  
    218 @@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch) 
     214@@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device 
    219215        ltq_dma_free(&ch->dma); 
    220216        if (ch->dma.irq) 
     
    281277-       int i; 
    282278+       int mii_mode = priv->mii_mode; 
    283 + 
     279  
     280-       ltq_pmu_enable(PMU_PPE); 
    284281+       clk_enable(priv->clk_ppe); 
    285282  
    286 -       ltq_pmu_enable(PMU_PPE); 
     283-       switch (priv->pldata->mii_mode) { 
    287284+       if (of_machine_is_compatible("lantiq,ar9")) { 
    288285+               ltq_etop_gbit_init(dev); 
     
    290287+               mii_mode = PHY_INTERFACE_MODE_MII; 
    291288+       } 
    292   
    293 -       switch (priv->pldata->mii_mode) { 
     289+ 
    294290+       switch (mii_mode) { 
    295291        case PHY_INTERFACE_MODE_RMII: 
     
    387383  
    388384 static void 
    389 @@ -312,7 +445,10 @@ ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     385@@ -312,7 +445,10 @@ ltq_etop_get_settings(struct net_device 
    390386 { 
    391387        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    399395  
    400396 static int 
    401 @@ -320,7 +456,10 @@ ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     397@@ -320,7 +456,10 @@ ltq_etop_set_settings(struct net_device 
    402398 { 
    403399        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    411407  
    412408 static int 
    413 @@ -328,7 +467,10 @@ ltq_etop_nway_reset(struct net_device *dev) 
     409@@ -328,7 +467,10 @@ ltq_etop_nway_reset(struct net_device *d 
    414410 { 
    415411        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    423419  
    424420 static const struct ethtool_ops ltq_etop_ethtool_ops = { 
    425 @@ -339,6 +481,39 @@ static const struct ethtool_ops ltq_etop_ethtool_ops = { 
     421@@ -339,6 +481,39 @@ static const struct ethtool_ops ltq_etop 
    426422 }; 
    427423  
     
    463459 { 
    464460        u32 val = MDIO_REQUEST | 
    465 @@ -379,14 +554,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     461@@ -379,14 +554,18 @@ ltq_etop_mdio_probe(struct net_device *d 
    466462 { 
    467463        struct ltq_etop_priv *priv = netdev_priv(dev); 
    468464        struct phy_device *phydev = NULL; 
    469465-       int phy_addr; 
    470 - 
    471 -       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
    472 -               if (priv->mii_bus->phy_map[phy_addr]) { 
    473 -                       phydev = priv->mii_bus->phy_map[phy_addr]; 
    474 -                       break; 
    475 -               } 
    476 -       } 
    477466+       u32 phy_supported =  (SUPPORTED_10baseT_Half 
    478467+                       | SUPPORTED_10baseT_Full 
     
    482471+                       | SUPPORTED_MII 
    483472+                       | SUPPORTED_TP); 
    484 + 
     473  
     474-       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
     475-               if (priv->mii_bus->phy_map[phy_addr]) { 
     476-                       phydev = priv->mii_bus->phy_map[phy_addr]; 
     477-                       break; 
     478-               } 
     479-       } 
    485480+       if (of_machine_is_compatible("lantiq,ase")) 
    486481+               phydev = priv->mii_bus->phy_map[8]; 
     
    490485        if (!phydev) { 
    491486                netdev_err(dev, "no PHY found\n"); 
    492 @@ -394,21 +573,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     487@@ -394,21 +573,18 @@ ltq_etop_mdio_probe(struct net_device *d 
    493488        } 
    494489  
     
    517512        priv->phydev = phydev; 
    518513        pr_info("%s: attached PHY [%s] (phy_addr=%s, irq=%d)\n", 
    519 @@ -433,8 +609,13 @@ ltq_etop_mdio_init(struct net_device *dev) 
     514@@ -433,8 +609,13 @@ ltq_etop_mdio_init(struct net_device *de 
    520515        } 
    521516  
     
    573568-       for (i = 0; i < MAX_DMA_CHAN; i++) { 
    574569-               struct ltq_etop_chan *ch = &priv->ch[i]; 
    575 +       if (priv->phydev) 
    576 +               phy_stop(priv->phydev); 
    577 +       napi_disable(&priv->txch.napi); 
    578 +       napi_disable(&priv->rxch.napi); 
    579 + 
    580 +       spin_lock_irqsave(&priv->lock, flags); 
    581 +       ltq_dma_close(&priv->txch.dma); 
    582 +       ltq_dma_close(&priv->rxch.dma); 
    583 +       spin_unlock_irqrestore(&priv->lock, flags); 
    584   
     570- 
    585571-               if (!IS_RX(i) && !IS_TX(i)) 
    586572-                       continue; 
     
    588574-               ltq_dma_close(&ch->dma); 
    589575-       } 
     576+       if (priv->phydev) 
     577+               phy_stop(priv->phydev); 
     578+       napi_disable(&priv->txch.napi); 
     579+       napi_disable(&priv->rxch.napi); 
     580+ 
     581+       spin_lock_irqsave(&priv->lock, flags); 
     582+       ltq_dma_close(&priv->txch.dma); 
     583+       ltq_dma_close(&priv->rxch.dma); 
     584+       spin_unlock_irqrestore(&priv->lock, flags); 
     585+ 
    590586        return 0; 
    591587 } 
    592588  
    593 @@ -523,16 +707,16 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     589@@ -523,16 +707,16 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    594590        int queue = skb_get_queue_mapping(skb); 
    595591        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue); 
     
    613609                netif_tx_stop_queue(txq); 
    614610                return NETDEV_TX_BUSY; 
    615 @@ -540,7 +724,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     611@@ -540,7 +724,7 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    616612  
    617613        /* dma needs to start on a 16 byte aligned address */ 
     
    622618        dev->trans_start = jiffies; 
    623619  
    624 @@ -550,11 +734,11 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     620@@ -550,11 +734,11 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    625621        wmb(); 
    626622        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | 
     
    683679  
    684680 err_netdev: 
    685 @@ -680,6 +863,9 @@ ltq_etop_tx_timeout(struct net_device *dev) 
     681@@ -680,6 +863,9 @@ ltq_etop_tx_timeout(struct net_device *d 
    686682        err = ltq_etop_hw_init(dev); 
    687683        if (err) 
     
    693689        netif_wake_queue(dev); 
    694690        return; 
    695 @@ -703,14 +889,18 @@ static const struct net_device_ops ltq_eth_netdev_ops = { 
     691@@ -703,14 +889,18 @@ static const struct net_device_ops ltq_e 
    696692        .ndo_tx_timeout = ltq_etop_tx_timeout, 
    697693 }; 
     
    716712        res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    717713        if (!res) { 
    718 @@ -736,30 +926,58 @@ ltq_etop_probe(struct platform_device *pdev) 
     714@@ -736,30 +926,58 @@ ltq_etop_probe(struct platform_device *p 
    719715                goto err_out; 
    720716        } 
     
    790786        err = register_netdev(dev); 
    791787        if (err) 
    792 @@ -788,32 +1006,23 @@ ltq_etop_remove(struct platform_device *pdev) 
     788@@ -788,32 +1006,23 @@ ltq_etop_remove(struct platform_device * 
    793789        return 0; 
    794790 } 
     
    832828 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    833829 MODULE_DESCRIPTION("Lantiq SoC ETOP"); 
    834 --  
    835 1.7.10.4 
    836  
  • trunk/target/linux/lantiq/patches-3.10/0022-NET-multi-phy-support.patch

    r38031 r38182  
    1010 2 files changed, 7 insertions(+), 4 deletions(-) 
    1111 
    12 diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c 
    13 index 38f0b31..ad64a75 100644 
    1412--- a/drivers/net/phy/phy.c 
    1513+++ b/drivers/net/phy/phy.c 
    16 @@ -773,7 +773,8 @@ void phy_state_machine(struct work_struct *work) 
     14@@ -820,7 +820,8 @@ void phy_state_machine(struct work_struc 
    1715                         * negotiation for now */ 
    1816                        if (!phydev->link) { 
     
    2422                                break; 
    2523                        } 
    26 @@ -843,7 +844,8 @@ void phy_state_machine(struct work_struct *work) 
     24@@ -890,7 +891,8 @@ void phy_state_machine(struct work_struc 
    2725                                netif_carrier_on(phydev->attached_dev); 
    2826                        } else { 
     
    3432  
    3533                        phydev->adjust_link(phydev->attached_dev); 
    36 @@ -855,7 +857,8 @@ void phy_state_machine(struct work_struct *work) 
     34@@ -902,7 +904,8 @@ void phy_state_machine(struct work_struc 
    3735                case PHY_HALTED: 
    3836                        if (phydev->link) { 
     
    4442                        } 
    4543                        break; 
    46 diff --git a/include/linux/phy.h b/include/linux/phy.h 
    47 index 9e11039..9a8ca78 100644 
    4844--- a/include/linux/phy.h 
    4945+++ b/include/linux/phy.h 
     
    5753  
    5854        u32 dev_flags; 
    59 --  
    60 1.7.10.4 
    61  
  • trunk/target/linux/lantiq/patches-3.10/0023-NET-add-of_get_mac_address_mtd.patch

    r38031 r38182  
    1515 2 files changed, 38 insertions(+) 
    1616 
    17 diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c 
    18 index ffab033..15f4a71 100644 
    1917--- a/drivers/of/of_net.c 
    2018+++ b/drivers/of/of_net.c 
     
    2725 /** 
    2826  * It maps 'enum phy_interface_t' found in include/linux/phy.h 
    29 @@ -92,3 +93,39 @@ const void *of_get_mac_address(struct device_node *np) 
     27@@ -92,3 +93,39 @@ const void *of_get_mac_address(struct de 
    3028        return NULL; 
    3129 } 
     
    6765+} 
    6866+EXPORT_SYMBOL_GPL(of_get_mac_address_mtd); 
    69 diff --git a/include/linux/of_net.h b/include/linux/of_net.h 
    70 index 61bf53b..6e6b4a9 100644 
    7167--- a/include/linux/of_net.h 
    7268+++ b/include/linux/of_net.h 
     
    7975 static inline const int of_get_phy_mode(struct device_node *np) 
    8076 { 
    81 --  
    82 1.7.10.4 
    83  
  • trunk/target/linux/lantiq/patches-3.10/0024-GPIO-MIPS-lantiq-add-gpio-driver-for-falcon-SoC.patch

    r38031 r38182  
    1818 create mode 100644 drivers/gpio/gpio-falcon.c 
    1919 
    20 diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig 
    21 index 573c449..59b8764 100644 
    2220--- a/drivers/gpio/Kconfig 
    2321+++ b/drivers/gpio/Kconfig 
     
    3432        bool "Lantiq Memory mapped GPIOs" 
    3533        depends on LANTIQ && SOC_XWAY 
    36 diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
    37 index 0cb2d65..542960d 100644 
    3834--- a/drivers/gpio/Makefile 
    3935+++ b/drivers/gpio/Makefile 
    40 @@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055.o 
     36@@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055 
    4137 obj-$(CONFIG_ARCH_DAVINCI)     += gpio-davinci.o 
    4238 obj-$(CONFIG_GPIO_EM)          += gpio-em.o 
     
    4642 obj-$(CONFIG_GPIO_GRGPIO)      += gpio-grgpio.o 
    4743 obj-$(CONFIG_GPIO_ICH)         += gpio-ich.o 
    48 diff --git a/drivers/gpio/gpio-falcon.c b/drivers/gpio/gpio-falcon.c 
    49 new file mode 100644 
    50 index 0000000..ae3bdfb 
    5144--- /dev/null 
    5245+++ b/drivers/gpio/gpio-falcon.c 
     
    400393+ 
    401394+subsys_initcall(falcon_gpio_init); 
    402 --  
    403 1.7.10.4 
    404  
  • trunk/target/linux/lantiq/patches-3.10/0025-GPIO-add-gpio_export_with_name.patch

    r38031 r38182  
    1515 5 files changed, 172 insertions(+), 12 deletions(-) 
    1616 
    17 diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt 
    18 index d933af3..c264748 100644 
    1917--- a/Documentation/devicetree/bindings/gpio/gpio.txt 
    2018+++ b/Documentation/devicetree/bindings/gpio/gpio.txt 
     
    8381+       }; 
    8482+}; 
    85 diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c 
    86 index 665f953..15ec5e5 100644 
    8783--- a/drivers/gpio/gpiolib-of.c 
    8884+++ b/drivers/gpio/gpiolib-of.c 
     
    9692 /* Private data structure for of_gpiochip_find_and_xlate */ 
    9793 struct gg_data { 
    98 @@ -242,3 +244,69 @@ void of_gpiochip_remove(struct gpio_chip *chip) 
     94@@ -242,3 +244,69 @@ void of_gpiochip_remove(struct gpio_chip 
    9995        if (chip->of_node) 
    10096                of_node_put(chip->of_node); 
     
    166162+} 
    167163+device_initcall(of_gpio_export_init); 
    168 diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c 
    169 index c2534d6..8697c82 100644 
    170164--- a/drivers/gpio/gpiolib.c 
    171165+++ b/drivers/gpio/gpiolib.c 
    172 @@ -96,7 +96,7 @@ static int gpiod_get_value(const struct gpio_desc *desc); 
     166@@ -96,7 +96,7 @@ static int gpiod_get_value(const struct 
    173167 static void gpiod_set_value(struct gpio_desc *desc, int value); 
    174168 static int gpiod_cansleep(const struct gpio_desc *desc); 
     
    179173                             struct gpio_desc *desc); 
    180174 static int gpiod_sysfs_set_active_low(struct gpio_desc *desc, int value); 
    181 @@ -674,7 +674,7 @@ static ssize_t export_store(struct class *class, 
     175@@ -674,7 +674,7 @@ static ssize_t export_store(struct class 
    182176                        status = -ENODEV; 
    183177                goto done; 
     
    209203        unsigned long           flags; 
    210204        int                     status; 
    211 @@ -783,6 +784,8 @@ static int gpiod_export(struct gpio_desc *desc, bool direction_may_change) 
     205@@ -783,6 +784,8 @@ static int gpiod_export(struct gpio_desc 
    212206                goto fail_unlock; 
    213207        } 
     
    233227 static int match_export(struct device *dev, const void *data) 
    234228 { 
    235 @@ -1092,7 +1095,7 @@ static inline void gpiochip_unexport(struct gpio_chip *chip) 
     229@@ -1092,7 +1095,7 @@ static inline void gpiochip_unexport(str 
    236230 } 
    237231  
     
    242236        return -ENOSYS; 
    243237 } 
    244 @@ -1521,6 +1524,9 @@ int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) 
     238@@ -1521,6 +1524,9 @@ int gpio_request_one(unsigned gpio, unsi 
    245239        if (flags & GPIOF_OPEN_SOURCE) 
    246240                set_bit(FLAG_OPEN_SOURCE, &desc->flags); 
     
    252246                err = gpiod_direction_input(desc); 
    253247        else 
    254 @@ -1531,7 +1537,7 @@ int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) 
     248@@ -1531,7 +1537,7 @@ int gpio_request_one(unsigned gpio, unsi 
    255249                goto free_gpio; 
    256250  
     
    261255                        goto free_gpio; 
    262256        } 
    263 diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h 
    264 index bde6469..3290572 100644 
    265257--- a/include/asm-generic/gpio.h 
    266258+++ b/include/asm-generic/gpio.h 
    267 @@ -202,7 +202,8 @@ extern void gpio_free_array(const struct gpio *array, size_t num); 
     259@@ -202,7 +202,8 @@ extern void gpio_free_array(const struct 
    268260  * A sysfs interface can be exported by individual drivers if they want, 
    269261  * but more typically is configured entirely from userspace. 
     
    285277        return -ENOSYS; 
    286278 } 
    287 diff --git a/include/linux/gpio.h b/include/linux/gpio.h 
    288 index 552e3f4..07bbbcc7 100644 
    289279--- a/include/linux/gpio.h 
    290280+++ b/include/linux/gpio.h 
     
    299289  * struct gpio - a structure describing a GPIO with configuration 
    300290  * @gpio:      the GPIO number 
    301 @@ -169,7 +172,8 @@ static inline void gpio_set_value_cansleep(unsigned gpio, int value) 
     291@@ -169,7 +172,8 @@ static inline void gpio_set_value_cansle 
    302292        WARN_ON(1); 
    303293 } 
     
    309299        /* GPIO can never have been requested or set as {in,out}put */ 
    310300        WARN_ON(1); 
    311 @@ -236,4 +240,24 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio, 
     301@@ -236,4 +240,24 @@ int devm_gpio_request_one(struct device 
    312302                          unsigned long flags, const char *label); 
    313303 void devm_gpio_free(struct device *dev, unsigned int gpio); 
     
    334324+ 
    335325 #endif /* __LINUX_GPIO_H */ 
    336 --  
    337 1.7.10.4 
    338  
  • trunk/target/linux/lantiq/patches-3.10/0026-pinctrl-lantiq-fix-up-pinmux.patch

    r38031 r38182  
    1111 1 file changed, 26 insertions(+), 2 deletions(-) 
    1212 
    13 diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c 
    14 index e92132c..e40b2e6 100644 
    1513--- a/drivers/pinctrl/pinctrl-xway.c 
    1614+++ b/drivers/pinctrl/pinctrl-xway.c 
    17 @@ -564,10 +564,9 @@ static struct pinctrl_desc xway_pctrl_desc = { 
     15@@ -564,10 +564,9 @@ static struct pinctrl_desc xway_pctrl_de 
    1816        .confops        = &xway_pinconf_ops, 
    1917 }; 
     
    2725        u32 alt1_reg = GPIO_ALT1(pin); 
    2826  
    29 @@ -587,6 +586,14 @@ static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, 
     27@@ -587,6 +586,14 @@ static inline int xway_mux_apply(struct 
    3028        return 0; 
    3129 } 
     
    4240        {"lantiq,pull",         LTQ_PINCONF_PARAM_PULL}, 
    4341        {"lantiq,open-drain",   LTQ_PINCONF_PARAM_OPEN_DRAIN}, 
    44 @@ -631,6 +638,10 @@ static int xway_gpio_dir_out(struct gpio_chip *chip, unsigned int pin, int val) 
     42@@ -631,6 +638,10 @@ static int xway_gpio_dir_out(struct gpio 
    4543 { 
    4644        struct ltq_pinmux_info *info = dev_get_drvdata(chip->dev); 
     
    5351        xway_gpio_set(chip, pin, val); 
    5452  
    55 @@ -651,6 +662,18 @@ static void xway_gpio_free(struct gpio_chip *chip, unsigned offset) 
     53@@ -651,6 +662,18 @@ static void xway_gpio_free(struct gpio_c 
    5654        pinctrl_free_gpio(gpio); 
    5755 } 
     
    8078 }; 
    8179  
    82 --  
    83 1.7.10.4 
    84  
  • trunk/target/linux/lantiq/patches-3.10/0027-pinctrl-lantiq-add-missing-gphy-led-setup.patch

    r38031 r38182  
    1111 1 file changed, 24 insertions(+), 6 deletions(-) 
    1212 
    13 diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c 
    14 index e40b2e6..b159fd5 100644 
    1513--- a/drivers/pinctrl/pinctrl-xway.c 
    1614+++ b/drivers/pinctrl/pinctrl-xway.c 
     
    2321 }; 
    2422  
    25 @@ -109,12 +110,12 @@ static const struct ltq_mfp_pin xway_mfp[] = { 
     23@@ -109,12 +110,12 @@ static const struct ltq_mfp_pin xway_mfp 
    2624        /*       pin    f0      f1      f2      f3   */ 
    2725        MFP_XWAY(GPIO0, GPIO,   EXIN,   NONE,   TDM), 
     
    3937        MFP_XWAY(GPIO9, GPIO,   ASC,    SPI,    EXIN), 
    4038        MFP_XWAY(GPIO10, GPIO,  ASC,    SPI,    NONE), 
    41 @@ -151,10 +152,10 @@ static const struct ltq_mfp_pin xway_mfp[] = { 
     39@@ -151,10 +152,10 @@ static const struct ltq_mfp_pin xway_mfp 
    4240        MFP_XWAY(GPIO41, GPIO,  NONE,   NONE,   NONE), 
    4341        MFP_XWAY(GPIO42, GPIO,  MDIO,   NONE,   NONE), 
     
    5351        MFP_XWAY(GPIO49, GPIO,  EBU,    NONE,   NONE), 
    5452        MFP_XWAY(GPIO50, GPIO,  NONE,   NONE,   NONE), 
    55 @@ -208,6 +209,13 @@ static const unsigned pins_stp[] = {GPIO4, GPIO5, GPIO6}; 
     53@@ -208,6 +209,13 @@ static const unsigned pins_stp[] = {GPIO 
    5654 static const unsigned pins_nmi[] = {GPIO8}; 
    5755 static const unsigned pins_mdio[] = {GPIO42, GPIO43}; 
     
    6765 static const unsigned pins_ebu_clk[] = {GPIO21}; 
    6866 static const unsigned pins_ebu_cs1[] = {GPIO23}; 
    69 @@ -322,6 +330,12 @@ static const struct ltq_pin_group xway_grps[] = { 
     67@@ -322,6 +330,12 @@ static const struct ltq_pin_group xway_g 
    7068        GRP_MUX("gnt4", PCI, pins_pci_gnt4), 
    7169        GRP_MUX("req4", PCI, pins_pci_gnt4), 
     
    8078  
    8179 static const struct ltq_pin_group ase_grps[] = { 
    82 @@ -365,6 +379,9 @@ static const char * const xway_nmi_grps[] = {"nmi"}; 
     80@@ -365,6 +379,9 @@ static const char * const xway_nmi_grps[ 
    8381  
    8482 /* ar9/vr9/gr9 */ 
     
    9088                                                "ebu a25", "ebu cs1", 
    9189                                                "ebu wait", "ebu clk", 
    92 @@ -414,6 +431,7 @@ static const struct ltq_pmx_func xrx_funcs[] = { 
     90@@ -414,6 +431,7 @@ static const struct ltq_pmx_func xrx_fun 
    9391        {"pci",         ARRAY_AND_SIZE(xrx_pci_grps)}, 
    9492        {"ebu",         ARRAY_AND_SIZE(xrx_ebu_grps)}, 
     
    9896  
    9997 static const struct ltq_pmx_func ase_funcs[] = { 
    100 --  
    101 1.7.10.4 
    102  
  • trunk/target/linux/lantiq/patches-3.10/0028-pinctrl-lantiq-add-missing-pin-definition-to-falcon-.patch

    r38031 r38182  
    1313 1 file changed, 5 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/drivers/pinctrl/pinctrl-falcon.c b/drivers/pinctrl/pinctrl-falcon.c 
    16 index f9b2a1d..4e731f2 100644 
    1715--- a/drivers/pinctrl/pinctrl-falcon.c 
    1816+++ b/drivers/pinctrl/pinctrl-falcon.c 
     
    2523        FALCON_MUX_LED, 
    2624        FALCON_MUX_SPI, 
    27 @@ -114,7 +115,7 @@ static struct ltq_mfp_pin falcon_mfp[] = { 
     25@@ -114,7 +115,7 @@ static struct ltq_mfp_pin falcon_mfp[] = 
    2826        MFP_FALCON(GPIO2,       GPIO,   GPIO,   NONE,   NONE), 
    2927        MFP_FALCON(GPIO3,       GPIO,   GPIO,   NONE,   NONE), 
     
    3432        MFP_FALCON(GPIO7,       MDIO,   GPIO,   NONE,   NONE), 
    3533        MFP_FALCON(GPIO8,       MDIO,   GPIO,   NONE,   NONE), 
    36 @@ -168,6 +169,7 @@ static struct ltq_mfp_pin falcon_mfp[] = { 
     34@@ -168,6 +169,7 @@ static struct ltq_mfp_pin falcon_mfp[] = 
    3735 static const unsigned pins_por[] = {GPIO0}; 
    3836 static const unsigned pins_ntr[] = {GPIO4}; 
     
    4240 static const unsigned pins_mdio[] = {GPIO7, GPIO8}; 
    4341 static const unsigned pins_bled[] = {GPIO9, GPIO10, GPIO11, 
    44 @@ -186,6 +188,7 @@ static struct ltq_pin_group falcon_grps[] = { 
     42@@ -186,6 +188,7 @@ static struct ltq_pin_group falcon_grps[ 
    4543        GRP_MUX("por", RST, pins_por), 
    4644        GRP_MUX("ntr", NTR, pins_ntr), 
     
    5048        GRP_MUX("mdio", MDIO, pins_mdio), 
    5149        GRP_MUX("bootled", LED, pins_bled), 
    52 @@ -201,7 +204,7 @@ static struct ltq_pin_group falcon_grps[] = { 
     50@@ -201,7 +204,7 @@ static struct ltq_pin_group falcon_grps[ 
    5351 }; 
    5452  
     
    5957 static const char * const ltq_bled_grps[] = {"bootled"}; 
    6058 static const char * const ltq_asc_grps[] = {"asc0", "asc1"}; 
    61 --  
    62 1.7.10.4 
    63  
  • trunk/target/linux/lantiq/patches-3.10/0029-serial-MIPS-lantiq-add-clk_enable-call-to-driver.patch

    r38031 r38182  
    1212 1 file changed, 3 insertions(+) 
    1313 
    14 diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c 
    15 index 15733da..93ac046 100644 
    1614--- a/drivers/tty/serial/lantiq.c 
    1715+++ b/drivers/tty/serial/lantiq.c 
    18 @@ -636,6 +636,9 @@ lqasc_console_setup(struct console *co, char *options) 
     16@@ -636,6 +636,9 @@ lqasc_console_setup(struct console *co, 
    1917  
    2018        port = &ltq_port->port; 
     
    2624  
    2725        if (options) 
    28 --  
    29 1.7.10.4 
    30  
  • trunk/target/linux/lantiq/patches-3.10/0030-serial-MIPS-lantiq-fix-clock-error-check.patch

    r38031 r38182  
    1111 1 file changed, 2 insertions(+), 2 deletions(-) 
    1212 
    13 diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c 
    14 index 93ac046..88d01e0 100644 
    1513--- a/drivers/tty/serial/lantiq.c 
    1614+++ b/drivers/tty/serial/lantiq.c 
     
    3331 } 
    3432  
    35 --  
    36 1.7.10.4 
    37  
  • trunk/target/linux/lantiq/patches-3.10/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch

    r38031 r38182  
    1717 create mode 100644 drivers/i2c/busses/i2c-lantiq.h 
    1818 
    19 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig 
    20 index 631736e..0f0522b 100644 
    2119--- a/drivers/i2c/busses/Kconfig 
    2220+++ b/drivers/i2c/busses/Kconfig 
    23 @@ -494,6 +494,16 @@ config I2C_IOP3XX 
     21@@ -495,6 +495,16 @@ config I2C_IOP3XX 
    2422          This driver can also be built as a module.  If so, the module 
    2523          will be called i2c-iop3xx. 
     
    3836        tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" 
    3937        depends on PPC 
    40 diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile 
    41 index 8f4fc23..3273061 100644 
    4238--- a/drivers/i2c/busses/Makefile 
    4339+++ b/drivers/i2c/busses/Makefile 
    44 @@ -48,6 +48,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic.o 
     40@@ -48,6 +48,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic 
    4541 obj-$(CONFIG_I2C_IMX)          += i2c-imx.o 
    4642 obj-$(CONFIG_I2C_INTEL_MID)    += i2c-intel-mid.o 
     
    5046 obj-$(CONFIG_I2C_MV64XXX)      += i2c-mv64xxx.o 
    5147 obj-$(CONFIG_I2C_MXS)          += i2c-mxs.o 
    52 diff --git a/drivers/i2c/busses/i2c-lantiq.c b/drivers/i2c/busses/i2c-lantiq.c 
    53 new file mode 100644 
    54 index 0000000..9a5f58b 
    5548--- /dev/null 
    5649+++ b/drivers/i2c/busses/i2c-lantiq.c 
     
    803796+MODULE_LICENSE("GPL"); 
    804797+MODULE_VERSION(DRV_VERSION); 
    805 diff --git a/drivers/i2c/busses/i2c-lantiq.h b/drivers/i2c/busses/i2c-lantiq.h 
    806 new file mode 100644 
    807 index 0000000..7a86b89 
    808798--- /dev/null 
    809799+++ b/drivers/i2c/busses/i2c-lantiq.h 
     
    10431033+ 
    10441034+#endif /* I2C_LANTIQ_H */ 
    1045 --  
    1046 1.7.10.4 
    1047  
  • trunk/target/linux/lantiq/patches-3.10/0032-USB-fix-roothub-for-IFXHCD.patch

    r38031 r38182  
    99 2 files changed, 2 insertions(+), 1 deletion(-) 
    1010 
    11 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    12 index 1621b1d..4c9a241 100644 
    1311--- a/arch/mips/lantiq/Kconfig 
    1412+++ b/arch/mips/lantiq/Kconfig 
     
    2119  
    2220 choice 
    23 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c 
    24 index feef935..db4fb8e 100644 
    2521--- a/drivers/usb/core/hub.c 
    2622+++ b/drivers/usb/core/hub.c 
    27 @@ -4009,7 +4009,7 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, 
     23@@ -4041,7 +4041,7 @@ hub_port_init (struct usb_hub *hub, stru 
    2824                udev->ttport = hdev->ttport; 
    2925        } else if (udev->speed != USB_SPEED_HIGH 
     
    3430                        retval = -EINVAL; 
    3531                        goto fail; 
    36 --  
    37 1.7.10.4 
    38  
  • trunk/target/linux/lantiq/patches-3.10/0033-SPI-MIPS-lantiq-adds-spi-xway.patch

    r38031 r38182  
    1717 create mode 100644 drivers/spi/spi-xway.c 
    1818 
    19 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
    20 index 92a9345..954c19f 100644 
    2119--- a/drivers/spi/Kconfig 
    2220+++ b/drivers/spi/Kconfig 
    23 @@ -487,6 +487,14 @@ config SPI_NUC900 
     21@@ -496,6 +496,14 @@ config SPI_NUC900 
    2422        help 
    2523          SPI driver for Nuvoton NUC900 series ARM SoCs 
     
    3634 # Add new SPI master controllers in alphabetical order above this line 
    3735 # 
    38 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
    39 index 33f9c09..0574edf 100644 
    4036--- a/drivers/spi/Makefile 
    4137+++ b/drivers/spi/Makefile 
    42 @@ -74,3 +74,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-topcliff-pch.o 
     38@@ -75,3 +75,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-t 
    4339 obj-$(CONFIG_SPI_TXX9)                 += spi-txx9.o 
    4440 obj-$(CONFIG_SPI_XCOMM)                += spi-xcomm.o 
    4541 obj-$(CONFIG_SPI_XILINX)               += spi-xilinx.o 
    4642+obj-$(CONFIG_SPI_XWAY)                 += spi-xway.o 
    47 diff --git a/drivers/spi/spi-xway.c b/drivers/spi/spi-xway.c 
    48 new file mode 100644 
    49 index 0000000..61532e3 
    5043--- /dev/null 
    5144+++ b/drivers/spi/spi-xway.c 
     
    10281021+MODULE_LICENSE("GPL"); 
    10291022+MODULE_ALIAS("platform:spi-xway"); 
    1030 --  
    1031 1.7.10.4 
    1032  
  • trunk/target/linux/lantiq/patches-3.10/0034-reset-Fix-compile-when-reset-RESET_CONTROLLER-is-not.patch

    r38031 r38182  
    1818 2 files changed, 59 insertions(+) 
    1919 
    20 diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h 
    21 index 2f61311..068f073 100644 
    2220--- a/include/linux/reset-controller.h 
    2321+++ b/include/linux/reset-controller.h 
     
    4644+ 
    4745 #endif 
    48 diff --git a/include/linux/reset.h b/include/linux/reset.h 
    49 index 6082247..1b36c9e 100644 
    5046--- a/include/linux/reset.h 
    5147+++ b/include/linux/reset.h 
     
    6460 int reset_control_assert(struct reset_control *rstc); 
    6561 int reset_control_deassert(struct reset_control *rstc); 
    66 @@ -14,4 +18,43 @@ struct reset_control *devm_reset_control_get(struct device *dev, const char *id) 
     62@@ -14,4 +18,43 @@ struct reset_control *devm_reset_control 
    6763  
    6864 int device_reset(struct device *dev); 
     
    108104+ 
    109105 #endif 
    110 --  
    111 1.7.10.4 
    112  
  • trunk/target/linux/lantiq/patches-3.10/0101-timer-backport.patch

    r38031 r38182  
    1313 create mode 100644 arch/mips/lantiq/xway/timer.c 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_timer.h b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
    16 new file mode 100644 
    17 index 0000000..ef564ab 
    1815--- /dev/null 
    1916+++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
     
    174171+ 
    175172+#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */ 
    176 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    177 index a2edc53..da51fe0 100644 
    178173--- a/arch/mips/lantiq/xway/Makefile 
    179174+++ b/arch/mips/lantiq/xway/Makefile 
     
    182177+obj-y := prom.o sysctrl.o clk.o reset.o dma.o timer.o dcdc.o 
    183178  
    184  obj-y += vmmc.o 
     179 obj-y += vmmc.o mtd_split.o 
    185180  
    186 diff --git a/arch/mips/lantiq/xway/timer.c b/arch/mips/lantiq/xway/timer.c 
    187 new file mode 100644 
    188 index 0000000..1c0fdb8 
    189181--- /dev/null 
    190182+++ b/arch/mips/lantiq/xway/timer.c 
     
    10351027+ 
    10361028+#endif 
    1037 --  
    1038 1.7.10.4 
    1039  
  • trunk/target/linux/ramips/patches-3.10/0004-watchdog-MIPS-add-ralink-watchdog-driver.patch

    r37778 r38182  
    1818--- a/drivers/watchdog/Kconfig 
    1919+++ b/drivers/watchdog/Kconfig 
    20 @@ -1104,6 +1104,13 @@ config LANTIQ_WDT 
     20@@ -1113,6 +1113,13 @@ config LANTIQ_WDT 
    2121        help 
    2222          Hardware driver for the Lantiq SoC Watchdog Timer. 
     
    3434--- a/drivers/watchdog/Makefile 
    3535+++ b/drivers/watchdog/Makefile 
    36 @@ -134,6 +134,7 @@ obj-$(CONFIG_TXX9_WDT) += txx9wdt.o 
     36@@ -135,6 +135,7 @@ obj-$(CONFIG_TXX9_WDT) += txx9wdt.o 
    3737 obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o 
    3838 octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o 
  • trunk/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch

    r38026 r38182  
    2020 create mode 100644 drivers/gpio/gpio-ralink.c 
    2121 
    22 Index: linux-3.10.9/arch/mips/Kconfig 
    23 =================================================================== 
    24 --- linux-3.10.9.orig/arch/mips/Kconfig 2013-08-26 17:48:27.481164281 +0200 
    25 +++ linux-3.10.9/arch/mips/Kconfig      2013-08-27 23:15:40.751965869 +0200 
    26 @@ -444,6 +444,7 @@ 
     22--- a/arch/mips/Kconfig 
     23+++ b/arch/mips/Kconfig 
     24@@ -444,6 +444,7 @@ config RALINK 
    2725        select SYS_HAS_EARLY_PRINTK 
    2826        select HAVE_MACH_CLKDEV 
     
    3230 config SGI_IP22 
    3331        bool "SGI IP22 (Indy/Indigo2)" 
    34 Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/gpio.h 
    35 =================================================================== 
    36 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    37 +++ linux-3.10.9/arch/mips/include/asm/mach-ralink/gpio.h       2013-08-26 17:48:30.941164428 +0200 
     32--- /dev/null 
     33+++ b/arch/mips/include/asm/mach-ralink/gpio.h 
    3834@@ -0,0 +1,24 @@ 
    3935+/* 
     
    6157+ 
    6258+#endif /* __ASM_MACH_RALINK_GPIO_H */ 
    63 Index: linux-3.10.9/drivers/gpio/Kconfig 
    64 =================================================================== 
    65 --- linux-3.10.9.orig/drivers/gpio/Kconfig      2013-08-21 00:40:47.000000000 +0200 
    66 +++ linux-3.10.9/drivers/gpio/Kconfig   2013-08-26 17:48:30.941164428 +0200 
    67 @@ -209,6 +209,12 @@ 
     59--- a/drivers/gpio/Kconfig 
     60+++ b/drivers/gpio/Kconfig 
     61@@ -209,6 +209,12 @@ config GPIO_RCAR 
    6862        help 
    6963          Say yes here to support GPIO on Renesas R-Car SoCs. 
     
    7872        bool "ST SPEAr13xx SPI Chip Select as GPIO support" 
    7973        depends on PLAT_SPEAR 
    80 Index: linux-3.10.9/drivers/gpio/Makefile 
    81 =================================================================== 
    82 --- linux-3.10.9.orig/drivers/gpio/Makefile     2013-08-21 00:40:47.000000000 +0200 
    83 +++ linux-3.10.9/drivers/gpio/Makefile  2013-08-26 17:48:30.941164428 +0200 
    84 @@ -56,6 +56,7 @@ 
     74--- a/drivers/gpio/Makefile 
     75+++ b/drivers/gpio/Makefile 
     76@@ -56,6 +56,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += gpio-pcf85 
    8577 obj-$(CONFIG_GPIO_PCH)         += gpio-pch.o 
    8678 obj-$(CONFIG_GPIO_PL061)       += gpio-pl061.o 
     
    9082 obj-$(CONFIG_GPIO_RDC321X)     += gpio-rdc321x.o 
    9183 obj-$(CONFIG_GPIO_RCAR)                += gpio-rcar.o 
    92 Index: linux-3.10.9/drivers/gpio/gpio-ralink.c 
    93 =================================================================== 
    94 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    95 +++ linux-3.10.9/drivers/gpio/gpio-ralink.c     2013-08-27 22:37:34.999868257 +0200 
     84--- /dev/null 
     85+++ b/drivers/gpio/gpio-ralink.c 
    9686@@ -0,0 +1,345 @@ 
    9787+/* 
  • trunk/target/linux/ramips/patches-3.10/0122-pinmux.patch

    r38026 r38182  
    1515 create mode 100644 drivers/pinctrl/pinctrl-rt2880.c 
    1616 
    17 Index: linux-3.10.9/arch/mips/Kconfig 
    18 =================================================================== 
    19 --- linux-3.10.9.orig/arch/mips/Kconfig 2013-08-28 16:34:42.449951676 +0200 
    20 +++ linux-3.10.9/arch/mips/Kconfig      2013-08-28 16:34:43.361951711 +0200 
    21 @@ -446,6 +446,8 @@ 
     17--- a/arch/mips/Kconfig 
     18+++ b/arch/mips/Kconfig 
     19@@ -446,6 +446,8 @@ config RALINK 
    2220        select HAVE_MACH_CLKDEV 
    2321        select CLKDEV_LOOKUP 
     
    2826 config SGI_IP22 
    2927        bool "SGI IP22 (Indy/Indigo2)" 
    30 Index: linux-3.10.9/drivers/pinctrl/Kconfig 
    31 =================================================================== 
    32 --- linux-3.10.9.orig/drivers/pinctrl/Kconfig   2013-08-21 00:40:47.000000000 +0200 
    33 +++ linux-3.10.9/drivers/pinctrl/Kconfig        2013-08-28 16:34:43.361951711 +0200 
    34 @@ -114,6 +114,11 @@ 
     28--- a/drivers/pinctrl/Kconfig 
     29+++ b/drivers/pinctrl/Kconfig 
     30@@ -114,6 +114,11 @@ config PINCTRL_LANTIQ 
    3531        select PINMUX 
    3632        select PINCONF 
     
    4440        bool 
    4541        depends on SOC_FALCON 
    46 Index: linux-3.10.9/drivers/pinctrl/Makefile 
    47 =================================================================== 
    48 --- linux-3.10.9.orig/drivers/pinctrl/Makefile  2013-08-21 00:40:47.000000000 +0200 
    49 +++ linux-3.10.9/drivers/pinctrl/Makefile       2013-08-28 16:34:43.361951711 +0200 
    50 @@ -45,6 +45,7 @@ 
     42--- a/drivers/pinctrl/Makefile 
     43+++ b/drivers/pinctrl/Makefile 
     44@@ -45,6 +45,7 @@ obj-$(CONFIG_PINCTRL_EXYNOS5440)      += pinc 
    5145 obj-$(CONFIG_PINCTRL_S3C64XX)  += pinctrl-s3c64xx.o 
    5246 obj-$(CONFIG_PINCTRL_XWAY)     += pinctrl-xway.o 
     
    5650 obj-$(CONFIG_PLAT_ORION)        += mvebu/ 
    5751 obj-$(CONFIG_ARCH_SHMOBILE)    += sh-pfc/ 
    58 Index: linux-3.10.9/drivers/pinctrl/pinctrl-rt2880.c 
    59 =================================================================== 
    60 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    61 +++ linux-3.10.9/drivers/pinctrl/pinctrl-rt2880.c       2013-08-28 16:34:43.361951711 +0200 
     52--- /dev/null 
     53+++ b/drivers/pinctrl/pinctrl-rt2880.c 
    6254@@ -0,0 +1,456 @@ 
    6355+/* 
     
    517509+ 
    518510+core_initcall_sync(rt2880_pinmux_init); 
    519 Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/pinmux.h 
    520 =================================================================== 
    521 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    522 +++ linux-3.10.9/arch/mips/include/asm/mach-ralink/pinmux.h     2013-08-28 16:34:43.361951711 +0200 
     511--- /dev/null 
     512+++ b/arch/mips/include/asm/mach-ralink/pinmux.h 
    523513@@ -0,0 +1,47 @@ 
    524514+/* 
     
    569559+ 
    570560+#endif 
    571 Index: linux-3.10.9/arch/mips/ralink/mt7620.c 
    572 =================================================================== 
    573 --- linux-3.10.9.orig/arch/mips/ralink/mt7620.c 2013-08-28 16:34:42.829951688 +0200 
    574 +++ linux-3.10.9/arch/mips/ralink/mt7620.c      2013-08-28 16:34:43.361951711 +0200 
     561--- a/arch/mips/ralink/mt7620.c 
     562+++ b/arch/mips/ralink/mt7620.c 
    575563@@ -17,6 +17,7 @@ 
    576564 #include <asm/mipsregs.h> 
     
    581569 #include "common.h" 
    582570  
    583 @@ -48,118 +49,40 @@ 
     571@@ -48,118 +49,40 @@ static int dram_type; 
    584572 /* the pll dividers */ 
    585573 static u32 mt7620_clk_divider[] = { 2, 3, 4, 8 }; 
     
    733721  
    734722 void __init ralink_clk_init(void) 
    735 @@ -281,4 +204,6 @@ 
     723@@ -281,4 +204,6 @@ void prom_soc_init(struct ralink_soc_inf 
    736724                (pmu0 & PMU_SW_SET) ? ("sw") : ("hw")); 
    737725        pr_info("Digital PMU set to %s control\n", 
     
    740728+       rt2880_pinmux_data = mt7620a_pinmux_data; 
    741729 } 
    742 Index: linux-3.10.9/arch/mips/ralink/rt305x.c 
    743 =================================================================== 
    744 --- linux-3.10.9.orig/arch/mips/ralink/rt305x.c 2013-08-28 16:34:43.061951698 +0200 
    745 +++ linux-3.10.9/arch/mips/ralink/rt305x.c      2013-08-28 16:34:43.365951713 +0200 
     730--- a/arch/mips/ralink/rt305x.c 
     731+++ b/arch/mips/ralink/rt305x.c 
    746732@@ -17,90 +17,71 @@ 
    747733 #include <asm/mipsregs.h> 
     
    893879  
    894880 static void rt305x_wdt_reset(void) 
    895 @@ -114,14 +95,6 @@ 
     881@@ -114,14 +95,6 @@ static void rt305x_wdt_reset(void) 
    896882        rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG); 
    897883 } 
     
    908894 { 
    909895        void __iomem *sysc = (void __iomem *) KSEG1ADDR(RT305X_SYSC_BASE); 
    910 @@ -291,11 +264,14 @@ 
     896@@ -291,11 +264,14 @@ void prom_soc_init(struct ralink_soc_inf 
    911897        soc_info->mem_base = RT305X_SDRAM_BASE; 
    912898        if (soc_is_rt5350()) { 
     
    923909        } 
    924910 } 
    925 Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/rt305x.h 
    926 =================================================================== 
    927 --- linux-3.10.9.orig/arch/mips/include/asm/mach-ralink/rt305x.h        2013-08-21 00:40:47.000000000 +0200 
    928 +++ linux-3.10.9/arch/mips/include/asm/mach-ralink/rt305x.h     2013-08-28 16:34:43.365951713 +0200 
    929 @@ -125,24 +125,28 @@ 
     911--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
     912+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     913@@ -125,24 +125,28 @@ static inline int soc_is_rt5350(void) 
    930914 #define RT305X_GPIO_GE0_TXD0           40 
    931915 #define RT305X_GPIO_GE0_RXCLK          51 
     
    971955 #define RT3352_SYSC_REG_SYSCFG0                0x010 
    972956 #define RT3352_SYSC_REG_SYSCFG1         0x014 
    973 Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/mt7620.h 
    974 =================================================================== 
    975 --- linux-3.10.9.orig/arch/mips/include/asm/mach-ralink/mt7620.h        2013-08-28 16:34:42.625951682 +0200 
    976 +++ linux-3.10.9/arch/mips/include/asm/mach-ralink/mt7620.h     2013-08-28 18:32:38.370254386 +0200 
     957--- a/arch/mips/include/asm/mach-ralink/mt7620.h 
     958+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
    977959@@ -59,7 +59,6 @@ 
    978960 #define MT7620_DDR2_SIZE_MIN           32 
     
    1011993  
    1012994 #endif 
    1013 Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/rt3883.h 
    1014 =================================================================== 
    1015 --- linux-3.10.9.orig/arch/mips/include/asm/mach-ralink/rt3883.h        2013-08-21 00:40:47.000000000 +0200 
    1016 +++ linux-3.10.9/arch/mips/include/asm/mach-ralink/rt3883.h     2013-08-28 18:33:57.554258201 +0200 
     995--- a/arch/mips/include/asm/mach-ralink/rt3883.h 
     996+++ b/arch/mips/include/asm/mach-ralink/rt3883.h 
    1017997@@ -112,8 +112,6 @@ 
    1018998 #define RT3883_CLKCFG1_PCI_CLK_EN      BIT(19) 
     
    10451025 #define RT3883_GPIO_MODE_PCI_MASK      0x7 
    10461026 #define RT3883_GPIO_MODE_PCI           (RT3883_GPIO_MODE_PCI_MASK << RT3883_GPIO_MODE_PCI_SHIFT) 
    1047 Index: linux-3.10.9/arch/mips/ralink/common.h 
    1048 =================================================================== 
    1049 --- linux-3.10.9.orig/arch/mips/ralink/common.h 2013-08-28 16:34:42.453951675 +0200 
    1050 +++ linux-3.10.9/arch/mips/ralink/common.h      2013-08-28 18:10:55.014197854 +0200 
     1027--- a/arch/mips/ralink/common.h 
     1028+++ b/arch/mips/ralink/common.h 
    10511029@@ -11,25 +11,6 @@ 
    10521030  
     
    10751053        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
    10761054        unsigned char *compatible; 
    1077 Index: linux-3.10.9/arch/mips/ralink/rt3883.c 
    1078 =================================================================== 
    1079 --- linux-3.10.9.orig/arch/mips/ralink/rt3883.c 2013-08-21 00:40:47.000000000 +0200 
    1080 +++ linux-3.10.9/arch/mips/ralink/rt3883.c      2013-08-28 18:47:07.442290690 +0200 
     1055--- a/arch/mips/ralink/rt3883.c 
     1056+++ b/arch/mips/ralink/rt3883.c 
    10811057@@ -17,132 +17,50 @@ 
    10821058 #include <asm/mipsregs.h> 
     
    12501226  
    12511227 static void rt3883_wdt_reset(void) 
    1252 @@ -155,17 +73,6 @@ 
     1228@@ -155,17 +73,6 @@ static void rt3883_wdt_reset(void) 
    12531229        rt_sysc_w32(t, RT3883_SYSC_REG_SYSCFG1); 
    12541230 } 
     
    12681244 { 
    12691245        unsigned long cpu_rate, sys_rate; 
    1270 @@ -243,4 +150,6 @@ 
     1246@@ -243,4 +150,6 @@ void prom_soc_init(struct ralink_soc_inf 
    12711247        soc_info->mem_base = RT3883_SDRAM_BASE; 
    12721248        soc_info->mem_size_min = RT3883_MEM_SIZE_MIN; 
  • trunk/target/linux/ramips/patches-3.10/0202-owrt-USB-adds-dwc_otg.patch

    r38052 r38182  
    5050--- a/drivers/usb/Kconfig 
    5151+++ b/drivers/usb/Kconfig 
    52 @@ -126,6 +126,8 @@ source "drivers/usb/core/Kconfig" 
     52@@ -126,6 +126,8 @@ if USB 
    5353  
    54  source "drivers/usb/dwc3/Kconfig" 
     54 source "drivers/usb/core/Kconfig" 
    5555  
    5656+source "drivers/usb/dwc_otg/Kconfig" 
     
    6161--- a/drivers/usb/Makefile 
    6262+++ b/drivers/usb/Makefile 
    63 @@ -9,6 +9,7 @@ obj-$(CONFIG_USB)               += core/ 
    64  obj-$(CONFIG_USB_OTG_UTILS)    += otg/ 
     63@@ -7,6 +7,7 @@ 
     64 obj-$(CONFIG_USB)              += core/ 
    6565  
    6666 obj-$(CONFIG_USB_DWC3)         += dwc3/ 
  • trunk/target/linux/ramips/patches-3.10/0204-owrt-mtd-split-remove-padding.patch

    r38000 r38182  
    11--- a/drivers/mtd/mtdpart.c 
    22+++ b/drivers/mtd/mtdpart.c 
    3 @@ -808,10 +808,6 @@ static void split_uimage(struct mtd_info 
     3@@ -806,10 +806,6 @@ static void split_uimage(struct mtd_info 
    44                return; 
    55  
  • trunk/target/linux/ramips/patches-3.10/0205-uvc-add-iPassion-iP2970-support.patch

    r38054 r38182  
    1313 5 files changed, 61 insertions(+), 7 deletions(-) 
    1414 
    15 Index: linux-3.10.12/drivers/media/usb/uvc/uvc_driver.c 
    16 =================================================================== 
    17 --- linux-3.10.12.orig/drivers/media/usb/uvc/uvc_driver.c       2013-09-14 15:55:12.000000000 +0200 
    18 +++ linux-3.10.12/drivers/media/usb/uvc/uvc_driver.c    2013-09-19 04:30:11.825592123 +0200 
    19 @@ -2420,6 +2420,20 @@ 
     15--- a/drivers/media/usb/uvc/uvc_driver.c 
     16+++ b/drivers/media/usb/uvc/uvc_driver.c 
     17@@ -2420,6 +2420,20 @@ static struct usb_device_id uvc_ids[] = 
    2018          .bInterfaceProtocol   = 0, 
    2119          .driver_info          = UVC_QUIRK_PROBE_MINMAX 
     
    3836        { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) }, 
    3937        {} 
    40 Index: linux-3.10.12/drivers/media/usb/uvc/uvc_status.c 
    41 =================================================================== 
    42 --- linux-3.10.12.orig/drivers/media/usb/uvc/uvc_status.c       2013-09-14 15:55:12.000000000 +0200 
    43 +++ linux-3.10.12/drivers/media/usb/uvc/uvc_status.c    2013-09-19 01:52:55.721188742 +0200 
    44 @@ -139,6 +139,7 @@ 
     38--- a/drivers/media/usb/uvc/uvc_status.c 
     39+++ b/drivers/media/usb/uvc/uvc_status.c 
     40@@ -139,6 +139,7 @@ static void uvc_status_complete(struct u 
    4541                switch (dev->status[0] & 0x0f) { 
    4642                case UVC_STATUS_TYPE_CONTROL: 
     
    5046  
    5147                case UVC_STATUS_TYPE_STREAMING: 
    52 @@ -182,6 +183,7 @@ 
     48@@ -182,6 +183,7 @@ int uvc_status_init(struct uvc_device *d 
    5349        } 
    5450  
     
    5854        /* For high-speed interrupt endpoints, the bInterval value is used as 
    5955         * an exponent of two. Some developers forgot about it. 
    60 Index: linux-3.10.12/drivers/media/usb/uvc/uvc_video.c 
    61 =================================================================== 
    62 --- linux-3.10.12.orig/drivers/media/usb/uvc/uvc_video.c        2013-09-14 15:55:12.000000000 +0200 
    63 +++ linux-3.10.12/drivers/media/usb/uvc/uvc_video.c     2013-09-19 07:31:28.642057093 +0200 
     56--- a/drivers/media/usb/uvc/uvc_video.c 
     57+++ b/drivers/media/usb/uvc/uvc_video.c 
    6458@@ -21,6 +21,11 @@ 
    6559 #include <linux/wait.h> 
     
    7468 #include <media/v4l2-common.h> 
    7569  
    76 @@ -1074,9 +1079,149 @@ 
     70@@ -1074,9 +1079,149 @@ static void uvc_video_decode_data(struct 
    7771        } 
    7872 } 
     
    224218        if (data[1] & UVC_STREAM_EOF && buf->bytesused != 0) { 
    225219                uvc_trace(UVC_TRACE_FRAME, "Frame complete (EOF found).\n"); 
    226 @@ -1477,6 +1622,8 @@ 
     220@@ -1477,6 +1622,8 @@ static int uvc_init_video_isoc(struct uv 
    227221        if (npackets == 0) 
    228222                return -ENOMEM; 
     
    233227  
    234228        for (i = 0; i < UVC_URBS; ++i) { 
    235 Index: linux-3.10.12/drivers/media/usb/uvc/uvcvideo.h 
    236 =================================================================== 
    237 --- linux-3.10.12.orig/drivers/media/usb/uvc/uvcvideo.h 2013-09-14 15:55:12.000000000 +0200 
    238 +++ linux-3.10.12/drivers/media/usb/uvc/uvcvideo.h      2013-09-19 04:36:51.801609222 +0200 
     229--- a/drivers/media/usb/uvc/uvcvideo.h 
     230+++ b/drivers/media/usb/uvc/uvcvideo.h 
    239231@@ -137,6 +137,8 @@ 
    240232 #define UVC_QUIRK_FIX_BANDWIDTH                0x00000080 
     
    246238 /* Format flags */ 
    247239 #define UVC_FMT_FLAG_COMPRESSED                0x00000001 
    248 @@ -538,6 +540,7 @@ 
     240@@ -538,6 +540,7 @@ struct uvc_device { 
    249241        __u8 *status; 
    250242        struct input_dev *input; 
  • trunk/target/linux/x86/patches-3.10/012-export_erase_write.patch

    r37867 r38182  
    1212--- a/include/linux/mtd/mtd.h 
    1313+++ b/include/linux/mtd/mtd.h 
    14 @@ -391,6 +391,9 @@ extern void register_mtd_user (struct mt 
     14@@ -409,6 +409,9 @@ extern void register_mtd_user (struct mt 
    1515 extern int unregister_mtd_user (struct mtd_notifier *old); 
    1616 void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size); 
Note: See TracChangeset for help on using the changeset viewer.