[PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom

Heiko Stuebner posted 2 patches 2 months ago
There is a newer version of this series
.../bindings/mfd/qnap,ts433-mcu.yaml          |   3 +
drivers/mfd/qnap-mcu.c                        |   1 +
drivers/nvmem/Kconfig                         |   9 ++
drivers/nvmem/Makefile                        |   2 +
drivers/nvmem/qnap-mcu-eeprom.c               | 110 ++++++++++++++++++
5 files changed, 125 insertions(+)
create mode 100644 drivers/nvmem/qnap-mcu-eeprom.c
[PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom
Posted by Heiko Stuebner 2 months ago
The qnap-mcu is firmware running on a Weltrend WT61P803 MCU and there is
an eeprom connected to it, that can be read via the serial interface.

The eeprom is somewhat important, as it contains for example the
assigned mac address for the rk3568's gmac interface on TSx33 devices.

So add a nvmem driver for it and hook it into the mfd.

Heiko Stuebner (2):
  dt-bindings: mfd: qnap,ts433-mcu: allow nvmem-layout child node
  nvmem: add driver for the eeprom in qnap-mcu controllers

 .../bindings/mfd/qnap,ts433-mcu.yaml          |   3 +
 drivers/mfd/qnap-mcu.c                        |   1 +
 drivers/nvmem/Kconfig                         |   9 ++
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/qnap-mcu-eeprom.c               | 110 ++++++++++++++++++
 5 files changed, 125 insertions(+)
 create mode 100644 drivers/nvmem/qnap-mcu-eeprom.c

-- 
2.47.2
Re: (subset) [PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom
Posted by Srinivas Kandagatla 1 month, 2 weeks ago
On Wed, 30 Jul 2025 19:22:46 +0200, Heiko Stuebner wrote:
> The qnap-mcu is firmware running on a Weltrend WT61P803 MCU and there is
> an eeprom connected to it, that can be read via the serial interface.
> 
> The eeprom is somewhat important, as it contains for example the
> assigned mac address for the rk3568's gmac interface on TSx33 devices.
> 
> So add a nvmem driver for it and hook it into the mfd.
> 
> [...]

Applied, thanks!

[2/2] nvmem: add driver for the eeprom in qnap-mcu controllers
      commit: 117c3f3014a929464c01622cb95b566bd27244f8

Best regards,
-- 
Srinivas Kandagatla <srini@kernel.org>