Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add SG2044 eFUSE driver
@ 2026-11-24  7:29 Inochi Amaoto
  2026-11-24  7:29 ` [PATCH v2 1/3] dt-bindings: nvmem: Add SG2044 eFuse controller Inochi Amaoto
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Inochi Amaoto @ 2026-11-24  7:29 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen Wang, Inochi Amaoto, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Han Gao, Hangfan Li
  Cc: devicetree, sophgo, linux-kernel, linux-riscv, Yixun Lan,
	Longbin Li

Add SG2044 eFUSE driver, The eFUSE contains factory-programmed data,
and it will be auto loaded into shadow registers while startup. So
only MMIO read is needed.

Change from v1:
- https://lore.kernel.org/all/20261014074516.240247-1-inochiama@gmail.com/
patch 1:
1. Remove clock-names minItems.
patch 2:
1. Fix wrong buffer size in sg2044_efuses_read().
2. Fix return type of sg2044_efuses_read_strip
3. Fix some style error on the driver.

Inochi Amaoto (3):
  dt-bindings: nvmem: Add SG2044 eFuse controller
  nvmem: Add Sophgo SG2044 eFuse driver
  riscv: dts: sophgo: sg2044: Add eFUSE device

 .../bindings/nvmem/sophgo,sg2044-efuse.yaml   |  59 ++++++
 .../boot/dts/sophgo/sg2044-sophgo-srd3-10.dts |   4 +
 arch/riscv/boot/dts/sophgo/sg2044.dtsi        |  12 ++
 drivers/nvmem/Kconfig                         |  12 ++
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/sophgo-efuse.c                  | 176 ++++++++++++++++++
 6 files changed, 265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/sophgo,sg2044-efuse.yaml
 create mode 100644 drivers/nvmem/sophgo-efuse.c

--
2.56.1


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

end of thread, other threads:[~2026-11-24  7:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  7:29 [PATCH v2 0/3] Add SG2044 eFUSE driver Inochi Amaoto
2026-11-24  7:29 ` [PATCH v2 1/3] dt-bindings: nvmem: Add SG2044 eFuse controller Inochi Amaoto
2026-11-24  7:29 ` [PATCH v2 2/3] nvmem: Add Sophgo SG2044 eFuse driver Inochi Amaoto
2026-11-24  7:42   ` sashiko-bot
2026-11-24  7:29 ` [PATCH v2 3/3] riscv: dts: sophgo: sg2044: Add eFUSE device Inochi Amaoto

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