Re: [PATCH] cpuidle: Enable coupled cpuidle support on Exynos3250 platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, March 13, 2018 04:04:51 PM Marek Szyprowski wrote:
> All the needed code has been already merged to mach-exynos core in
> commit af9971144dde ("ARM: EXYNOS: add coupled cpuidle support for
> Exynos3250"), so enable support for coupled variant also for Exynos3250
> SoCs.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> ---
> This change was initially submitted with the mentioned commit:
> https://lkml.org/lkml/2015/2/20/321
> For some reasons it has been separated from it and then it has been
> forgotten. This is patch brings it back to live.
> 
> Tested on Exynos3250 ARTIK5 (520) development board.

Thanks for spotting and fixing this.

Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>

> ---
>  drivers/cpuidle/cpuidle-exynos.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c
> index 00cd129b10a4..0171a6e190d7 100644
> --- a/drivers/cpuidle/cpuidle-exynos.c
> +++ b/drivers/cpuidle/cpuidle-exynos.c
> @@ -117,7 +117,8 @@ static int exynos_cpuidle_probe(struct platform_device *pdev)
>  	int ret;
>  
>  	if (IS_ENABLED(CONFIG_SMP) &&
> -	    of_machine_is_compatible("samsung,exynos4210")) {
> +	    (of_machine_is_compatible("samsung,exynos4210") ||
> +	     of_machine_is_compatible("samsung,exynos3250"))) {
>  		exynos_cpuidle_pdata = pdev->dev.platform_data;
>  
>  		ret = cpuidle_register(&exynos_coupled_idle_driver,

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux