mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 20:56:42 +07:00
b321725257
Firmware-debug provides debugfs interface to all APIs. Debugfs can be used to call firmware APIs with required parameters. Usage: * Calling firmware API through debugfs: # echo "<api-name> <arg1> .. <argn>" > /sys/.../zynqmp-firmware/pm * Read output of last called firmware API: # cat /sys/.../zynqmp-firmware/pm Refer ug1200 for more information on these APIs: * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf Add basic debugfs file to get API version. Signed-off-by: Rajan Vaja <rajanv@xilinx.com> Signed-off-by: Jolly Shah <jollys@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
24 lines
645 B
Plaintext
24 lines
645 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
# Kconfig for Xilinx firmwares
|
|
|
|
menu "Zynq MPSoC Firmware Drivers"
|
|
depends on ARCH_ZYNQMP
|
|
|
|
config ZYNQMP_FIRMWARE
|
|
bool "Enable Xilinx Zynq MPSoC firmware interface"
|
|
help
|
|
Firmware interface driver is used by different
|
|
drivers to communicate with the firmware for
|
|
various platform management services.
|
|
Say yes to enable ZynqMP firmware interface driver.
|
|
If in doubt, say N.
|
|
|
|
config ZYNQMP_FIRMWARE_DEBUG
|
|
bool "Enable Xilinx Zynq MPSoC firmware debug APIs"
|
|
depends on ZYNQMP_FIRMWARE && DEBUG_FS
|
|
help
|
|
Say yes to enable ZynqMP firmware interface debug APIs.
|
|
If in doubt, say N.
|
|
|
|
endmenu
|