Merge tag 'v5.9-rc2' into regulator-5.9
[linux-2.6-microblaze.git] / drivers / firmware / smccc / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
8 config 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
18 config 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.