[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250730172248.1875122-1-heiko@sntech.de>
Date: Wed, 30 Jul 2025 19:22:46 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: lee@...nel.org,
srini@...nel.org
Cc: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
heiko@...ech.de,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom
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
Powered by blists - more mailing lists