public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom
@ 2025-07-30 17:22 Heiko Stuebner
  2025-07-30 17:22 ` [PATCH 1/2] dt-bindings: mfd: qnap,ts433-mcu: allow nvmem-layout child node Heiko Stuebner
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Heiko Stuebner @ 2025-07-30 17:22 UTC (permalink / raw)
  To: lee, srini; +Cc: robh, krzk+dt, conor+dt, heiko, devicetree, linux-kernel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-09-11 14:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30 17:22 [PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom Heiko Stuebner
2025-07-30 17:22 ` [PATCH 1/2] dt-bindings: mfd: qnap,ts433-mcu: allow nvmem-layout child node Heiko Stuebner
2025-07-31  0:18   ` Rob Herring (Arm)
2025-07-31 13:47   ` (subset) " Lee Jones
2025-07-31 13:48     ` Lee Jones
2025-07-30 17:22 ` [PATCH 2/2] nvmem: add driver for the eeprom in qnap-mcu controllers Heiko Stuebner
2025-09-09  5:51   ` Srinivas Kandagatla
2025-09-11  8:41     ` Lee Jones
2025-09-11  8:48       ` Heiko Stübner
2025-09-11 14:44         ` Lee Jones
2025-08-18  6:41 ` (subset) [PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox