[PATCH v3 0/7] TQMa7 eeprom sysinfo driver
Alexander Feilke
Alexander.Feilke at ew.tq-group.com
Wed May 27 11:51:16 CEST 2026
From: Alexander Feilke <alexander.feilke at ew.tq-group.com>
Integrates a new tq_eeprom sysinfo driver that reads & prints board
information during boot.
This is the basis for additional patches that will be sent along with
updates of the TQMa6 in the near future, including support for multiple
indexed sysinfo devices and VARD (variant detection) data for newer TQ SOM's.
changes in v2:
- add documentation for tq,eeprom-sysinfo dt-bindings
- use nvmem-cells instead of hardcoded offsets
- unified `tq_eeprom_serial_len` for old and new format
- replace XPL guards with $(PHASE_) in Makefile
- remove (yet) unused sysinfo IDs SYSID_RAM_SIZE and SYSID_RAM_VARIANT
- remove (yet) unused Kconfigs
changes in v3:
- fix fixed-layout compatible in dts
- use return value ret in sysinfo_tq_eeprom_detect
- remove unneeeded depends on !SPL_BUILD from Kconfig
- separate nvmem-layout commit to be dropped once upstream patch is accepted and
synced. Msg-ID of V1: 20260527093719.160777-1-Alexander.Feilke at ew.tq-group.com
- commit message improvements
- docstring improvements
Alexander Feilke (3):
arm: dts: tqma7: add eeprom nvmem-layout
arm: dts: tqma7: integrate tq,eeprom sysinfo driver
boards: tqma7: call tq-sysinfo setup
Nora Schiffer (4):
sysinfo: uclass: use sysinfo_priv size for per_device_auto
sysinfo: add sysinfo_get_and_detect() helper
sysinfo: tq_eeprom: new driver
board: tq: common: add sysinfo setup helper
MAINTAINERS | 1 +
arch/arm/dts/imx7s-tqma7-u-boot.dtsi | 20 ++
board/tq/common/Kconfig | 5 +
board/tq/common/Makefile | 1 +
board/tq/common/tq_sysinfo.c | 32 +++
board/tq/common/tq_sysinfo.h | 15 ++
board/tq/tqma7/tqma7.c | 3 +
configs/tqma7_common.config | 1 +
.../sysinfo/tq,eeprom-sysinfo.txt | 36 ++++
drivers/sysinfo/Kconfig | 8 +
drivers/sysinfo/Makefile | 1 +
drivers/sysinfo/sysinfo-uclass.c | 2 +-
drivers/sysinfo/tq_eeprom.c | 203 ++++++++++++++++++
include/sysinfo.h | 25 +++
include/sysinfo/tq_eeprom.h | 24 +++
15 files changed, 376 insertions(+), 1 deletion(-)
create mode 100644 board/tq/common/tq_sysinfo.c
create mode 100644 board/tq/common/tq_sysinfo.h
create mode 100644 doc/device-tree-bindings/sysinfo/tq,eeprom-sysinfo.txt
create mode 100644 drivers/sysinfo/tq_eeprom.c
create mode 100644 include/sysinfo/tq_eeprom.h
--
2.34.1
More information about the U-Boot
mailing list