summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-4.4
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* ramips: add i2c clockMichael Lee2016-06-131-0/+40
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-132-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>
* ramips: enhance dma engine supportMichael Lee2016-06-131-211/+1339
| | | | | | | | | | | | | | * fix compiler error. device_control operation not support now. * add old chips support 8 channels. new chips support 16 channels. * add mt7621 hsdma driver. data sheet says it has two channels. but after test only one channel support. * add memory to memory DMA support. i use dmatest kernel module to verify this function. on rt305x it will copy more data. on mt7621 only two channels can works at the same time. these two chips maybe have hardware bugs. because on other chips don't have these bugs. * use tasklet to handle remaining dma requests. Signed-off-by: Michael Lee <igvtee@gmail.com>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-0714-31/+31
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-021-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add backported MT7628 pinmux fixesÁlvaro Fernández Rojas2016-05-294-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-05-231-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: remove fake vlan rx offload from ethernet driverFelix Fietkau2016-05-204-27/+6
| | | | | | The network stack does not need it to do GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: use backported upstream patchesÁlvaro Fernández Rojas2016-05-199-108/+236
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-05-111-7/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-102-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: mt7620: [UPSTREAM] fix USB frequency scalingD. Andrei Măceș2016-05-101-0/+33
| | | | | | | The logic for the SoC check got inverted. We need to check if it's not a MT76x8. Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>
* ramips: Get rt3050 ethernet ports to be disabled from the device tree.blogic2016-05-101-0/+81
| | | | | | | | | | | | | | | This patch allows configuring ports to be disabled in the device tree; this saves power, since disabling ports here actually disables power to ethernet PHYs. Line 444 enables all ethernet ports, so line 487 is getting zero ports to be disabled, except for port 5 in SoCs where this is not implemented as it will be sticky disabled in register POC0. Because of this, the code will still read the switch configuration and OR it to the device tree setting. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49290
* ramips: Fix comment in rt3050 ethernet switch driver.blogic2016-05-101-0/+24
| | | | | | | | | | | | Line 444 is actually enabling all switch ports by setting the disable bits to 0. This needs to be done because the bootloader sets all ports to disabled by default (which is the case for at least one router based on RT5350). So, this patch fixes the comment in line 443. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49289
* ramips: Fix documentation for the rt3050 switch driver.blogic2016-05-101-0/+23
| | | | | | | | The prefix used in the driver is now "mediatek" instead of "ralink". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49288
* ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.blogic2016-05-101-0/+26
| | | | | | | | | | | | | | | | | | The FCT2 esw register should be set to 0x2500C to have "unknown IPv6 multicast" packets broadcasted to every port, instead of dropped. The previous value only let those packets go through ports 1 and 3. "Unknown IPv6 multicast" packets include packets needed by ICMPv6 echo requests addressed to well-known addresses, such as ff02::1 (MAC address is 33:33:00:00:00:01 in this case). Please note that by default ICMPv6 echo requests to ff02::1 are not replied to by the router because of ip6tables considering those packets to be invalid. But this is another bug/patch. ;) Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49287
* ramips: fix build of targetHauke Mehrtens2016-04-241-10/+10
| | | | | | | | | | | Makes the patches apply again by fixing the white space broken patch. This problem was introduced in r49212. Closes #22248 and #22259 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49221
* ramips: awake rt305x USB controllerJohn Crispin2016-04-211-0/+15
| | | | | | | | | | | | | Because of Ralink uboot set USB controller into sleep mode [1] we check it and awake controller before any registers access. Fix ticket #21396 [2] [1] http://marc.info/?l=linux-usb&m=137398626102108&w=2 [2] https://dev.openwrt.org/ticket/21396 Signed-Off-By: Serge Vasilugin <vasilugin@yandex.ru> SVN-Revision: 49212
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-161-3/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49176
* ramips: Fixes for LinkIt 7688John Crispin2016-04-091-0/+73
| | | | | | | | | | | | | Misc fixes for LinkIt 7688 board: - Copy the right wireless firmware for the mt7688 - Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4. - Remove SPI_DEV from linux config which otherwise causes a massive warning - Add wmac to LINKIT7688.dts so wireless works Signed-off-by: Adam Kent <adam@semicircular.net> SVN-Revision: 49130
* ramips: add linux 4.4 support, update mt7621 subtarget to 4.4Felix Fietkau2016-03-0766-0/+30056
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48951