From mboxrd@z Thu Jan 1 00:00:00 1970 From: k.kozlowski@samsung.com (Krzysztof Kozlowski) Date: Tue, 08 Dec 2015 16:36:12 +0900 Subject: [PATCH v4 4/8] ARM: Exynos: use generic cpufreq driver for Exynos5420 In-Reply-To: <1449512300-17230-5-git-send-email-b.zolnierkie@samsung.com> References: <1449512300-17230-1-git-send-email-b.zolnierkie@samsung.com> <1449512300-17230-5-git-send-email-b.zolnierkie@samsung.com> Message-ID: <5666886C.10203@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08.12.2015 03:18, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > The new CPU clock type allows the use of cpufreq-dt driver > for Exynos5420. > > Changes by Bartlomiej: > - split Exynos5420 support from the original patch > - disable cpufreq if big.LITTLE switcher support is enabled > - switch to using cpufreq-dt driver > > Cc: Tomasz Figa > Cc: Kukjin Kim > Cc: Javier Martinez Canillas > Signed-off-by: Thomas Abraham > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > arch/arm/mach-exynos/exynos.c | 3 +++ > 1 file changed, 3 insertions(+) I think this is actually now your patch, not Thomas any more. :) > > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c > index 1c47aee..7a89c9d 100644 > --- a/arch/arm/mach-exynos/exynos.c > +++ b/arch/arm/mach-exynos/exynos.c > @@ -230,6 +230,9 @@ static const struct of_device_id exynos_cpufreq_matches[] = { > { .compatible = "samsung,exynos4212", .data = "cpufreq-dt" }, > { .compatible = "samsung,exynos4412", .data = "cpufreq-dt" }, > { .compatible = "samsung,exynos5250", .data = "cpufreq-dt" }, > +#ifndef CONFIG_BL_SWITCHER > + { .compatible = "samsung,exynos5420", .data = "cpufreq-dt" }, > +#endif Why not on BL_SWITCHER? Shouldn't be enough to disable ARM_DT_BL_CPUFREQ? Best regards, Krzysztof