ipq40xx: utilize nvmem-cells for plasmacloud,pa2200
authorSven Eckelmann <sven@narfation.org>
Tue, 25 Oct 2022 07:12:16 +0000 (09:12 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Nov 2022 14:26:34 +0000 (15:26 +0100)
commitce6c9e0328a563082d12397068fbf2eb2a227d24
tree307453c3b652b5354cdee28326fd3e85ffebafbe
parent539a5fd62490c22fdd29ddbc2ccfb2fd25cba610
ipq40xx: utilize nvmem-cells for plasmacloud,pa2200

The calibration data and mac addresses on this device are stored in the
0:ART partition. It is therefore possible to move the code to handle them
directly to the devicetree instead of the various scripts.

But the actual relevant information about the partition layout is provided
by the bootloader via bootargs (mtdparts) and not via the devicetree
itself. Instead of using a fixed-partition template, the mtd dynamic
partitions support from the upstream kernel is used.

Reported-by: Robert Marko <robert.marko@sartura.hr>
Tested-by: Michaƫl BILCOT <michael.bilcot@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-pa2200.dts