firmware: samsung: add ACPM debugfs support
Get series with b4
b4 am [email protected] change-id 20250221-acpm-debugfs-d196d08e6462Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | firmware: exynos-acpm: rename exynos-acpm.h to exynos-acpm-xfer.hdrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 2/3 | firmware: exynos-acpm: move common structures to exynos-acpm.hdrivers/ drivers/ | +64 | 0 replies | |
| 3/3 | firmware: samsung: add ACPM debugfs supportdrivers/ drivers/ drivers/ +1 more | +412 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] firmware: samsung: add ACPM debugfs support
The ACPM firmware saves debug information to SRAM. Add debugfs entries in order to expose the ACPM logs.
acpm_framework/logb_gprio_level controls the ACPM print verbosity to the SRAM log buffer. It encodes a 64 bit value, 4 bits for each of the 16 Plugin IDs, with verbosity levels from 0xf (log error) to 0x0 (log debug).
acpm_framework/log_level has a maximum value of 2 and controls which SRAM log buffers are printed.
Finally, acpm_framework/acpm_debug_cmd provides a way to issue ACPM DEBUG commands to the firmware.
Add ACPM debugfs support with the above capabilities.
---
Tudor Ambarus (3):
firmware: exynos-acpm: rename exynos-acpm.h to exynos-acpm-xfer.h
firmware: exynos-acpm: move common structures to exynos-acpm.h
firmware: samsung: add ACPM debugfs support
drivers/firmware/samsung/Makefile | 1 + drivers/firmware/samsung/exynos-acpm-debugfs.c | 359 +++++++++++++++++++++++++ drivers/firmware/samsung/exynos-acpm-pmic.c | 2 +- drivers/firmware/samsung/exynos-acpm-xfer.h | 23 ++ drivers/firmware/samsung/exynos-acpm.c | 61 ++--- drivers/firmware/samsung/exynos-acpm.h | 95 ++++++- 6 files changed, 485 insertions(+), 56 deletions(-)
---
base-commit: f4d315a1f9d8fcaf608f283f01ce4d66160f44a1
change-id: 20250221-acpm-debugfs-d196d08e6462
Best regards,
Signature · 1 line
Tudor Ambarus <[email protected]>