xref: /linux/drivers/firmware/smccc/Kconfig (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: GPL-2.0-only
2config HAVE_ARM_SMCCC
3	bool
4	help
5	  Include support for the Secure Monitor Call (SMC) and Hypervisor
6	  Call (HVC) instructions on Armv7 and above architectures.
7
8config HAVE_ARM_SMCCC_DISCOVERY
9	bool
10	depends on ARM_PSCI_FW
11	default y
12	help
13	 SMCCC v1.0 lacked discoverability and hence PSCI v1.0 was updated
14	 to add SMCCC discovery mechanism though the PSCI firmware
15	 implementation of PSCI_FEATURES(SMCCC_VERSION) which returns
16	 success on firmware compliant to SMCCC v1.1 and above.
17
18config ARM_SMCCC_SOC_ID
19	bool "SoC bus device for the ARM SMCCC SOC_ID"
20	depends on HAVE_ARM_SMCCC_DISCOVERY
21	default y
22	select SOC_BUS
23	help
24	  Include support for the SoC bus on the ARM SMCCC firmware based
25	  platforms providing some sysfs information about the SoC variant.
26