aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10/780-drivers-net-mediatek-register-of_platform-for-every-.patch
Commit message (Collapse)AuthorAgeFilesLines
* treewide: backport support for nvmem on non platform devicesAnsuel Smith2021-08-051-27/+0
| | | | | | | | | | | | 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>
* kernel: bump 5.10 to 5.10.52Rui Salvaterra2021-07-251-6/+1
| | | | | | | | | Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by Paul Blazejowski. Resort the kconfig while at it. No deleted or manually refreshed patches. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* generic: fix mediatek and dsa not detecting mac-addr from nvmemAnsuel Smith2021-07-231-0/+32
Nvmem require the device node to be registered with the of_platform. Register the device node so that nvmem can correctly find the dev and correctly load the mac-addr stored in the nvmem cell declared in the dts. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>