mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 21:45:17 +07:00
f2381f6522
Tegra power management firmware running on the co-processor (BPMP) implements a simple pseudo file system akin to debugfs. The file system can be used for debugging purposes to examine and change the status of selected resources controlled by the firmware (such as clocks, resets, voltages, powergates, ...). Add support to "mirror" the firmware's file system to debugfs. At boot, query firmware for a list of all possible files and create corresponding debugfs entries. Read/write of individual files is implemented by sending a Message ReQuest (MRQ) that passes the full file path name and data to firmware via DRAM. Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
5 lines
147 B
Makefile
5 lines
147 B
Makefile
tegra-bpmp-y = bpmp.o
|
|
tegra-bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o
|
|
obj-$(CONFIG_TEGRA_BPMP) += tegra-bpmp.o
|
|
obj-$(CONFIG_TEGRA_IVC) += ivc.o
|