162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci# Kconfig for Xilinx firmwares
362306a36Sopenharmony_ci
462306a36Sopenharmony_cimenu "Zynq MPSoC Firmware Drivers"
562306a36Sopenharmony_ci	depends on ARCH_ZYNQMP
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig ZYNQMP_FIRMWARE
862306a36Sopenharmony_ci	bool "Enable Xilinx Zynq MPSoC firmware interface"
962306a36Sopenharmony_ci	depends on ARCH_ZYNQMP
1062306a36Sopenharmony_ci	default y if ARCH_ZYNQMP
1162306a36Sopenharmony_ci	select MFD_CORE
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Firmware interface driver is used by different
1462306a36Sopenharmony_ci	  drivers to communicate with the firmware for
1562306a36Sopenharmony_ci	  various platform management services.
1662306a36Sopenharmony_ci	  Say yes to enable ZynqMP firmware interface driver.
1762306a36Sopenharmony_ci	  If in doubt, say N.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig ZYNQMP_FIRMWARE_DEBUG
2062306a36Sopenharmony_ci	bool "Enable Xilinx Zynq MPSoC firmware debug APIs"
2162306a36Sopenharmony_ci	depends on ZYNQMP_FIRMWARE && DEBUG_FS
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  Say yes to enable ZynqMP firmware interface debug APIs.
2462306a36Sopenharmony_ci	  If in doubt, say N.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciendmenu
27