Commit Graph

38 Commits (dcc20e525b7b7814f45f542c9503175db67d40e5)

Author SHA1 Message Date
John Crispin 506cf51b53 ralink: fix pci reset patch
sorry, forgot to make target/update before commiting the last patch

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43374
10 years ago
John Crispin 41f9765acd ralink: add proper reset of pci core
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43370
10 years ago
John Crispin d93dc245e5 ralink: various fixes to the wm8960 setup code
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>

SVN-Revision: 43305
10 years ago
John Crispin 989bfd815b ralink: make the dmaengine driver compile under 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43304
10 years ago
John Crispin 510ff1f1b8 ralink: merge the mt7620a/n subtargets
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43300
10 years ago
John Crispin 752745a85a ralink: set ralink_soc on mt7621
sdhci failed to init because of this

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43293
10 years ago
John Crispin 32d4348540 ralink: fix pcie reset
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>

SVN-Revision: 43292
10 years ago
John Crispin c073bf6bdf ralink: few updates tot he sdhci probe code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43275
10 years ago
John Crispin ce1c580efb ralink: make the sdhci module build again
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43274
10 years ago
John Crispin 7cc72e4b93 ralink: dont define pm_poweroff
this makes gpio-poweroff work

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43254
10 years ago
John Crispin be23eaa8c3 ralink: fix bank detection in mt7621 gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43253
10 years ago
John Crispin 0767ee848a ralink: fix broken pinmux function naming inside mt7621.c
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43251
10 years ago
John Crispin 8cde8a05c9 ralink: update sdhci driver
the new driver handles newer SoCs

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43250
10 years ago
John Crispin 66463a5b5d ralink: update pcie driver to load ranges from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43249
10 years ago
John Crispin 7963782b86 ralink: add a new global ralink_soc variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43248
10 years ago
John Crispin 938e1e03fb ralink: drop some unused code from pci-mt7620a
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43242
10 years ago
John Crispin 86e3315ece ralink: add support for mt7621 ethernet
somehow all switch ports still come up as 10mbit.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43237
10 years ago
John Crispin 604a3e5134 ralink: fix a regression that broke pcie on mt7621
i accidentally dropped 2 lines while adding mt7628 support

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43216
10 years ago
John Crispin 89f74722b7 ralink: assign default ranges inside the pci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43207
10 years ago
John Crispin c5954fc510 ralink: make pci driver handle mt7628
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43198
10 years ago
John Crispin d524fe46fd ralink: move ethernet driver to files/
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43194
10 years ago
John Crispin 2f30ba5328 ralink: make sure a mii_bus is loaded before accesing its state
this caused a crash on boot

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43120
10 years ago
John Crispin 0b19244498 ralink: mt7530 - force wan port up
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>

SVN-Revision: 43117
10 years ago
John Crispin 38692d14f2 ralink: fix mt7530 for newer silicon revisions
latest mt7530 silicon seems to have a different phy id.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43113
10 years ago
John Crispin 152d692a1f ramips: improve ralink ethernet driver
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>

SVN-Revision: 43108
10 years ago
John Crispin 8223e78121 ralink: fix a off by 4 bug in mt7530
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>

SVN-Revision: 43104
10 years ago
John Crispin 1bbc5de86e ralink: various i2c related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42868
10 years ago
John Crispin 97c202968a ralink: various i2c fixes
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>

SVN-Revision: 42807
10 years ago
John Crispin 98114e7cdd ralink: Add missing code to free GPIO on Ralink SoC
Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de

SVN-Revision: 42788
10 years ago
John Crispin 4ef1237545 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42617
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
10 years ago
John Crispin bdba024c7b ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42445
10 years ago
John Crispin 24a6617585 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42315
10 years ago
John Crispin d3d9d55cde ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42292
10 years ago
John Crispin 843fc45e27 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42291
10 years ago
John Crispin a3fd3dc796 ramips: second spi device on rt5350
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>

SVN-Revision: 42276
10 years ago
John Crispin bf1e92f526 ralink: add back the gpio_export_named() patch for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42176
10 years ago
John Crispin bc67bd2295 ralink: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42040
10 years ago