treewide: backport support for nvmem on non platform devices
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 23 Jul 2021 18:19:43 +0000 (20:19 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 4 Aug 2021 23:46:26 +0000 (01:46 +0200)
commit91a52f22a13d768f5b16a2fd0e1d74ffe36f9cb1
treef28017e5a42615c51b599d6de96c9fb91d27d476
parentedb6bc199049769be76bb3966debcc2b31511e4b
treewide: backport support for nvmem on non platform devices

In the current state, nvmem cells are only detected on platform device.
To quickly fix the problem, we register the affected problematic driver
with the of_platform but that is more an hack than a real solution.
Backport from net-next the required patch so that nvmem can work also
with non-platform devices and rework our current patch.
Drop the mediatek and dsa workaround and rework the ath10k patches.
Rework every driver that use the of_get_mac_address api.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
36 files changed:
package/kernel/ath10k-ct/patches/203-ath10k-Try-to-get-mac-address-from-dts.patch
package/kernel/mac80211/patches/ath/984-ath10k-Try-to-get-mac-address-from-dts.patch [deleted file]
package/kernel/mac80211/patches/ath10k/984-ath10k-Try-to-get-mac-address-from-dts.patch [new file with mode: 0644]
package/kernel/mac80211/patches/rt2x00/607-rt2x00-add_platform_data_mac_addr.patch
package/kernel/mac80211/patches/subsys/782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch [new file with mode: 0644]
package/kernel/mt76/patches/001-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch [new file with mode: 0644]
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
target/linux/bcm4908/patches-5.4/074-v5.13-0001-net-broadcom-bcm4908_enet-read-MAC-from-OF.patch
target/linux/bmips/files/arch/mips/bmips/ath9k-fixup.c
target/linux/bmips/files/arch/mips/bmips/b43-sprom.c
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c
target/linux/generic/backport-5.10/782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch [new file with mode: 0644]
target/linux/generic/backport-5.10/782-net-next-2-of-net-fix-of_get_mac_addr_nvmem-for-non-platform-devices.patch [new file with mode: 0644]
target/linux/generic/backport-5.4/782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch [new file with mode: 0644]
target/linux/generic/backport-5.4/782-net-next-2-of-net-fix-of_get_mac_addr_nvmem-for-non-platform-devices.patch [new file with mode: 0644]
target/linux/generic/hack-5.10/780-drivers-net-mediatek-register-of_platform-for-every-.patch [deleted file]
target/linux/generic/hack-5.10/781-dsa-register-every-port-with-of_platform.patch [deleted file]
target/linux/generic/hack-5.4/780-drivers-net-mediatek-register-of_platform-for-every-.patch [deleted file]
target/linux/generic/hack-5.4/781-dsa-register-every-port-with-of_platform.patch [deleted file]
target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch
target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
target/linux/generic/pending-5.4/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch
target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
target/linux/generic/pending-5.4/683-of_net-add-mac-address-to-of-tree.patch
target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c
target/linux/lantiq/patches-5.10/0028-NET-lantiq-various-etop-fixes.patch
target/linux/lantiq/patches-5.4/0028-NET-lantiq-various-etop-fixes.patch
target/linux/layerscape/patches-5.4/701-net-0009-dpa-SDK-DPAA-1.x-Ethernet-driver.patch
target/linux/layerscape/patches-5.4/701-net-0286-staging-fsl_ppfe-eth-introduce-pfe-driver.patch
target/linux/layerscape/patches-5.4/701-net-0313-staging-fsl_ppfe-eth-reorganize-platform-phy-paramet.patch
target/linux/layerscape/patches-5.4/701-net-0399-staging-fsl_ppfe-eth-Enhance-error-checking-in-platf.patch
target/linux/octeon/patches-5.10/700-allocate_interface_by_label.patch
target/linux/octeon/patches-5.4/700-allocate_interface_by_label.patch
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
target/linux/realtek/files-5.4/drivers/net/ethernet/rtl838x_eth.c