aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-4.1
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: fix a race condition in the SPI driver leading to rx FIFO overflows ↵Felix Fietkau2015-12-041-1/+13
| | | | | | | | (and subsequent timeouts) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix xway spi driver timeout issuesFelix Fietkau2015-12-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: clean up the xrx200 ethernet driver and fix stability issuesFelix Fietkau2015-12-042-73/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix compile errorHauke Mehrtens2015-11-241-1/+1
| | | | | | | | | This fixes a problem introduced in r47624. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-241-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add phy led config support over devicetree bindingsJohn Crispin2015-11-211-1/+267
| | | | | | | | | | | This patch adds the posibility to config the led behaviour of the lantiq phys over the devicetree bindings.It patches the 0023-NET-PHY-adds-driver-for-lantiq-PHY11G for 3.18 and 4.1. I have also added a register description overview for applicable values. This goes to the documentation folder in the linux kernel. Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: tweak DWC2 default parametersJohn Crispin2015-11-211-5/+5
| | | | | | | | | | | | | | | | | | | | | This patch improves the default configuration of DWC2 on lantiq SoCs somewhat: * Set maximum packet count to largest allowed value by the DWC2 (511) * Use 16-bit DMA bursts * Divide fifo buffers more evenly Default fifo buffer sizes from original ltq-hcd driver seem really irrational. For example according to DWC2 data book rxfifo size of 240 will not fit even a single full length USB packet. On the other hand non-periodic tx fifo size of 240 is more than enough to fit one complete packet. Change the sizes around to improve the situation and to fix some issues especially with isochronous USB transfers. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add clk_round_rate()Hauke Mehrtens2015-10-251-0/+43
| | | | | | | | | | | | | This adds a basic implementation of clk_round_rate() The clk_round_rate() function is called by multiple drivers and subsystems now and the lantiq clk driver is supposed to export this, but doesn't do so, this causes linking problems like this one: ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-251-2/+2
| | | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Print the status register whenever an error occursJohn Crispin2015-10-191-1/+3
| | | | | | | | This should help finding potential problems with the SPI driver. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fixed reading the number of RX FIFOs in the SPI driverJohn Crispin2015-10-191-1/+1
| | | | | | | | | | Until now the SPI driver used the TX bits for the RX FIFO. This seems uncritical for now since both are equals on my devices (VR9), but this could cause problems on other SoCs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix use of IRQF_DISABLED in lantiq kmodsJohn Crispin2015-10-111-4/+4
| | | | | | | | | | | | | The IRQF_DISABLED flag was removed in kernel 4.1 with commit "genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1]. Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: spi driver fixJohn Crispin2015-10-071-14/+28
| | | | | | | | adds a missing wait busy. based on the UGW patch 2060.. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix ath_pci_fixup hang on bridged devicesJohn Crispin2015-10-051-1/+10
| | | | | | | | | | | | | | | | Port of r41856. In contrast to the brcm63xx target, it isn't sufficient to enable/disable the bridge. The device needs to be enabled/disabled to fix the hang. The bridge will be automatically enabled by the time the connected device is enabled. Fixes boot on TD-W8980. Signed-off-by: Mathias Kresin <openwrt@kresin.me> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Change the data-type of mac address in ETOP driverJohn Crispin2015-10-052-10/+1
| | | | | | | | This adds the changes from r46219 to the linux 4.1 patches as well. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-042-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add AR9 compatibility bits to DWC2 driverJohn Crispin2015-09-141-2/+3
| | | | | | | | | | | | Add AR9 DTS definition to be recognized by the DWC2 driver. The same driver parameters can be mostly used except that some boards seem to erroneously report OTG HNP/SRP capability of the USB HCD. Forcing the HNP/SRP off allows these boards to work with the DWC2 as well. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Initialize USB on AR9 platformJohn Crispin2015-09-141-2/+3
| | | | | | | | | | Based on the ltq-hcd driver the AR9 USB can be initialized the same way as the VR9 platform. Use the same initialization bits for both platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Use the BAR0 base address in the ath PCI fixup codeFelix Fietkau2015-09-111-4/+4
| | | | | | | | | | | Fixes support for AR9287 on TP-Link TD-W8980 and possibly other devices which have an ath wifi chip at a PCI address other than 0xb8000000 (TD-W8980 for example has it's wifi chip at 0xbc000000). Signed-off-by: Geoffrey McRae <geoff@spacevs.com> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-231-3/+3
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Support newer versions of the PEF7071 ethernet PHYsJohn Crispin2015-08-171-1/+1
| | | | | | | | | | The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's PHY driver (for his u-boot sources) already supports that PHY because it uses a PHY ID mask of 0xfffffff8. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-052-3/+3
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches for 4.1Jonas Gorski2015-07-221-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for linux 4.1John Crispin2015-07-0738-0/+19499
All (still relevant) patches were refresh. The following patches were dropped because they are applied upstream: - 0003-MIPS-lantiq-handle-vmmc-memory-reservation.patch - 0005-MIPS-lantiq-add-reset-controller-api-support.patch - 0006-MIPS-lantiq-reboot-gphy-on-restart.patch - 0009-MIPS-lantiq-command-line-work-around.patch - 0010-MIPS-lantiq-export-soc-type.patch - 0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch - 0037-MIPS-lantiq-move-eiu-init-after-irq_domain-register.patch Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46216 3c298f89-4303-0410-b956-a3cf2f4a3e73