ipq40xx: utilize nvmem-cells for plasmacloud,pa1200
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)
commitb8bda645fcbd1b8c3aafdf2ebd4d54893fdddd65
treec28f67164b2f4f76bac260d1d339cf4714b392d2
parent364550f9d922c142af11ef3eeff11e309e3beef5
ipq40xx: utilize nvmem-cells for plasmacloud,pa1200

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>
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-ipq4018-pa1200.dts