lantiq: add Linux 5.4 support as testing kernel version master
authorMathias Kresin <dev@kresin.me>
Wed, 10 Jul 2019 10:29:03 +0000 (12:29 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 3 Mar 2020 20:13:31 +0000 (21:13 +0100)
commitd83a66ab011483e13b6cac345e148d3da0d5f0c7
tree0d049aac507634c100b125885de0b30cf38f3cd5
parent333b796c04d313cac56043b91461f083b71f8b45
lantiq: add Linux 5.4 support as testing kernel version

Switch to the mainline Lantiq PCIe PHY driver and update the vr9.dtsi
accordingly.

The Lantiq IRQ SMP support added upstream required changes to the SoC
dtsi as well.

Following changes are made to the Lantiq kernel patches:

  0005-lantiq_etop-pass-struct-device-to-DMA-API-functions.patch
  0006-MIPS-lantiq-pass-struct-device-to-DMA-API-functions.patch
    applied upstream

  0008-MIPS-lantiq-backport-old-timer-code.patch
    access_ok API update because it lost it's type (which was the first)
    parameter in upstream commit 96d4f267e40f95 ("Remove 'type' argument
    from access_ok() function")

  0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch
    merged into 0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch

  0024-MIPS-lantiq-revert-DSA-switch-driver-PMU-clock-chang.patch
    revert upstream changes required for upstream xrx200 ethernet and
    xrx200 (DSA) switch driver but breaking our driver

  0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch
    required for our driver but dropped upstream, add former upstream
    version

  0028-NET-lantiq-various-etop-fixes.patch
    now has to use the phy_set_max_speed API instead of modifying
    phydev->supported. Also call ltq_dma_enable_irq() in
    ltq_etop_open() based on upstream commit cc973aecf0b054 ("MIPS:
    lantiq: Do not enable IRQs in dma open")

Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
39 files changed:
target/linux/lantiq/Makefile
target/linux/lantiq/ase/config-5.4
target/linux/lantiq/config-5.4
target/linux/lantiq/falcon/config-5.4
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/amazonse.dtsi
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9.dtsi
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/danube.dtsi
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/falcon.dtsi
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9.dtsi
target/linux/lantiq/patches-5.4/0001-MIPS-lantiq-add-pcie-driver.patch
target/linux/lantiq/patches-5.4/0004-MIPS-lantiq-add-atm-hack.patch
target/linux/lantiq/patches-5.4/0005-lantiq_etop-pass-struct-device-to-DMA-API-functions.patch [deleted file]
target/linux/lantiq/patches-5.4/0006-MIPS-lantiq-pass-struct-device-to-DMA-API-functions.patch [deleted file]
target/linux/lantiq/patches-5.4/0008-MIPS-lantiq-backport-old-timer-code.patch
target/linux/lantiq/patches-5.4/0018-MTD-nand-lots-of-xrx200-fixes.patch
target/linux/lantiq/patches-5.4/0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
target/linux/lantiq/patches-5.4/0023-NET-PHY-add-led-support-for-intel-xway.patch
target/linux/lantiq/patches-5.4/0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch [deleted file]
target/linux/lantiq/patches-5.4/0024-MIPS-lantiq-revert-DSA-switch-driver-PMU-clock-chang.patch [new file with mode: 0644]
target/linux/lantiq/patches-5.4/0025-NET-MIPS-lantiq-adds-xrx200-legacy.patch [new file with mode: 0644]
target/linux/lantiq/patches-5.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch [deleted file]
target/linux/lantiq/patches-5.4/0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch [new file with mode: 0644]
target/linux/lantiq/patches-5.4/0028-NET-lantiq-various-etop-fixes.patch
target/linux/lantiq/patches-5.4/0030-GPIO-add-named-gpio-exports.patch
target/linux/lantiq/patches-5.4/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
target/linux/lantiq/patches-5.4/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
target/linux/lantiq/patches-5.4/0042-arch-mips-increase-io_space_limit.patch
target/linux/lantiq/patches-5.4/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch
target/linux/lantiq/patches-5.4/0051-MIPS-lantiq-improve-USB-initialization.patch
target/linux/lantiq/patches-5.4/0101-find_active_root.patch
target/linux/lantiq/patches-5.4/0151-lantiq-ifxmips_pcie-use-of.patch
target/linux/lantiq/patches-5.4/0152-lantiq-VPE.patch
target/linux/lantiq/patches-5.4/0154-lantiq-pci-bar11mask-fix.patch
target/linux/lantiq/patches-5.4/0160-owrt-lantiq-multiple-flash.patch
target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch
target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch
target/linux/lantiq/xrx200/config-5.4
target/linux/lantiq/xway/config-5.4
target/linux/lantiq/xway_legacy/config-5.4