ath79: convert TP-Link Archer C7v1/2 Wifis to nvmem-cells
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 16 Oct 2021 19:28:52 +0000 (21:28 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 28 Nov 2021 00:13:08 +0000 (01:13 +0100)
commit297bceeecf29e9bfedba0b26c9d0a2cefeda2add
treef28b2e6e8f8ab504999aed8d7b1d4acc391b0b5d
parent49d400191dae027a89909680e372f1934a1e1766
ath79: convert TP-Link Archer C7v1/2 Wifis to nvmem-cells

For v2, both ath9k (2.4GHz Wifi) and ath10k (5 GHz) driver now
pull the (pre-)calibration data from the nvmem subsystem. v1
is slightly different as only the ath9k Wifi is supported.

This allows us to move the userspace caldata extraction
and mac-address patching for the 5GHZ ath10k supported
wifi into the device-tree definition of the device.

ath9k's nodes are also changed over to use nvmem-cells
over OpenWrt's custom mtd-cal-data property.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts
target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata