ramips: add support for kernel 5.10
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Sat, 27 Feb 2021 23:12:21 +0000 (15:12 -0800)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 5 Mar 2021 23:55:51 +0000 (23:55 +0000)
commitb4aad29a1d7ad77d67073c1c54b28c429c64ed9b
tree54d0b355b70f9dc5c7486940954d75f3d5cb3fa0
parent38ba1f9b4ca4d263489a50cf078fd3c374bc4042
ramips: add support for kernel 5.10

Enable testing kernel.

Delete upstreamed patches:
 0098-disable_cm.patch can be dropped, upstream fixed CM handling.

Fix compile errors by using new kernel APIs.

Fix fuzz by manually editing patches to ensure the code goes in the
right place.

For 721-NET-no-auto-carrier-off-support.patch, revert upstream commit
a307593a6 to keep the OpenWrt ralink driver operational.

Add mt7621-pci-phy patch to select REGMAP_MMIO as discussed in PR #3693
and #3952.

Rename patches to follow the 3-digit classification from the OpenWrt
Developer Guide.

Run automatic quilt refresh.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
51 files changed:
target/linux/ramips/Makefile
target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mdio_rt2880.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c
target/linux/ramips/mt7620/config-5.10 [new file with mode: 0644]
target/linux/ramips/mt7621/config-5.10 [new file with mode: 0644]
target/linux/ramips/mt76x8/config-5.10 [new file with mode: 0644]
target/linux/ramips/patches-5.10/020-mips-ralink-manage-low-reset-lines.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/200-add-ralink-eth.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/202-weak_reordering.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/203-staging-mt7621-pci-phy-kconfig-select-regmap-mmio.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/300-mt7620-export-chip-version-and-pkg.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/310-MIPS-Fix-memory-reservation-in-bootmem_init-for-cert.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/311-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/312-MIPS-ralink-add-cpu-frequency-scaling.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/313-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/314-MIPS-add-bootargs-override-property.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/315-owrt-hack-fix-mt7688-cache-issue.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/316-arch-mips-do-not-select-illegal-access-driver-by-def.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/320-mt7621-core-detect-hack.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/321-mt7621-timer.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/323-mt7621-memory-detect.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/324-mt7621-perfctr-fix.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/330-fix-pci-init-mt7620.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/400-mtd-cfi-cmdset-0002-force-word-write.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/410-mtd-rawnand-add-driver-support-for-MT7621-nand-flash.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/411-dt-bindings-add-documentation-for-mt7621-nand-driver.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/420-spi-nor-add-gd25q512.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/710-at803x.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/720-Revert-net-phy-simplify-phy_link_change-arguments.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/721-NET-no-auto-carrier-off-support.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/800-GPIO-add-named-gpio-exports.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/801-DT-Add-documentation-for-gpio-ralink.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/802-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/803-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/810-uvc-add-iPassion-iP2970-support.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/820-DT-Add-documentation-for-spi-rt2880.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/821-SPI-ralink-add-Ralink-SoC-spi-driver.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/825-i2c-MIPS-adds-ralink-I2C-driver.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/830-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/840-serial-add-ugly-custom-baud-rate-hack.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/845-pwm-add-mediatek-support.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch [new file with mode: 0644]
target/linux/ramips/patches-5.10/855-linkit_bootstrap.patch [new file with mode: 0644]
target/linux/ramips/rt288x/config-5.10 [new file with mode: 0644]
target/linux/ramips/rt305x/config-5.10 [new file with mode: 0644]
target/linux/ramips/rt3883/config-5.10 [new file with mode: 0644]