aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.14
Commit message (Collapse)AuthorAgeFilesLines
* ramips: fix patches after 3.14.32 bumpLuka Perkov2015-02-089-57/+54
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix USB host function for Intenso M2MJohn Crispin2015-02-031-1/+3
| | | | | | | | | | | | | | | | | | The ubootloader of the M2M sets the reset bits for both USB device and USB host during initialization (to save a few mA of power during boot). However, for the usb<->sata bridge to be properly detected, it is necessary to clear both reset bits as otherwise the kernel logs will just be filled with: usb 1-1: device descriptor read/64, error -145 ... Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messagesFelix Fietkau2015-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621 cpu feature overridesFelix Fietkau2015-01-181-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh kernel patchesFelix Fietkau2015-01-185-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt7621 pcie through device treeFelix Fietkau2015-01-171-27/+49
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: sync mt7621 pcie driver with latest SDKJohn Crispin2015-01-171-25/+19
| | | | | | | | fixes newer ECO versions and a hang on reboot bug Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix for gpio falling interrupt maskJohn Crispin2015-01-081-0/+42
| | | | | | | | | | | | | This patch fixes a wrong mask operation for the rt2880-compatible ralink devices. The mask operation reads the actual flags and then logical combines it with the pin flag it want to set. Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used. That caused a problem if you want to use more than one falling GPIO interrupt. Now the correct (seperated) actual status is used for both, falling and rising. Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rework and fix m25p80 chunked-io supportFelix Fietkau2015-01-021-92/+118
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: split mt7621 spi into a separate driver, increase maximum transfer sizeFelix Fietkau2015-01-023-451/+448
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips]: honor the bootloader's bootargsImre Kaloz2015-01-021-0/+40
| | | | | | | | | | Only overwrite the bootloader's bootargs if "chosen" exists in the dtb Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update mtd patches to apply after changes from r43700Rafał Miłecki2014-12-152-10/+8
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesFelix Fietkau2014-12-0820-320/+217
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix pci reset patchJohn Crispin2014-11-241-3/+11
| | | | | | | | sorry, forgot to make target/update before commiting the last patch Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add proper reset of pci coreJohn Crispin2014-11-241-0/+29
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: various fixes to the wm8960 setup codeJohn Crispin2014-11-191-127/+221
| | | | | | | | | still no sound but the codec is properly detected now, powers up and i can hear noise on the speakers. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make the dmaengine driver compile under 3.14John Crispin2014-11-191-35/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: merge the mt7620a/n subtargetsJohn Crispin2014-11-191-0/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: set ralink_soc on mt7621John Crispin2014-11-171-12/+24
| | | | | | | | sdhci failed to init because of this Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix pcie resetJohn Crispin2014-11-171-9/+10
| | | | | | | | | some old mt7620a uboots dont reset the pcie core properly. work around this issue in the kernel driver. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: few updates tot he sdhci probe codeJohn Crispin2014-11-151-57/+56
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make the sdhci module build againJohn Crispin2014-11-141-13/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: dont define pm_poweroffJohn Crispin2014-11-141-0/+12
| | | | | | | | this makes gpio-poweroff work Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix bank detection in mt7621 gpio driverJohn Crispin2014-11-141-12/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix broken pinmux function naming inside mt7621.cJohn Crispin2014-11-141-30/+50
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update sdhci driverJohn Crispin2014-11-141-936/+2332
| | | | | | | | the new driver handles newer SoCs Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update pcie driver to load ranges from dtsJohn Crispin2014-11-141-27/+17
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add a new global ralink_soc variableJohn Crispin2014-11-141-0/+230
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop some unused code from pci-mt7620aJohn Crispin2014-11-141-18/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for mt7621 ethernetJohn Crispin2014-11-121-6057/+0
| | | | | | | | somehow all switch ports still come up as 10mbit. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix a regression that broke pcie on mt7621John Crispin2014-11-081-8/+11
| | | | | | | | i accidentally dropped 2 lines while adding mt7628 support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: assign default ranges inside the pci driverJohn Crispin2014-11-071-14/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make pci driver handle mt7628John Crispin2014-11-061-90/+138
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: move ethernet driver to files/John Crispin2014-11-061-6063/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make sure a mii_bus is loaded before accesing its stateJohn Crispin2014-10-301-4/+4
| | | | | | | | this caused a crash on boot Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7530 - force wan port upJohn Crispin2014-10-301-5/+14
| | | | | | | | some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7530 for newer silicon revisionsJohn Crispin2014-10-301-10/+7
| | | | | | | | latest mt7530 silicon seems to have a different phy id. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve ralink ethernet driverJohn Crispin2014-10-291-458/+1434
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change list: * add tx scatter gather function. * add software rx vlan offload to let GRO work. * add jumbo frame support. because use build_skb so max MTU is 3812. * enable hardware tx vlan. * enable GRO and remove LRO. because it can improve performance and can work on forwarding. * enable/fix tx padding function. * let napi handle tx clean up. * support ethtool operation. now support message level, hardware status and coalesce. * ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it. Notes: * build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a. * TCP NAT performance improve. test with netperf. - rt2880(gigabit) from 5x to 12x Mbps. - rt3x5x from 6x to 94 Mbps. - rt5250 from 5x to 8x Mbps. - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame. - mt7620 still 94Mbps. * TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix a off by 4 bug in mt7530John Crispin2014-10-291-63/+112
| | | | | | | | 0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: various i2c related fixesJohn Crispin2014-10-101-20/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: various i2c fixesJohn Crispin2014-10-061-31/+66
| | | | | | | | the driver did not handle all states correctly causing a deadlock of the i2c hw block. Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: Add missing code to free GPIO on Ralink SoCJohn Crispin2014-10-061-11/+27
| | | | | | | Signed-off-by: schildt@ibr.cs.tu-bs.de Acked-by: info@gerhard-bertelsmann.de git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop dwc_otg support. dwc2 seems stableJohn Crispin2014-09-191-24517/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.14 to 3.14.18Luka Perkov2014-09-1062-973/+243
| | | | | | | | Targets were build tested and patches are refreshed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add dwc2 device_reset() callJohn Crispin2014-09-081-0/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: unbreak i2c for 3.14John Crispin2014-08-281-27/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: a few 3.14 related fixesJohn Crispin2014-08-251-131/+104
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7620 ohci 3.14John Crispin2014-08-252-50/+45
| | | | | | | | the ohci phy was not reset properly Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: second spi device on rt5350John Crispin2014-08-251-0/+368
| | | | | | | | | | | | | | | | This is based on Jon Smirl's patch with the following changes: - Set CS polarity as low by default. - Add support for changing CS polarity. - Add support for changing LSB/MSB. - Add support for changing SPI mode. - Fix indentations. I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add back the gpio_export_named() patch for 3.14John Crispin2014-08-181-0/+177
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42176 3c298f89-4303-0410-b956-a3cf2f4a3e73