From: Thomas Abraham Date: Tue, 21 Apr 2015 15:49:02 +0000 (+0200) Subject: ARM: Exynos: use generic cpufreq driver for Exynos5420 X-Git-Tag: submit/tizen/20150514.054553~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5585b90bbfce7d6dc8736b906ba8f3943362fbd3;p=platform%2Fkernel%2Flinux-exynos.git ARM: Exynos: use generic cpufreq driver for Exynos5420 The new CPU clock type allows the use of generic arm_big_little_dt cpufreq driver for Exynos5420. Changes by Bartlomiej: - split Exynos5420 support from the original patch - disable cpufreq if big.LITTLE switcher support is enabled Cc: Tomasz Figa Cc: Kukjin Kim Cc: Javier Martinez Canillas Signed-off-by: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 74c7b68679f0..f34cc47d2ec4 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -239,6 +239,13 @@ struct cpufreq_dt_platform_data cpufreq_dt_pd = { static const struct of_device_id exynos_cpufreq_matches[] = { { .compatible = "samsung,exynos4210", .data = "cpufreq-dt" }, { .compatible = "samsung,exynos5250", .data = "cpufreq-dt" }, +/* + * FIXME: When big.LITTLE switcher is enabled system lockups during + * ondemand governor stress testing (observed on ODROID-XU3 board). + */ +#ifndef CONFIG_BL_SWITCHER + { .compatible = "samsung,exynos5420", .data = "arm-bL-cpufreq-dt" }, +#endif { /* sentinel */ } };