mbox series

[0/3] Read MAC address through NVMEM for sama7g5ek

Message ID 20240619072231.6876-1-andrei.simion@microchip.com (mailing list archive)
Headers show
Series Read MAC address through NVMEM for sama7g5ek | expand

Message

Andrei Simion June 19, 2024, 7:22 a.m. UTC
This series proposes to add EEPROM support and reading MAC addresses through
NVMEM (via Devicetree) for sama7g5ek:
- Add in DT bindings document the EEPROM compatibles : "at24,mac02e4" and
"at24,mac02e6"
- Update to the driver to support "at24,mac02e4" and
"at24,mac02e6" and adjusting offset for those 24AA025E{48, 64}.
- Added the nodes in devicetree for eeproms where are stored eui48 MAC,
and update gmac nodes to read the MAC via devicetree through NVMEM.

Andrei Simion (1):
  dt-bindings: eeprom: at24: Add at24,mac02e4 and at24,mac02e6

Claudiu Beznea (2):
  eeprom: at24: avoid adjusting offset for 24AA025E{48, 64}
  ARM: dts: at91: at91-sama7g5ek: add EEPROMs

 .../devicetree/bindings/eeprom/at24.yaml      | 10 ++-
 .../arm/boot/dts/microchip/at91-sama7g5ek.dts | 44 +++++++++++
 drivers/misc/eeprom/at24.c                    | 73 +++++++++++--------
 3 files changed, 93 insertions(+), 34 deletions(-)


base-commit: 0c52056d9f77508cb6d4d68d3fc91c6c08ec71af