Re: [PATCH v2 0/3] Read MAC Address from SST vendor specific SFDP region
From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-03-26 19:11:38
Also in:
linux-arm-kernel, lkml
On Wed, 26 Mar 2025 12:51:37 +0530, Manikandan Muralidharan wrote:
This patch series adds support to parse the SFDP SST vendor map, read and
store the EUI-48 and EUI-64 Address (if its programmed) using the
resource-managed devm_kcalloc which will be freed on driver detach.
Register EUI addresses into NVMEM framework for the net drivers to access
them using nvmem properties.
This change ensures consistent and reliable MAC address retrieval
from QSPI benefiting boards like the sama5d29 curiosity and
sam9x75 curiosity.
--------
changes in v2:
- 1/3 - parse the SST vendor table, read and store the addresses
into a resource - managed space. Register the addresses
into NVMEM framework
- 2/3 - add support to update the QSPI partition into 'fixed-partition'
binding
--------
Manikandan Muralidharan (3):
mtd: spi-nor: sfdp: parse SFDP SST vendor map and register EUI
addresses into NVMEM framework
ARM: dts: microchip: sama5d29_curiosity: update the QSPI partitions
using "fixed-partition" binding
ARM: dts: microchip: sama5d29_curiosity: Add nvmem-layout in QSPI for
EUI48 MAC Address
.../dts/microchip/at91-sama5d29_curiosity.dts | 62 ++++---
drivers/mtd/spi-nor/sfdp.c | 161 ++++++++++++++++++
include/linux/mtd/spi-nor.h | 7 +
3 files changed, 206 insertions(+), 24 deletions(-)
--
2.25.1
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/next-20250326 (exact match)
If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/microchip/' for 20250326072140.172244-1-manikandan.m@microchip.com:
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dtb: flash@0: Unevaluated properties are not allowed ('nvmem-layout' was unexpected)
from schema $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml#