aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.4
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update to version 4.4.14Hauke Mehrtens2016-07-041-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: fix up switch settings for Sitecom WL-351 v1 002Tobias Diedrich2016-07-041-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-07-041-0/+21
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix pinmux typoJohn Crispin2016-07-041-0/+77
| | | | | Reported-by: Joy Kicer <joykicer@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* ramips: add i2s clocksMichael Lee2016-07-041-3/+30
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: improve i2s driversMichael Lee2016-07-041-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-07-041-0/+40
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-242-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: enable wm8960 kernel menuconfig select optionMichael Lee2016-06-241-0/+11
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enhance dma engine supportMichael Lee2016-06-241-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>
* ramips: add backported MT7628 pinmux fixesÁlvaro Fernández Rojas2016-06-244-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-06-241-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: remove fake vlan rx offload from ethernet driverFelix Fietkau2016-06-244-27/+6
| | | | | | The network stack does not need it to do GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-221-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-201-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: use backported upstream patchesÁlvaro Fernández Rojas2016-06-209-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-06-201-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-06-202-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-1914-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7620: [UPSTREAM] fix USB frequency scalingLuka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Get rt3050 ethernet ports to be disabled from the device tree.John Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix comment in rt3050 ethernet switch driver.John Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix documentation for the rt3050 switch driver.John Crispin2016-06-191-0/+23
| | | | | | | | The prefix used in the driver is now "mediatek" instead of "ralink". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.John Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-161-3/+3
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48951 3c298f89-4303-0410-b956-a3cf2f4a3e73