18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig HAVE_ARM_SMCCC
38c2ecf20Sopenharmony_ci	bool
48c2ecf20Sopenharmony_ci	help
58c2ecf20Sopenharmony_ci	  Include support for the Secure Monitor Call (SMC) and Hypervisor
68c2ecf20Sopenharmony_ci	  Call (HVC) instructions on Armv7 and above architectures.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig HAVE_ARM_SMCCC_DISCOVERY
98c2ecf20Sopenharmony_ci	bool
108c2ecf20Sopenharmony_ci	depends on ARM_PSCI_FW
118c2ecf20Sopenharmony_ci	default y
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	 SMCCC v1.0 lacked discoverability and hence PSCI v1.0 was updated
148c2ecf20Sopenharmony_ci	 to add SMCCC discovery mechanism though the PSCI firmware
158c2ecf20Sopenharmony_ci	 implementation of PSCI_FEATURES(SMCCC_VERSION) which returns
168c2ecf20Sopenharmony_ci	 success on firmware compliant to SMCCC v1.1 and above.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig ARM_SMCCC_SOC_ID
198c2ecf20Sopenharmony_ci	bool "SoC bus device for the ARM SMCCC SOC_ID"
208c2ecf20Sopenharmony_ci	depends on HAVE_ARM_SMCCC_DISCOVERY
218c2ecf20Sopenharmony_ci	default y
228c2ecf20Sopenharmony_ci	select SOC_BUS
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Include support for the SoC bus on the ARM SMCCC firmware based
258c2ecf20Sopenharmony_ci	  platforms providing some sysfs information about the SoC variant.
26