cpufreq: Enable COMPILE_TEST on Arm drivers
COMPILE_TEST is useful for build testing without requiring a specific architecture's compiler. Enable it for most of the Arm CPUFreq drivers. As Kconfig.arm is only included on ARM and ARM64, COMPILE_TEST is only enabled for those architectures until that is dropped. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
parent
1ffec650d0
commit
3f66425a4f
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
|
config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
|
||||||
tristate "Allwinner nvmem based SUN50I CPUFreq driver"
|
tristate "Allwinner nvmem based SUN50I CPUFreq driver"
|
||||||
depends on ARCH_SUNXI
|
depends on ARCH_SUNXI || COMPILE_TEST
|
||||||
depends on NVMEM_SUNXI_SID
|
depends on NVMEM_SUNXI_SID
|
||||||
select PM_OPP
|
select PM_OPP
|
||||||
help
|
help
|
||||||
@ -26,15 +26,17 @@ config ARM_APPLE_SOC_CPUFREQ
|
|||||||
|
|
||||||
config ARM_ARMADA_37XX_CPUFREQ
|
config ARM_ARMADA_37XX_CPUFREQ
|
||||||
tristate "Armada 37xx CPUFreq support"
|
tristate "Armada 37xx CPUFreq support"
|
||||||
depends on ARCH_MVEBU && CPUFREQ_DT
|
depends on ARCH_MVEBU || COMPILE_TEST
|
||||||
|
depends on CPUFREQ_DT
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
|
This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
|
||||||
The Armada 37xx PMU supports 4 frequency and VDD levels.
|
The Armada 37xx PMU supports 4 frequency and VDD levels.
|
||||||
|
|
||||||
config ARM_ARMADA_8K_CPUFREQ
|
config ARM_ARMADA_8K_CPUFREQ
|
||||||
tristate "Armada 8K CPUFreq driver"
|
tristate "Armada 8K CPUFreq driver"
|
||||||
depends on ARCH_MVEBU && CPUFREQ_DT
|
depends on ARCH_MVEBU || COMPILE_TEST
|
||||||
select ARMADA_AP_CPU_CLK
|
depends on CPUFREQ_DT
|
||||||
|
select ARMADA_AP_CPU_CLK if COMMON_CLK
|
||||||
help
|
help
|
||||||
This enables the CPUFreq driver support for Marvell
|
This enables the CPUFreq driver support for Marvell
|
||||||
Armada8k SOCs.
|
Armada8k SOCs.
|
||||||
@ -56,7 +58,7 @@ config ARM_SCPI_CPUFREQ
|
|||||||
config ARM_VEXPRESS_SPC_CPUFREQ
|
config ARM_VEXPRESS_SPC_CPUFREQ
|
||||||
tristate "Versatile Express SPC based CPUfreq driver"
|
tristate "Versatile Express SPC based CPUfreq driver"
|
||||||
depends on ARM_CPU_TOPOLOGY && HAVE_CLK
|
depends on ARM_CPU_TOPOLOGY && HAVE_CLK
|
||||||
depends on ARCH_VEXPRESS_SPC
|
depends on ARCH_VEXPRESS_SPC || COMPILE_TEST
|
||||||
select PM_OPP
|
select PM_OPP
|
||||||
help
|
help
|
||||||
This add the CPUfreq driver support for Versatile Express
|
This add the CPUfreq driver support for Versatile Express
|
||||||
@ -75,7 +77,8 @@ config ARM_BRCMSTB_AVS_CPUFREQ
|
|||||||
|
|
||||||
config ARM_HIGHBANK_CPUFREQ
|
config ARM_HIGHBANK_CPUFREQ
|
||||||
tristate "Calxeda Highbank-based"
|
tristate "Calxeda Highbank-based"
|
||||||
depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
|
depends on ARCH_HIGHBANK || COMPILE_TEST
|
||||||
|
depends on CPUFREQ_DT && REGULATOR && PL320_MBOX
|
||||||
default m
|
default m
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver for Calxeda Highbank SoC
|
This adds the CPUFreq driver for Calxeda Highbank SoC
|
||||||
@ -96,7 +99,8 @@ config ARM_IMX6Q_CPUFREQ
|
|||||||
|
|
||||||
config ARM_IMX_CPUFREQ_DT
|
config ARM_IMX_CPUFREQ_DT
|
||||||
tristate "Freescale i.MX8M cpufreq support"
|
tristate "Freescale i.MX8M cpufreq support"
|
||||||
depends on ARCH_MXC && CPUFREQ_DT
|
depends on CPUFREQ_DT
|
||||||
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
help
|
help
|
||||||
This adds cpufreq driver support for Freescale i.MX7/i.MX8M
|
This adds cpufreq driver support for Freescale i.MX7/i.MX8M
|
||||||
series SoCs, based on cpufreq-dt.
|
series SoCs, based on cpufreq-dt.
|
||||||
@ -111,7 +115,8 @@ config ARM_KIRKWOOD_CPUFREQ
|
|||||||
|
|
||||||
config ARM_MEDIATEK_CPUFREQ
|
config ARM_MEDIATEK_CPUFREQ
|
||||||
tristate "CPU Frequency scaling support for MediaTek SoCs"
|
tristate "CPU Frequency scaling support for MediaTek SoCs"
|
||||||
depends on ARCH_MEDIATEK && REGULATOR
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
||||||
|
depends on REGULATOR
|
||||||
select PM_OPP
|
select PM_OPP
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for MediaTek SoCs.
|
This adds the CPUFreq driver support for MediaTek SoCs.
|
||||||
@ -130,12 +135,12 @@ config ARM_MEDIATEK_CPUFREQ_HW
|
|||||||
|
|
||||||
config ARM_OMAP2PLUS_CPUFREQ
|
config ARM_OMAP2PLUS_CPUFREQ
|
||||||
bool "TI OMAP2+"
|
bool "TI OMAP2+"
|
||||||
depends on ARCH_OMAP2PLUS
|
depends on ARCH_OMAP2PLUS || COMPILE_TEST
|
||||||
default ARCH_OMAP2PLUS
|
default ARCH_OMAP2PLUS
|
||||||
|
|
||||||
config ARM_QCOM_CPUFREQ_NVMEM
|
config ARM_QCOM_CPUFREQ_NVMEM
|
||||||
tristate "Qualcomm nvmem based CPUFreq"
|
tristate "Qualcomm nvmem based CPUFreq"
|
||||||
depends on ARCH_QCOM
|
depends on ARCH_QCOM || COMPILE_TEST
|
||||||
depends on NVMEM_QCOM_QFPROM
|
depends on NVMEM_QCOM_QFPROM
|
||||||
depends on QCOM_SMEM
|
depends on QCOM_SMEM
|
||||||
select PM_OPP
|
select PM_OPP
|
||||||
@ -166,7 +171,7 @@ config ARM_RASPBERRYPI_CPUFREQ
|
|||||||
|
|
||||||
config ARM_S3C64XX_CPUFREQ
|
config ARM_S3C64XX_CPUFREQ
|
||||||
bool "Samsung S3C64XX"
|
bool "Samsung S3C64XX"
|
||||||
depends on CPU_S3C6410
|
depends on CPU_S3C6410 || COMPILE_TEST
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver for Samsung S3C6410 SoC.
|
This adds the CPUFreq driver for Samsung S3C6410 SoC.
|
||||||
@ -175,7 +180,7 @@ config ARM_S3C64XX_CPUFREQ
|
|||||||
|
|
||||||
config ARM_S5PV210_CPUFREQ
|
config ARM_S5PV210_CPUFREQ
|
||||||
bool "Samsung S5PV210 and S5PC110"
|
bool "Samsung S5PV210 and S5PC110"
|
||||||
depends on CPU_S5PV210
|
depends on CPU_S5PV210 || COMPILE_TEST
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver for Samsung S5PV210 and
|
This adds the CPUFreq driver for Samsung S5PV210 and
|
||||||
@ -199,14 +204,15 @@ config ARM_SCMI_CPUFREQ
|
|||||||
|
|
||||||
config ARM_SPEAR_CPUFREQ
|
config ARM_SPEAR_CPUFREQ
|
||||||
bool "SPEAr CPUFreq support"
|
bool "SPEAr CPUFreq support"
|
||||||
depends on PLAT_SPEAR
|
depends on PLAT_SPEAR || COMPILE_TEST
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for SPEAr SOCs.
|
This adds the CPUFreq driver support for SPEAr SOCs.
|
||||||
|
|
||||||
config ARM_STI_CPUFREQ
|
config ARM_STI_CPUFREQ
|
||||||
tristate "STi CPUFreq support"
|
tristate "STi CPUFreq support"
|
||||||
depends on CPUFREQ_DT && SOC_STIH407
|
depends on CPUFREQ_DT
|
||||||
|
depends on SOC_STIH407 || COMPILE_TEST
|
||||||
help
|
help
|
||||||
This driver uses the generic OPP framework to match the running
|
This driver uses the generic OPP framework to match the running
|
||||||
platform with a predefined set of suitable values. If not provided
|
platform with a predefined set of suitable values. If not provided
|
||||||
@ -216,34 +222,38 @@ config ARM_STI_CPUFREQ
|
|||||||
|
|
||||||
config ARM_TEGRA20_CPUFREQ
|
config ARM_TEGRA20_CPUFREQ
|
||||||
tristate "Tegra20/30 CPUFreq support"
|
tristate "Tegra20/30 CPUFreq support"
|
||||||
depends on ARCH_TEGRA && CPUFREQ_DT
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
|
depends on CPUFREQ_DT
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for Tegra20/30 SOCs.
|
This adds the CPUFreq driver support for Tegra20/30 SOCs.
|
||||||
|
|
||||||
config ARM_TEGRA124_CPUFREQ
|
config ARM_TEGRA124_CPUFREQ
|
||||||
bool "Tegra124 CPUFreq support"
|
bool "Tegra124 CPUFreq support"
|
||||||
depends on ARCH_TEGRA && CPUFREQ_DT
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
|
depends on CPUFREQ_DT
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for Tegra124 SOCs.
|
This adds the CPUFreq driver support for Tegra124 SOCs.
|
||||||
|
|
||||||
config ARM_TEGRA186_CPUFREQ
|
config ARM_TEGRA186_CPUFREQ
|
||||||
tristate "Tegra186 CPUFreq support"
|
tristate "Tegra186 CPUFreq support"
|
||||||
depends on ARCH_TEGRA && TEGRA_BPMP
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
|
depends on TEGRA_BPMP
|
||||||
help
|
help
|
||||||
This adds the CPUFreq driver support for Tegra186 SOCs.
|
This adds the CPUFreq driver support for Tegra186 SOCs.
|
||||||
|
|
||||||
config ARM_TEGRA194_CPUFREQ
|
config ARM_TEGRA194_CPUFREQ
|
||||||
tristate "Tegra194 CPUFreq support"
|
tristate "Tegra194 CPUFreq support"
|
||||||
depends on ARCH_TEGRA_194_SOC && TEGRA_BPMP
|
depends on ARCH_TEGRA_194_SOC || (64BIT && COMPILE_TEST)
|
||||||
|
depends on TEGRA_BPMP
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This adds CPU frequency driver support for Tegra194 SOCs.
|
This adds CPU frequency driver support for Tegra194 SOCs.
|
||||||
|
|
||||||
config ARM_TI_CPUFREQ
|
config ARM_TI_CPUFREQ
|
||||||
bool "Texas Instruments CPUFreq support"
|
bool "Texas Instruments CPUFreq support"
|
||||||
depends on ARCH_OMAP2PLUS || ARCH_K3
|
depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This driver enables valid OPPs on the running platform based on
|
This driver enables valid OPPs on the running platform based on
|
||||||
@ -255,7 +265,7 @@ config ARM_TI_CPUFREQ
|
|||||||
|
|
||||||
config ARM_PXA2xx_CPUFREQ
|
config ARM_PXA2xx_CPUFREQ
|
||||||
tristate "Intel PXA2xx CPUfreq driver"
|
tristate "Intel PXA2xx CPUfreq driver"
|
||||||
depends on PXA27x || PXA25x
|
depends on PXA27x || PXA25x || COMPILE_TEST
|
||||||
help
|
help
|
||||||
This add the CPUFreq driver support for Intel PXA2xx SOCs.
|
This add the CPUFreq driver support for Intel PXA2xx SOCs.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user