aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ramips: add clock strecthing support to i2c driverJohn Crispin2015-07-241-32/+35
| | | | | | | | fixes #19816 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46472
* generic: cdc_ncm: Add support for moving NDP to end of NCM frameJohn Crispin2015-07-241-0/+195
| | | | | | | | | | | | | | | | | | | | | | NCM specs are not actually mandating a specific position in the frame for the NDP (Network Datagram Pointer). However, some Huawei devices will ignore our aggregates if it is not placed after the datagrams it points to. Add support for doing just this, in a per-device configurable way. While at it, update NCM subdrivers, disabling this functionality in all of them, except in huawei_cdc_ncm where it is enabled instead. We aren't making any distinction between different Huawei NCM devices, based on what the vendor driver does. Standard NCM devices are left unaffected: if they are compliant, they should be always usable, still stay on the safe side. This change has been tested and working with a Huawei E3131 device (which works regardless of NDP position) and an E3372 device (which mandates NDP to be after indexed datagrams). Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46464
* generic: Add missing symbols when tracing is enabledJohn Crispin2015-07-241-0/+2
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46463
* generic: add missing symbolJohn Crispin2015-07-241-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46462
* brcm2708: add kmod-sound-soc-bcm2708-i2s supportJohn Crispin2015-07-241-0/+155
| | | | | | | | This adds support for I2S SoC Audio modules. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46461
* brcm2708: add kmod-video-bcm2835 supportJohn Crispin2015-07-241-0/+17
| | | | | | | | This adds BCM2835 camera interface driver as a kernel module. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46460
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-242-0/+120
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46459
* ar71xx: add support for Onion OmegaJohn Crispin2015-07-249-6/+139
| | | | | | | | | | | | This patch adds support for the Onion Omega. https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> SVN-Revision: 46458
* ar71xx: Add support for AP147-010 reference boardJohn Crispin2015-07-2415-0/+250
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46457
* ar71xx: Add support for PCIe on QCA953xJohn Crispin2015-07-242-0/+88
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46456
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2John Crispin2015-07-241-1/+1
| | | | | | | | | | | | | | | There are a few NETGEAR devices which don't terminate the model name in the ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of trailing 0xFF garbage in this case. Fix this by matching for the first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46455
* ramips: add support for STORYLiNK SAP-G3200U3John Crispin2015-07-248-1/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN. It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons * ethernet switch and USB diag LEDs * UART * GPIOs Tested and not working: * LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?) * failsafe mode (known problem, needs workaround like other MTK based devices) More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46454
* lantiq: Silence the PCIe error interrupt printk also in 4.1John Crispin2015-07-241-1/+1
| | | | | | | | | This ports 9e2a7b779e6f0914395da3657b00f0ac00209bfd to the 4.1 patches. I forgot this when preparing the initial 4.1 patch. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46453
* kernel: refresh patches for 4.1Jonas Gorski2015-07-224-8/+7
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46441
* kernel: update 4.0 to 4.0.9Jonas Gorski2015-07-223-3/+3
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46440
* kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-2210-20/+20
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46439
* ar71xx: refresh kernel configFelix Fietkau2015-07-221-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46438
* kernel: update to linux 4.1.3Felix Fietkau2015-07-224-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46437
* generic: add more missing linux 4.1 symbolsFelix Fietkau2015-07-221-0/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46435
* ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash ↵Felix Fietkau2015-07-201-1/+1
| | | | | | | | driver (fixes #20125) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46433
* ar71xx: switch to linux 4.1Felix Fietkau2015-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46432
* ar71xx: add missing patch chunk to 4.1 unaligned access hacksFelix Fietkau2015-07-191-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46431
* ar71xx: reorganize 4.1 patch directory layoutFelix Fietkau2015-07-1935-554/+275
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46430
* ar71xx: refresh kernel configFelix Fietkau2015-07-191-8/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46429
* kernel: add missing config symbols for 4.1Felix Fietkau2015-07-191-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46428
* ar71xx: refresh 4.1 patchesFelix Fietkau2015-07-1939-80/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46427
* ar71xx: add 4.1 supportFelix Fietkau2015-07-1995-0/+10253
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46426
* Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)Felix Fietkau2015-07-198-307/+0
| | | | | | | | The commit is incomplete, it does not even build the mach-* file This reverts commit 6e6adcf7a197b1802cb728ddcccf05f890ca0574 SVN-Revision: 46425
* kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in ↵Felix Fietkau2015-07-183-0/+105
| | | | | | | | netifd with musl) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46420
* ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.John Crispin2015-07-181-0/+5
| | | | | | | | | | As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working on these devices. This adds them to the calibration data loading introduced in r46244 and thus makes 5GHz work again for these devices. Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46415
* ar71xx: use automatic firmware partition splitting for devolo dLAN devicesJohn Crispin2015-07-181-4/+4
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46414
* ramips: enable mt76 by default for mt7621Felix Fietkau2015-07-184-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46410
* ramips: add support for Planex MZK-DP150NJohn Crispin2015-07-178-0/+135
| | | | | | | | | This patch add support for Planex MZK-DP150N. a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 46405
* brcm2708: add gzip image compressionJohn Crispin2015-07-171-0/+11
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46404
* brcm2708: add Raspberry Pi Compute Module supportJohn Crispin2015-07-172-0/+10
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46403
* brcm2708: switch to linux 4.1John Crispin2015-07-171-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46402
* brcm2708: add upstream (bcm2835) modules and improve downstream ones (bcm2708)John Crispin2015-07-171-11/+60
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46401
* generic: add missing linux 4.1 symbolsJohn Crispin2015-07-171-0/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46400
* brcm2708: add linux 4.1 supportJohn Crispin2015-07-17121-0/+139563
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46399
* brcm2708: split target config into subtargetsJohn Crispin2015-07-174-69/+452
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46398
* brcm2708: remove unneeded base-filesJohn Crispin2015-07-173-56/+0
| | | | | | | | Device tree exports board name/model and device LEDs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46397
* brcm2708: improve profiles and image generationJohn Crispin2015-07-173-17/+36
| | | | | | | | | - Add profiles for bcm2708 subtarget. - Check subtarget for image generation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46396
* brcm63xx: make use of dt-includesJonas Gorski2015-07-1678-184/+340
| | | | | | | | | Now that we have a dtc command that invokes the preprocessor, make use of it and replace the magic numbers with KEY_* defines. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46391
* brcm63xx: make use of the new BuildDTB commandJonas Gorski2015-07-161-1/+1
| | | | | | | | | Now that we have a BuildDTB command, make use of it instead of calling dtc directly. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46390
* brcm63xx: HG553 buttons supportJonas Gorski2015-07-161-0/+20
| | | | | | | | | This patch adds buttons support for Huawei EchoLife HG553. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46388
* brcm63xx: switch to 4.1Jonas Gorski2015-07-151-1/+1
| | | | | | | | | Switch brcm63xx to 4.1 to give it some initial testing, but keep 3.18 at least until CC-final is out. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46386
* ar8216: add swconfig attributes for ARL table flushingFelix Fietkau2015-07-153-1/+67
| | | | | | | | Add swconfig attributes for flushing the ARL table globally or per port. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46382
* ar8216: adjust ATU flushing in case of link changesFelix Fietkau2015-07-151-6/+4
| | | | | | | | | | If a link goes down, don't flush the complete ARL table. Only flush the entries for the respective port. Don't touch ARL table if a link goes up. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46381
* ar8216: add ARL table flushing per portFelix Fietkau2015-07-154-4/+47
| | | | | | | | | | | | | Adds functions for flushing ARL table entries per port. Successfully tested on AR8327. Implementation for AR8216/AR8236/AR8316 is based on the AR8236 datasheet and assumes that the three chips share a common ATU register layout. Compile-tested only for AR8216/AR8236/AR8316. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46380
* ar8216: add reading ARL table for AR8216/AR8236/AR8316Felix Fietkau2015-07-152-8/+98
| | | | | | | | | | | | | | | | Adds the chip-specific part of reading ARL table for AR8216/AR8236/AR8316. It's based on the AR8236 datasheet and compile-tested only as I couldn't find datasheets for AR8216/AR8316 and don't own devices with these chips. The existing ar8216_atu_flush implementation was used for all three chip types, therefore I guess they share a common ATU register layout. More testing would be appreciated. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46379