2020-04-15 22:31:27

by Anders Roxell

[permalink] [raw]
Subject: [PATCH] cpufreq: omap: Build driver by default for ARCH_OMAP2PLUS

When building the mult_v7_defconfig, ARM_TI_CPUFREQ doesn't get enabled
evenwhen ARCH_OMAP(3|4) is selected. Build ARM_TI_CPUFREQ by default for
ARCH_OMAP2PLUS.

Signed-off-by: Anders Roxell <[email protected]>
---
drivers/cpufreq/Kconfig.arm | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 15c1a1231516..9481292981f0 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -317,6 +317,7 @@ config ARM_TEGRA186_CPUFREQ
config ARM_TI_CPUFREQ
bool "Texas Instruments CPUFreq support"
depends on ARCH_OMAP2PLUS
+ default ARCH_OMAP2PLUS
help
This driver enables valid OPPs on the running platform based on
values contained within the SoC in use. Enable this in order to
--
2.20.1


2020-04-15 22:35:25

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: omap: Build driver by default for ARCH_OMAP2PLUS

On 15-04-20, 10:15, Anders Roxell wrote:
> When building the mult_v7_defconfig, ARM_TI_CPUFREQ doesn't get enabled
> evenwhen ARCH_OMAP(3|4) is selected. Build ARM_TI_CPUFREQ by default for
> ARCH_OMAP2PLUS.
>
> Signed-off-by: Anders Roxell <[email protected]>
> ---
> drivers/cpufreq/Kconfig.arm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index 15c1a1231516..9481292981f0 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -317,6 +317,7 @@ config ARM_TEGRA186_CPUFREQ
> config ARM_TI_CPUFREQ
> bool "Texas Instruments CPUFreq support"
> depends on ARCH_OMAP2PLUS
> + default ARCH_OMAP2PLUS
> help
> This driver enables valid OPPs on the running platform based on
> values contained within the SoC in use. Enable this in order to

Applied. Thanks.

--
viresh