RE: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-24 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote:
 
 Hi,
 
Hi,

 On Monday, February 23, 2015 10:07:50 AM Viresh Kumar wrote:
  On 20 February 2015 at 21:50, Bartlomiej Zolnierkiewicz
  b.zolnier...@samsung.com wrote:
   Allow driver build for !THERMAL or !CPU_THERMAL cases.
  
   The new dependency rule is the same as the one that CPUFREQ_DT
   option has (for cpufreq-dt driver which has the same issue with
   using of_cpufreq_cooling_register()).
  
   Cc: Kukjin Kim kg...@kernel.org

Looks OK to me,

Acked-by: Kukjin Kim kg...@kernel.org

Thanks,
Kukjin

   Cc: Arnd Bergmann a...@arndb.de
   Cc: Eduardo Valentin edubez...@gmail.com
   Cc: Lukasz Majewski l.majew...@samsung.com
   Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
   Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
   ---
drivers/cpufreq/Kconfig.arm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
  
   diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
   index 1b06fc4..f4df4af3 100644
   --- a/drivers/cpufreq/Kconfig.arm
   +++ b/drivers/cpufreq/Kconfig.arm
   @@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
config ARM_EXYNOS_CPUFREQ
   tristate SAMSUNG EXYNOS CPUfreq Driver
   depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
   SOC_EXYNOS5250
   -   depends on THERMAL
   +   # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot 
   be =y:
   +   depends on !CPU_THERMAL || THERMAL
   help
 This adds the CPUFreq driver for Samsung EXYNOS platforms.
 Supported SoC versions are:
 
  Acked-by: Viresh Kumar viresh.ku...@linaro.org
 
 Thank you for the ACK.
 
 Would you pick this patch up or should I resend it to Rafael?
 
 Best regards,
 --
 Bartlomiej Zolnierkiewicz
 Samsung RD Institute Poland
 Samsung Electronics

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


[PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-24 Thread Bartlomiej Zolnierkiewicz
Allow driver build for !THERMAL or !CPU_THERMAL cases.

The new dependency rule is the same as the one that CPUFREQ_DT
option has (for cpufreq-dt driver which has the same issue with
using of_cpufreq_cooling_register()).

Cc: Kukjin Kim kg...@kernel.org
Cc: Arnd Bergmann a...@arndb.de
Cc: Eduardo Valentin edubez...@gmail.com
Cc: Lukasz Majewski l.majew...@samsung.com
Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
Acked-by: Viresh Kumar viresh.ku...@linaro.org
Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
---
Hi Rafael, please apply this patch.  It has been ACKed by Viresh already.

 drivers/cpufreq/Kconfig.arm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 1b06fc4..f4df4af3 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
 config ARM_EXYNOS_CPUFREQ
tristate SAMSUNG EXYNOS CPUfreq Driver
depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
SOC_EXYNOS5250
-   depends on THERMAL
+   # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be =y:
+   depends on !CPU_THERMAL || THERMAL
help
  This adds the CPUFreq driver for Samsung EXYNOS platforms.
  Supported SoC versions are:
-- 
1.8.2.3


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


Re: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-24 Thread Eduardo Valentin
On Fri, Feb 20, 2015 at 05:20:22PM +0100, Bartlomiej Zolnierkiewicz wrote:
 Allow driver build for !THERMAL or !CPU_THERMAL cases.
 
 The new dependency rule is the same as the one that CPUFREQ_DT
 option has (for cpufreq-dt driver which has the same issue with
 using of_cpufreq_cooling_register()).
 
 Cc: Kukjin Kim kg...@kernel.org
 Cc: Arnd Bergmann a...@arndb.de
 Cc: Eduardo Valentin edubez...@gmail.com
 Cc: Lukasz Majewski l.majew...@samsung.com
 Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
 Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com

Acked-by: Eduardo Valentin edubez...@gmail.com

 ---
  drivers/cpufreq/Kconfig.arm | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
 index 1b06fc4..f4df4af3 100644
 --- a/drivers/cpufreq/Kconfig.arm
 +++ b/drivers/cpufreq/Kconfig.arm
 @@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
  config ARM_EXYNOS_CPUFREQ
   tristate SAMSUNG EXYNOS CPUfreq Driver
   depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
 SOC_EXYNOS5250
 - depends on THERMAL
 + # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be =y:
 + depends on !CPU_THERMAL || THERMAL
   help
 This adds the CPUFreq driver for Samsung EXYNOS platforms.
 Supported SoC versions are:
 -- 
 1.8.2.3
 
 


signature.asc
Description: Digital signature


Re: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-23 Thread Bartlomiej Zolnierkiewicz

Hi,

On Monday, February 23, 2015 10:07:50 AM Viresh Kumar wrote:
 On 20 February 2015 at 21:50, Bartlomiej Zolnierkiewicz
 b.zolnier...@samsung.com wrote:
  Allow driver build for !THERMAL or !CPU_THERMAL cases.
 
  The new dependency rule is the same as the one that CPUFREQ_DT
  option has (for cpufreq-dt driver which has the same issue with
  using of_cpufreq_cooling_register()).
 
  Cc: Kukjin Kim kg...@kernel.org
  Cc: Arnd Bergmann a...@arndb.de
  Cc: Eduardo Valentin edubez...@gmail.com
  Cc: Lukasz Majewski l.majew...@samsung.com
  Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
  Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
  ---
   drivers/cpufreq/Kconfig.arm | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)
 
  diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
  index 1b06fc4..f4df4af3 100644
  --- a/drivers/cpufreq/Kconfig.arm
  +++ b/drivers/cpufreq/Kconfig.arm
  @@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
   config ARM_EXYNOS_CPUFREQ
  tristate SAMSUNG EXYNOS CPUfreq Driver
  depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
  SOC_EXYNOS5250
  -   depends on THERMAL
  +   # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be 
  =y:
  +   depends on !CPU_THERMAL || THERMAL
  help
This adds the CPUFreq driver for Samsung EXYNOS platforms.
Supported SoC versions are:
 
 Acked-by: Viresh Kumar viresh.ku...@linaro.org

Thank you for the ACK.

Would you pick this patch up or should I resend it to Rafael?

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung RD Institute Poland
Samsung Electronics

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


Re: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-23 Thread Viresh Kumar
On 23 March 2015 at 22:13, Bartlomiej Zolnierkiewicz
b.zolnier...@samsung.com wrote:
 Would you pick this patch up or should I resend it to Rafael?

Please resend it to Rafael and cc me and linux-pm list.. Also add my
Ack to it.
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-02-22 Thread Viresh Kumar
On 20 February 2015 at 21:50, Bartlomiej Zolnierkiewicz
b.zolnier...@samsung.com wrote:
 Allow driver build for !THERMAL or !CPU_THERMAL cases.

 The new dependency rule is the same as the one that CPUFREQ_DT
 option has (for cpufreq-dt driver which has the same issue with
 using of_cpufreq_cooling_register()).

 Cc: Kukjin Kim kg...@kernel.org
 Cc: Arnd Bergmann a...@arndb.de
 Cc: Eduardo Valentin edubez...@gmail.com
 Cc: Lukasz Majewski l.majew...@samsung.com
 Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
 Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
 ---
  drivers/cpufreq/Kconfig.arm | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

 diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
 index 1b06fc4..f4df4af3 100644
 --- a/drivers/cpufreq/Kconfig.arm
 +++ b/drivers/cpufreq/Kconfig.arm
 @@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
  config ARM_EXYNOS_CPUFREQ
 tristate SAMSUNG EXYNOS CPUfreq Driver
 depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
 SOC_EXYNOS5250
 -   depends on THERMAL
 +   # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be =y:
 +   depends on !CPU_THERMAL || THERMAL
 help
   This adds the CPUFreq driver for Samsung EXYNOS platforms.
   Supported SoC versions are:

Acked-by: Viresh Kumar viresh.ku...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-02-20 Thread Bartlomiej Zolnierkiewicz
Allow driver build for !THERMAL or !CPU_THERMAL cases.

The new dependency rule is the same as the one that CPUFREQ_DT
option has (for cpufreq-dt driver which has the same issue with
using of_cpufreq_cooling_register()).

Cc: Kukjin Kim kg...@kernel.org
Cc: Arnd Bergmann a...@arndb.de
Cc: Eduardo Valentin edubez...@gmail.com
Cc: Lukasz Majewski l.majew...@samsung.com
Fixes: 8b2b4a4e5366 (cpufreq: exynos: allow modular build)
Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
---
 drivers/cpufreq/Kconfig.arm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 1b06fc4..f4df4af3 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ
 config ARM_EXYNOS_CPUFREQ
tristate SAMSUNG EXYNOS CPUfreq Driver
depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || 
SOC_EXYNOS5250
-   depends on THERMAL
+   # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be =y:
+   depends on !CPU_THERMAL || THERMAL
help
  This adds the CPUFreq driver for Samsung EXYNOS platforms.
  Supported SoC versions are:
-- 
1.8.2.3


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