Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1201739
| From | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 4/6] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12 |
| Date | 2015-08-06 15:50 +0200 |
| Message-ID | <pUtIu-271-17@gated-at.bofh.it> (permalink) |
| References | <pUtIu-271-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The new CPU clock type allows the use of generic CPUfreq driver.
Switch Exynos4x12 to using generic cpufreq driver.
Previously (when exynos-cpufreq driver was used with boost
functionality) ARM_EXYNOS_CPU_FREQ_BOOST_SW config option
(which enabled boost functionality) selected EXYNOS_THERMAL
one. After switching Exynos4x12 platforms to use cpufreq-dt
driver boost support is enabled in the cpufreq-dt driver
itself (because there are turbo OPPs defined in the board's
DTS file). However we still would like to allow enabling
boost support only if thermal support is also enabled for
Exynos platforms. To achieve this make ARCH_EXYNOS config
option select THERMAL and EXYNOS_THERMAL ones.
Please also note that the switch to use the generic cpufreq-dt
driver fixes the minor issue present with the old code (support
for 'boost' mode in the exynos-cpufreq driver was enabled for
all supported SoCs even though 'boost' frequency was provided
only for Exynos4x12 ones).
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Cc: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
arch/arm/mach-exynos/Kconfig | 2 ++
arch/arm/mach-exynos/exynos.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 4c4858c..143e332 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -25,6 +25,8 @@ menuconfig ARCH_EXYNOS
select S5P_DEV_MFC
select SRAM
select MFD_SYSCON
+ select THERMAL
+ select EXYNOS_THERMAL
help
Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index 77ac021..1c47aee 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -227,6 +227,8 @@ static void __init exynos_init_irq(void)
static const struct of_device_id exynos_cpufreq_matches[] = {
{ .compatible = "samsung,exynos3250", .data = "cpufreq-dt" },
{ .compatible = "samsung,exynos4210", .data = "cpufreq-dt" },
+ { .compatible = "samsung,exynos4212", .data = "cpufreq-dt" },
+ { .compatible = "samsung,exynos4412", .data = "cpufreq-dt" },
{ .compatible = "samsung,exynos5250", .data = "cpufreq-dt" },
{ /* sentinel */ }
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
[PATCH v4 4/6] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
[PATCH v4 2/6] clk: samsung: exynos4x12: add cpu clock configuration data and instantiate cpu clock Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
[PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 05:50 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-07 12:40 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 12:50 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-07 13:20 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 13:40 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-08-08 00:00 +0200
Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-08 04:10 +0200
[PATCH v4 6/6] cpufreq: remove no longer needed CPU_FREQ_BOOST_SW config option Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
Re: [PATCH v4 6/6] cpufreq: remove no longer needed CPU_FREQ_BOOST_SW config option Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 06:40 +0200
[PATCH v4 5/6] cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
[PATCH v4 3/6] ARM: dts: Exynos4x12: add CPU OPP and regulator supply property Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-06 15:50 +0200
RE: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Kukjin Kim <kgene@kernel.org> - 2015-08-07 02:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 06:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 06:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-07 06:20 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 06:40 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-07 07:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 07:20 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-07 13:40 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 13:50 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-07 13:50 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-07 14:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-08-08 00:00 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-08 04:10 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-08 09:30 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-08 16:00 +0200
RE: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Kukjin Kim <kgene@kernel.org> - 2015-08-10 03:30 +0200
Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-11 04:30 +0200
RE: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform Kukjin Kim <kgene@kernel.org> - 2015-08-11 10:00 +0200
csiph-web