162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig HAVE_ARM_SMCCC
362306a36Sopenharmony_ci	bool
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  Include support for the Secure Monitor Call (SMC) and Hypervisor
662306a36Sopenharmony_ci	  Call (HVC) instructions on Armv7 and above architectures.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig HAVE_ARM_SMCCC_DISCOVERY
962306a36Sopenharmony_ci	bool
1062306a36Sopenharmony_ci	depends on ARM_PSCI_FW
1162306a36Sopenharmony_ci	default y
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	 SMCCC v1.0 lacked discoverability and hence PSCI v1.0 was updated
1462306a36Sopenharmony_ci	 to add SMCCC discovery mechanism though the PSCI firmware
1562306a36Sopenharmony_ci	 implementation of PSCI_FEATURES(SMCCC_VERSION) which returns
1662306a36Sopenharmony_ci	 success on firmware compliant to SMCCC v1.1 and above.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig ARM_SMCCC_SOC_ID
1962306a36Sopenharmony_ci	bool "SoC bus device for the ARM SMCCC SOC_ID"
2062306a36Sopenharmony_ci	depends on HAVE_ARM_SMCCC_DISCOVERY
2162306a36Sopenharmony_ci	default y
2262306a36Sopenharmony_ci	select SOC_BUS
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Include support for the SoC bus on the ARM SMCCC firmware based
2562306a36Sopenharmony_ci	  platforms providing some sysfs information about the SoC variant.
26