[PATCH v3 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-07-01 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series removes the use of Exynos5250 specific support from cpufreq-exynos driver and enables the use of cpufreq-dt driver for this platform. This patch series has been tested on Exynos5250 based Arndale board. Changes since v1 (http://lkml.org/lkml/2015/4/13/611): - rebased on top

[PATCH v3 1/4] clk: samsung: exynos5250: add cpu clock configuration data and instantiate cpu clock

2015-07-01 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham With the addition of the new Samsung specific cpu-clock type, the arm clock can be represented as a cpu-clock type. Add the CPU clock configuration data and instantiate the CPU clock type for Exynos5250. Changes by Bartlomiej: - split Exynos5250 support from the original pat

[PATCH v3 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property

2015-07-01 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham For Exynos5250 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch - added CPU regulator supply pr

[PATCH v3 4/4] cpufreq: exynos: remove Exynos5250 specific cpufreq driver support

2015-07-01 Thread Bartlomiej Zolnierkiewicz
Exynos5250 based platforms have switched over to use generic cpufreq driver for cpufreq functionality. So the Exynos specific cpufreq support for these platforms can be removed. Based on the earlier work by Thomas Abraham. Cc: Viresh Kumar Cc: Javier Martinez Canillas Cc: Thomas Abraham Review

[PATCH v3 3/4] ARM: Exynos: switch to using generic cpufreq driver for Exynos5250

2015-07-01 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham The new CPU clock type allows the use of generic CPUfreq driver. Switch Exynos5250 to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch Cc: Tomasz Figa Cc: Kukjin Kim Cc: Javier Martinez Canillas Reviewed-by: Krzyszto

[PATCH v5 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-01 Thread Chanwoo Choi
This patch add CPU clock configuration data and instantiate the CPU clock type for Exynos3250 to support Samsung specific cpu-clock type. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos3250.c | 32

[PATCH v5 3/3] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2015-07-01 Thread Chanwoo Choi
This patch add exynos3250 compatible string to exynos_cpufreq_matches for supporting generic cpufreq driver on Exynos3250. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/mach-exynos/exynos.c | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH v5 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patch add CPU operating points which include CPU frequency and regulator voltage to use generic cpufreq drivers. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-monk.dts | 4 arch/arm/boot/dts/exynos3250-

[PATCH v5 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patchset use cpufreq-dt driver to support Exynos3250 cpufreq and tested it on Exynos3250-based Rinato board. Depends on: - next-20150701 tag (master branch) of linux-next kernel tree - This patch-set is based on Exynos5250 patch-set[1] because two patch-set modify the 'arch/arm/mach-e

Re: [PATCH v2 4/4] cpufreq: exynos: remove Exynos5250 specific cpufreq driver support

2015-07-01 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, June 30, 2015 09:22:06 AM Krzysztof Kozlowski wrote: > On 30.06.2015 02:26, Bartlomiej Zolnierkiewicz wrote: > > Exynos5250 based platforms have switched over to use generic > > cpufreq driver for cpufreq functionality. So the Exynos > > specific cpufreq support for these platform

Re: [PATCHv3] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order

2015-07-01 Thread Chanho Park
Hi, On Tue, Jun 2, 2015 at 8:55 AM, Krzysztof Kozlowski wrote: > On 01.06.2015 21:24, Chanho Park wrote: >> The odroid-xu3 board which is based on exynos5422 not exynos5800 is >> booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order >> is quite strange. cpu0 and cpu5-7 are cort

Re: [PATCHv3] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-07-01 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, July 01, 2015 11:42:19 AM Anand Moon wrote: > Hi AlL, > > > On 8 May 2015 at 16:37, Anand Moon wrote: > > Addition of CLK_RECALC_NEW_RATES flag to support Exynos5420 cpu clk so that > > correct divider values are re-calculated after both pre/post > > clock notifiers had run f

Re: [PATCHv3] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order

2015-07-01 Thread Krzysztof Kozlowski
On 01.07.2015 22:35, Chanho Park wrote: > Hi, > > On Tue, Jun 2, 2015 at 8:55 AM, Krzysztof Kozlowski > wrote: >> On 01.06.2015 21:24, Chanho Park wrote: >>> The odroid-xu3 board which is based on exynos5422 not exynos5800 is >>> booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu

Re: [PATCH v3 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property

2015-07-01 Thread Krzysztof Kozlowski
On 01.07.2015 22:10, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > For Exynos5250 platforms, add CPU operating points and CPU > regulator supply properties for migrating from Exynos specific > cpufreq driver to using generic cpufreq driver. > > Changes by Bartlomiej: > - split Exyn

Re: [PATCH v5 3/3] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2015-07-01 Thread Krzysztof Kozlowski
On 01.07.2015 22:21, Chanwoo Choi wrote: > This patch add exynos3250 compatible string to exynos_cpufreq_matches > for supporting generic cpufreq driver on Exynos3250. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > arch/arm/mach-ex

Re: [PATCH v5 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250

2015-07-01 Thread Krzysztof Kozlowski
On 01.07.2015 22:21, Chanwoo Choi wrote: > This patch add CPU operating points which include CPU frequency and regulator > voltage to use generic cpufreq drivers. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > arch/arm/boot/dts/exy

Re: [PATCH v5 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-01 Thread Krzysztof Kozlowski
On 01.07.2015 22:21, Chanwoo Choi wrote: > This patch add CPU clock configuration data and instantiate the CPU clock type > for Exynos3250 to support Samsung specific cpu-clock type. > > Cc: Sylwester Nawrocki > Cc: Tomasz Figa > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > d

Re: [PATCH v5 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250

2015-07-01 Thread Chanwoo Choi
On 07/02/2015 09:01 AM, Krzysztof Kozlowski wrote: > On 01.07.2015 22:21, Chanwoo Choi wrote: >> This patch add CPU operating points which include CPU frequency and regulator >> voltage to use generic cpufreq drivers. >> >> Cc: Kukjin Kim >> Cc: Krzysztof Kozlowski >> Signed-off-by: Chanwoo Choi

Re: [PATCH v5 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-01 Thread Stephen Boyd
On 07/01/2015 06:21 AM, Chanwoo Choi wrote: > This patch add CPU clock configuration data and instantiate the CPU clock type > for Exynos3250 to support Samsung specific cpu-clock type. > > Cc: Sylwester Nawrocki > Cc: Tomasz Figa > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- >

[PATCH v6 3/3] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2015-07-01 Thread Chanwoo Choi
This patch add exynos3250 compatible string to exynos_cpufreq_matches for supporting generic cpufreq driver on Exynos3250. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c | 1 + 1 fi

[PATCH v6 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-01 Thread Chanwoo Choi
This patch add CPU clock configuration data and instantiate the CPU clock type for Exynos3250 to support Samsung specific cpu-clock type. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-ex

[PATCH v6 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patchset use cpufreq-dt driver to support Exynos3250 cpufreq and tested it on Exynos3250-based Rinato board. Depends on: - next-20150701 tag (master branch) of linux-next kernel tree - This patch-set is based on Exynos5250 patch-set[1] because two patch-set modify the 'arch/arm/mach-e

[PATCH v6 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patch add CPU operating points which include CPU frequency and regulator voltage to use generic cpufreq drivers. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-monk.dts | 4 +

[PATCH] ARM: dts: Add CPU cooling binding for Exynos3250-based Rinato/Monk board

2015-07-01 Thread Chanwoo Choi
This patch add the cooling device to control the overheating issue on Exynos3250-based Rinato/Monk board. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- Depends on: This patch needs the cpufreq support of Exynos3250 SoC. So, this patch has the de

Re: [PATCH] ARM: dts: Add CPU cooling binding for Exynos3250-based Rinato/Monk board

2015-07-01 Thread Krzysztof Kozlowski
On 02.07.2015 14:37, Chanwoo Choi wrote: > This patch add the cooling device to control the overheating issue on > Exynos3250-based Rinato/Monk board. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > Depends on: > This patch needs the

Re: [PATCH] ARM: dts: Add CPU cooling binding for Exynos3250-based Rinato/Monk board

2015-07-01 Thread Chanwoo Choi
On 07/02/2015 02:54 PM, Krzysztof Kozlowski wrote: > On 02.07.2015 14:37, Chanwoo Choi wrote: >> This patch add the cooling device to control the overheating issue on >> Exynos3250-based Rinato/Monk board. >> >> Cc: Kukjin Kim >> Cc: Krzysztof Kozlowski >> Signed-off-by: Chanwoo Choi >> Acked-by

[PATCH 1/2] thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF

2015-07-01 Thread Chanwoo Choi
The exynos thermal driver use the of_thermal_*() API to parse the basic data for thermal management from devicetree file. So, if CONFIG_EXYNOS_THERMAL is selected without CONFIG_THERMAL_OF, kernel can build it without any problem. But, exynos thermal driver is not working with following error log.

[PATCH 2/2] thermal: exynos: Remove unused code related to platform_data on probe()

2015-07-01 Thread Chanwoo Choi
This patch removes the unused code related to struct exynos_tmu_platform_data because exynos_tmu_probe() don't handle the struct exynos_tmu_platform_data *pdata. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Lukasz Majewski Signed-off-by: Chanwoo Choi --- drivers/thermal/samsung/exynos_tmu.c | 3 --

[PATCH 0/2] thermal: exynos: Fix minor issue

2015-07-01 Thread Chanwoo Choi
This patch fixes the two minor issue. The first patch add the CONFIG_THERMAL_OF dependency and second patch removes the unused code. Chanwoo Choi (2): thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF thermal: exynos: Remove unused code related to platform_data on p