aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.4
Commit message (Collapse)AuthorAgeFilesLines
* ramips: bump to v4.9John Crispin2017-07-0687-33043/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: enable PCIe on MT7688Daniel Golle2017-06-031-1/+2
| | | | | | | Submitted upstream as well, see patchwork https://patchwork.linux-mips.org/patch/16223/ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: update kernel 4.4 to version 4.4.69Kevin Darbyshire-Bryant2017-05-212-2/+2
| | | | | | | | | | | | | | | | | | | Refresh patches. A number of patches have landed upstream & hence are no longer required locally: 062-[1-6]-MIPS-* series 042-0004-mtd-bcm47xxpart-fix-parsing-first-block Reintroduced lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup as it was incorrectly included upstream thus dropped from LEDE. As it has now been reverted upstream it needs to be included again for LEDE. Run tested ar71xx Archer C7 v2 and lantiq. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> [update from 4.4.68 to 4.4.69] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: support jumbo frame on mt7621 up to 2kMichael Lee2017-05-184-17/+32
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* kernel: update kernel 4.4 to 4.4.61Jo-Philipp Wich2017-04-151-21/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to 4.4.59Hauke Mehrtens2017-04-021-1/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update kernel 4.4 to 4.4.56Hauke Mehrtens2017-03-264-36/+6
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: rename patch file suffix from .c to .patchFurong Xu2017-03-011-0/+0
| | | | Signed-off-by: Furong Xu <xfr@outlook.com>
* kernel: update kernel 4.4 to version 4.4.47Stijn Tintel2017-02-061-1/+1
| | | | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken, except arc770 and arch38 due to broken toolchain. Runtime-tested on ar71xx, octeon, ramips and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ramips: Introduce CONFIG_MIPS_APPENDED_RAW_DTB to arch/mips/ralinkTobias Wolf2017-02-021-0/+28
| | | | | | | | | | This commit introduces CONFIG_MIPS_APPENDED_RAW_DTB as an alternative to OWRTDTB. Both solutions can be used concurrently until all board configurations have been changed. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de> [Jo-Philipp Wich: rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add support for Buffalo WCR-1166DSFUKAUMI Naoki2017-01-311-0/+30
| | | | | | | | | | | | | | | | | | | | | Buffalo WCR-1166DS is a small wireless router with - MT7628AN + MT7612E - 64MiB DDR2 SDRAM - 16MiB SPI flash - 2T2R 11ac/a/b/g/n Wi-Fi - 2x 10/100M ethernet switch - 8x programmable LED - 3x button - UART pad on PCB (J2: 3.3V, GND, TX, RX) factory image can be installed via stock web UI. due to the "dual image" function in the bootloader, the second half of the SPI flash ("firmware2" partition) cannot be used as a part of the file system. Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* Kernel: bump to 4.4.44Stijn Segers2017-01-271-4/+4
| | | | | | | | Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64. .44 has been run-tested on the 17.01 branch here on ar71xx and mt7621. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-152-2/+2
| | | | | | | | Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-134-14/+9
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: rt3883: fix typo in pinctrl lna_g_funcDaniel Golle2017-01-131-0/+26
| | | | | | | | Spotted by forum users https://forum.openwrt.org/viewtopic.php?pid=347439#p347439 Reported-by: Tom Psyborg <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: Fix VLAN limits for MT7621 GSWAntonis Kanouras2017-01-101-1/+5
| | | | | | | | | Without this patch swconfig will only allow setting up a total of 16 VLANs, with VLAN ID range of 0-15. Tested on ubnt-erx. Signed-off-by: Antonis Kanouras <antonis@metadosis.eu>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-061-14/+0
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: mtd: backport SPI_NOR_HAS_LOCKVictor Shyba2017-01-031-3/+3
| | | | | | | | | This flag was added to 4.9 with upstream commit 76a4707de5e18dc32d9cb4e990686140c5664a15. Signed-off-by: Victor Shyba <victor1984@riseup.net> [refresh and adjust platform patches, fix commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: bump to 4.4.39Kevin Darbyshire-Bryant2016-12-201-3/+3
| | | | | | | | Bump & refresh patches for all 4.4 targets. Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ramips: adding DWM-158 3g ModemGiuseppe Lippolis2016-12-141-0/+14
| | | | | | | | | This patch add the 3G modem DWM-158 to the usb-serial option driver. The DWM-158 is a pcie 3G modem. It is embedded in the DWR-512 modem supportet by lede. The patch has been submitted and merged in the upstream linux-next repository. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: prevent packet forwarding on mt7620 between switch ports during init ↵Felix Fietkau2016-12-042-5/+7
| | | | | | | | | | | | | | | | (FS#103) By default, forwarding between all ports is allowed on init. This is problematic in cases where some ports are supposed to be isolated from each other, most commonly LAN/WAN separation. REG_ESW_PORT_PCR(port) has a destination mask for a particular port, controlling what other ports it is allowed to send packets to. Instead of initializing all to 0xff (all ports), allow each physical port to send to the CPU port, and the CPU port to send to all other ports. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix sdhci support on mt7621John Crispin2016-12-012-24/+10
| | | | | | the IRQ level was wrong. refresh the patch while at it. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix wrong check for MT7621ATAndrew Yong2016-11-211-1/+1
| | | | | | | fix in sdhci Use ralink_soc == MT762X_SOC_MT7621AT instead of CONFIG_SOC_MT7621 which is wrong and breaks builds on mt7620a-similar platforms (MT7621, MT7688) Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: Fix sdhci kernel panics on MT7621Andrew Yong2016-11-211-2/+2
| | | | | | | | | | | | | | Enable work-arounds present in the code commented-out but needed to write to sdcard on mt7621 which currently causes kernel to oops when engaging in serious writing to sdcard. With this change applied, there are still occasional warnings thrown by the mmc driver, however, at least it no longer crashes the system and even large writes (full-card dump/erase/write/compare) don't show any corruption. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Rebase to LEDE and added "CONFIG_SOC_MT7621" check to ensure non-MT7621 devices do not face performance regressions. Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: add MT7620 MIB support for switch and portVitaly Chekryzhev2016-11-172-72/+351
| | | | | | | | | Move definitions to header. Replace array size definitions with macro. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com> [merged into 0513-net-mediatek-add-swconfig-driver-for-gsw_mt762x.patch] Signed-off-by: Mathias Kresin <dev@kresin.me> Acked-by: John Crispin <john@phrozen.org>
* ramips: fix polling switch interruptsFelix Fietkau2016-11-142-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add hack to detect missing mt7621 cpu coresFelix Fietkau2016-11-141-0/+61
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.30Stijn Segers2016-11-021-3/+3
| | | | | | | | | | This patch bumps the 4.4 kernel from .28 to .30 and refreshes the patches. Compile-tested on ar71xx, x86/64, ramips/mt7621, brcm47xx and kirkwood. Run-tested on ar71xx & ramips/mt7621, brcm47xx and kirkwood (last two confirmed by P. Wassi). Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* kernel: update to v4.4.23Álvaro Fernández Rojas2016-09-301-3/+3
| | | | | | | Refresh patches for all targets that support kernel 4.4. compile/run-tested on brcm2708/bcm2710 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.22Stijn Segers2016-09-302-3/+3
| | | | | | Forgot to update kernel-version.mk, so updated patch. Compile-tested on x86/64 and ar71xx; run-tested on x86/64 and ar71xx. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* kernel: update kernel 4.4 to version 4.4.21Álvaro Fernández Rojas2016-09-161-3/+3
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.20Álvaro Fernández Rojas2016-09-154-5/+5
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: mtd: backport Macronix sector size fixMathias Kresin2016-09-031-3/+3
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-231-3/+3
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-161-1/+2
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-151-2/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-137-22/+22
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: add MT7620 pinmux bits for mdio as refclkMichael Lee2016-07-111-0/+42
| | | | | | The MT7620 uses a 2 bit wide configuration of the mdio. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix usb phy initialisationJohn Crispin2016-07-111-0/+35
| | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix MT7621 gsw handlingJohn Crispin2016-07-051-0/+31
| | | | | | based on https://forum.openwrt.org/viewtopic.php?pid=323671#p323671 Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix mt7621 SoC detectionJohn Crispin2016-07-051-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix up switch settings for Sitecom WL-351 v1 002John Crispin2016-07-031-0/+69
| | | | | | | | | Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
* ramips: disable the WP pin on the SDK mmc driverJohn Crispin2016-06-301-0/+21
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix pinmux typoJohn Crispin2016-06-301-0/+77
| | | | | Reported-by: Joy Kicer <joykicer@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-261-4/+4
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: update i2c driversMichael Lee2016-06-202-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* Revert "ramips: update i2c drivers"John Crispin2016-06-172-611/+371
| | | | | | | | This reverts commit d8202a84096831d4e6e2a522476bd6a0d46e6413. the commit broke I2C on various boards. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: enable wm8960 kernel menuconfig select optionMichael Lee2016-06-131-0/+11
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add i2s clocksMichael Lee2016-06-131-3/+30
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: improve i2s driversMichael Lee2016-06-131-461/+742
| | | | | | | | | | | | | | | * remove mt7620-wm8960.c use simple card and DTS to do it * add old chips support * add 12Mhz refclk setup. this is hard code. need use clock framework rewrite it * add interrupt error status support for debug. default disable it. because it cause to many interrupts * add setup bclk suport not hard code it * add 24 bits support for mt7628. not verified * use regmap api to control registers * add txdma-req/rxdma-req DTS params for DMA use Signed-off-by: Michael Lee <igvtee@gmail.com>