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 -- 2.34.1