Skip to content

cmd: fuse: Introduce fuse writebuff sub-system and clean up

Harsha Vardhan V M u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cmd: fuse: Remove custom string functionscmd/fuse.c+18 -211 reply
2/5doc: cmd: Add documentation for fuse commanddoc/README.fuse doc/usage/cmd/fuse.rst doc/usage/index.rst+157 -670 replies
3/5cmd: fuse: Add fuse writebuff sub-system commandcmd/Kconfig cmd/fuse.c include/fuse.h+42 -50 replies
4/5drivers: k3_fuse: Add fuse sub-system func callsdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/k3_fuse.c+86 -00 replies
5/5doc: cmd: Add fuse writebuff cmd documentationdoc/usage/cmd/fuse.rst+20 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/5R-b
2/5
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

This patch series introduces the fuse writebuff sub-system command and makes improvements to the existing fuse implementation by removing the custom string functions. The patches are required to be applied in sequence.

The series consists of the following changes:
Patch 1 removes custom string functions and replaces them with standard string functions.
Patch 2 introduces fuse.rst documentation for fuse commands. Patch 3 introduces the fuse writebuff sub-system command, allowing to write a structured buffer in memory to fuses, and implementing the necessary function calls.
Patch 4 enables the fuse sub-system in the K3 platform. Patch 5 updates the fuse.rst documentation to include details about the new fuse writebuff command.

These changes aim to improve the fuse sub-system by the removal of custom string functions and the addition of the fuse writebuff command improves fuse programming workflows by allowing to write a structured buffer in memory to efuses.

Changes in non-RFC patch series:
Drop the explicit u32 typecast throughout in patch #1.
Link to RFC v3 patch series: https://lore.kernel.org/u-boot/20250318140932.GY2640854@bill-the-cat/T/#m79236044732c410b0281973ef03c11e4d3e31991

Harsha Vardhan V M (5):
cmd: fuse: Remove custom string functions
doc: cmd: Add documentation for fuse command
cmd: fuse: Add fuse writebuff sub-system command
drivers: k3_fuse: Add fuse sub-system func calls
doc: cmd: Add fuse writebuff cmd documentation

 cmd/Kconfig            |   8 ++
 cmd/fuse.c             |  63 +++++++++------
 doc/README.fuse        |  67 ----------------
 doc/usage/cmd/fuse.rst | 176 +++++++++++++++++++++++++++++++++++++++++
 doc/usage/index.rst    |   1 +
 drivers/misc/Kconfig   |   7 ++
 drivers/misc/Makefile  |   1 +
 drivers/misc/k3_fuse.c |  78 ++++++++++++++++++
 include/fuse.h         |   9 +++
 9 files changed, 320 insertions(+), 90 deletions(-)
 delete mode 100644 doc/README.fuse
 create mode 100644 doc/usage/cmd/fuse.rst
 create mode 100644 drivers/misc/k3_fuse.c
Signature · 1 line
2.34.1