mbox series

[RFC,0/2] Backport HiWiFi HC6361 support from ar71xx

Message ID 20220409030005.30505-1-yszhou4tech@gmail.com
Headers show
Series Backport HiWiFi HC6361 support from ar71xx | expand

Message

Yousong Zhou April 9, 2022, 3 a.m. UTC
The device support was left out during the ath79 migration, mainly
delayed by how to add device tree support for fetching ascii mac address

In this series, patches were added for supporting "mac-address-ascii"
nvmem cells.  At the moment it will be able to read mac address in the
form of 00:11:22:33:44:55

For the device itself, there is a minor issue regarding mac address
increment caused by the following generic patch

	683-of_net-add-mac-address-to-of-tree.patch

In the 1st call of ag71xx_probe, of_get_mac_address succeeds with
increment done and "mac-address" was added the the tree.  But later the
probe will fail with -EPROBE_DEFER because of PHY connect failure.  Then
on the 2nd call of ag71xx_probe and of_get_mac_address, the incremented
address will be found and incremented again

Yousong Zhou (2):
  ath79: add nvmem cell mac-address-ascii support
  ath79: port HiWiFi HC6361 from ar71xx

 .../linux/ath79/dts/ar9331_hiwifi_hc6361.dts  | 156 ++++++++++++++++++
 .../generic/base-files/etc/board.d/01_leds    |   4 +
 target/linux/ath79/image/generic.mk           |  12 ++
 ...of_net-add-mac-address-ascii-support.patch | 103 ++++++++++++
 .../408-mtd-redboot_partition_scan.patch      |   4 +-
 ...of_net-add-mac-address-ascii-support.patch | 103 ++++++++++++
 ...et-dsa-mt7530-support-MDB-operations.patch |   8 +-
 ...net-dsa-mt7530-add-interrupt-support.patch |  26 +--
 8 files changed, 397 insertions(+), 19 deletions(-)
 create mode 100644 target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts
 create mode 100644 target/linux/ath79/patches-5.10/600-of_net-add-mac-address-ascii-support.patch
 create mode 100644 target/linux/ath79/patches-5.15/600-of_net-add-mac-address-ascii-support.patch