]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: xilinx: Add debugfs support for PM_GET_NODE_STATUS
authorMadhav Bhatt <madhav.bhatt@amd.com>
Thu, 17 Apr 2025 09:45:43 +0000 (02:45 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 07:57:31 +0000 (09:57 +0200)
commit548fe51740d0f3294e548f654c099e5aefbf4cb7
tree7c14a8f8f6834c9993132d852bae5196850fc720
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
firmware: xilinx: Add debugfs support for PM_GET_NODE_STATUS

Add new debug interface to support PM_GET_NODE_STATUS to get the node
information like requirements and usage.

The debugfs firmware driver interface is only meant for testing and
debugging EEMI APIs. Hence, it is by-default disabled in production
systems.

Signed-off-by: Madhav Bhatt <madhav.bhatt@amd.com>
Link: https://lore.kernel.org/r/20250417094543.3873507-1-madhav.bhatt@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/firmware/xilinx/zynqmp-debug.c
drivers/firmware/xilinx/zynqmp.c
include/linux/firmware/xlnx-zynqmp.h