Re: [PATCH V3 06/21] thermal: exynos: Add missing definations and code cleanup

2013-05-09 Thread amit daniel kachhap
Hi, On Thu, May 9, 2013 at 7:22 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: Amit, On 07-05-2013 09:00, Amit Daniel Kachhap wrote: This patch adds some extra register bitfield definations and cleans up the code to prepare for moving register macros and definations inside the TMU data

Re: [PATCH V3 09/21] thermal: exynos: Move register definitions from driver file to data file

2013-05-09 Thread amit daniel kachhap
Hi Eduardo, On Thu, May 9, 2013 at 8:02 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: Hey Amit, On 07-05-2013 09:00, Amit Daniel Kachhap wrote: This patch migrates the TMU register definition/bitfields to data file. This is needed to support SoC's which use the same TMU controller

Re: [PATCH V3 18/21] thermal: exynos: Add support for exynos5440 TMU sensor.

2013-05-09 Thread amit daniel kachhap
Hi Eduardo, On Thu, May 9, 2013 at 8:17 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: Hey Amit, On 07-05-2013 09:01, Amit Daniel Kachhap wrote: This patch modifies TMU controller to add changes needed to work with exynos5440 platform. Also register definitions and required

Re: [PATCH V3 15/21] thermal: exynos: Add support to handle many instances of TMU

2013-05-09 Thread amit daniel kachhap
On Thu, May 9, 2013 at 8:23 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 07-05-2013 09:01, Amit Daniel Kachhap wrote: This patch adds support to handle multiple instances of the TMU controllers. This is done by removing the static structure to register with the core thermal

Re: [RESEND PATCH V3 01/21] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-08 Thread amit daniel kachhap
Hi Eduardo, On Wed, May 8, 2013 at 9:19 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 07-05-2013 09:07, Amit Daniel Kachhap wrote: This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating

Re: [PATCH V3 02/21] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-08 Thread amit daniel kachhap
Hi Eduardo, Thanks for the review. On Wed, May 8, 2013 at 9:31 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 07-05-2013 09:00, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts

[PATCH V3 0/20] thermal: exynos: Add thermal driver for exynos5440

2013-05-07 Thread Amit Daniel Kachhap
) can be merged through exynos platform maintainer as this can cause merge conflict. All these patches are based on thermal maintainers git tree, git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next. Amit Daniel Kachhap (20): thermal: exynos: Moving exynos thermal files into samsung

[PATCH V3 01/21] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Amit Daniel Kachhap
This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor driver and sensor data related parts. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 02/21] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread Amit Daniel Kachhap
-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Kconfig | 20 +- drivers/thermal/samsung/Makefile|4 +- drivers/thermal/samsung/exynos_thermal.c| 421

[PATCH V3 09/21] thermal: exynos: Move register definitions from driver file to data file

2013-05-07 Thread Amit Daniel Kachhap
This patch migrates the TMU register definition/bitfields to data file. This is needed to support SoC's which use the same TMU controller but register validity, offsets or bitfield may slightly vary across SOC's. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 11/21] thermal: exynos: Add support for instance based register/unregister

2013-05-07 Thread Amit Daniel Kachhap
This code modifies the thermal driver to have multiple thermal zone support by replacing the global thermal zone variable with device data member of thermal_zone_device. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal

[PATCH V3 13/21] thermal: exynos: Return success even if no cooling data supplied

2013-05-07 Thread Amit Daniel Kachhap
This patch removes the error return in the bind/unbind routine as the platform may not register any cpufreq cooling data. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c |4 ++-- 1 files

[PATCH V3 20/21] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-07 Thread Amit Daniel Kachhap
TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without this regulator defined. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel

[PATCH V3 21/21] ARM: dts: Add device tree node for exynos5440 TMU controller

2013-05-07 Thread Amit Daniel Kachhap
This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi | 30 ++ 1

[PATCH V3 10/21] thermal: exynos: Fix to clear only the generated interrupts

2013-05-07 Thread Amit Daniel Kachhap
This patch uses the TMU status register to know the generated interrupts and only clear them in the interrupt handler. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 10 -- drivers

[PATCH V3 12/21] thermal: exynos: Modify private_data to appropriate name driver_data

2013-05-07 Thread Amit Daniel Kachhap
This patch renames member private_data to driver_data of the thermal zone registration structure as this item stores the driver related data and uses it to call the driver related callbacks. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com

[PATCH V3 14/21] thermal: exynos: Make the zone handling dependent on trip count

2013-05-07 Thread Amit Daniel Kachhap
This code simplifies the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c | 55

[PATCH V3 17/21] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-05-07 Thread Amit Daniel Kachhap
From: Lukasz Majewski l.majew...@samsung.com Proper description for Exynos4 bindings added to Documentation/devicetree/ bindings Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |

[PATCH V3 19/21] Documentation: thermal: Explain the exynos thermal driver model

2013-05-07 Thread Amit Daniel Kachhap
This patch updates the documentation to explain the driver model and file layout. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal/exynos_thermal | 43 ++--- 1 files changed, 34

[PATCH V3 03/21] thermal: exynos: Rename exynos_thermal.c to exynos_tmu.c

2013-05-07 Thread Amit Daniel Kachhap
This patch renames exynos_thermal.c to exynos_tmu.c. This change is needed as this file now just contains exynos tmu driver related codes and thermal zone or cpufreq cooling registration related changes are not there anymore. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel

[PATCH V3 05/21] thermal: exynos: Bifurcate exynos tmu driver and configuration data

2013-05-07 Thread Amit Daniel Kachhap
This code splits the exynos tmu driver code into SOC specific data parts. This will simplify adding new SOC specific data to the same TMU controller. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Kconfig

[PATCH V3 06/21] thermal: exynos: Add missing definations and code cleanup

2013-05-07 Thread Amit Daniel Kachhap
This patch adds some extra register bitfield definations and cleans up the code to prepare for moving register macros and definations inside the TMU data section. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung

[RESEND PATCH V3 01/21] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Amit Daniel Kachhap
This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor driver and sensor data related parts. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

Re: [PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread amit daniel kachhap
Hi Rui, On Mon, May 6, 2013 at 8:35 PM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating

Re: [PATCH V2 02/20] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread amit daniel kachhap
Hi Rui, On Mon, May 6, 2013 at 8:46 PM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts with core thermal layer

Re: [PATCH] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-02 Thread amit daniel kachhap
Hi Sylwester, On Thu, May 2, 2013 at 2:57 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi, On 05/02/2013 07:37 AM, Amit Daniel Kachhap wrote: TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without

[PATCH V2] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-02 Thread Amit Daniel Kachhap
TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without this regulator defined. Signed-off-by: Luk asz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel

[PATCH] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-01 Thread Amit Daniel Kachhap
TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without this regulator defined. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel

Re: [PATCH v2 2/4] Thermal: exynos: Support for TMU regulator defined at device tree

2013-04-28 Thread amit daniel kachhap
Hi Lukasz/Eduardo, On Thu, Apr 25, 2013 at 9:14 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: Amit, Lukasz, On 25-04-2013 09:29, Lukasz Majewski wrote: Hi Amit, Hi Lukasz Majewski, Sorry for late review but I am currently working on restructuring the whole exynos thermal driver

Re: [PATCH v2 2/4] Thermal: exynos: Support for TMU regulator defined at device tree

2013-04-28 Thread amit daniel kachhap
On Sat, Apr 27, 2013 at 6:20 AM, Zhang Rui rui.zh...@intel.com wrote: Hi, all, what is the status now? which one is preferred, this one or the one from Amit's patch set? Hi Rui, I have still not submitted LDO support in the TMU driver. I will re-base Lukasz patches on top of my patch series

Re: [PATCH v2 1/4] ARM: dts: thermal: exynos4: TMU device tree support for Exynos4412 targets

2013-04-28 Thread amit daniel kachhap
This patch looks good to me: Acked-by: Eduardo Valentin eduardo.valen...@ti.com This patch looks nice but I guess this patch should go via Kukjin Kim's samsung tree. Acked-by: Amit Daniel Kachhap amit.dan...@samsung.com Thanks, Amit Daniel --- Changes for v2: - None --- arch/arm/boot/dts

Re: [PATCH v2 3/4] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-04-28 Thread amit daniel kachhap
-by: Kyungmin Park kyungmin.p...@samsung.com I am fine with this one too. Reviewed-by: Eduardo Valentin eduardo.valen...@ti.com This patch looks fine and can be merged. Acked-by: Amit Daniel Kachhap amit.dan...@samsung.com Thanks, Amit Daniel --- Changes for v2: - Documentation extension

[PATCH V2 0/20] thermal: exynos: Add thermal driver for exynos5440

2013-04-26 Thread Amit Daniel Kachhap
Jonghwan Choi is added here with some changes. (https://patchwork.kernel.org/patch/1668371/) All these patches are based on thermal maintainers git tree, git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next. Amit Daniel Kachhap (19): thermal: exynos: Moving exynos thermal files

[PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-04-26 Thread Amit Daniel Kachhap
This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor driver and sensor data related parts. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V2 02/20] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-04-26 Thread Amit Daniel Kachhap
-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Kconfig | 26 +- drivers/thermal/samsung/Makefile|4 +- drivers/thermal/samsung/exynos_thermal.c| 421

[PATCH V2 03/20] thermal: exynos: Rename exynos_thermal.c to exynos_tmu.c

2013-04-26 Thread Amit Daniel Kachhap
This patch renames exynos_thermal.c to exynos_tmu.c. This change is needed as this file now just contains exynos tmu driver related codes and thermal zone or cpufreq cooling registration related changes are not there anymore. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel

[PATCH V2 10/20] thermal: exynos: Fix to clear only the generated interrupts

2013-04-26 Thread Amit Daniel Kachhap
This patch uses the TMU status register to know the generated interrupts and only clear them in the interrupt handler. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 10 -- drivers

[PATCH V2 16/20] thermal: exynos: Add features to check instead of SOC type

2013-04-26 Thread Amit Daniel Kachhap
This patch adds several features supported by TMU as bitfields. This features varies across different SOC type and comparing the features present in the TMU is more logical than comparing the soc itself. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH V2 17/20] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-04-26 Thread Amit Daniel Kachhap
From: Lukasz Majewski l.majew...@samsung.com Proper description for Exynos4 bindings added to Documentation/devicetree/ bindings Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |

[PATCH V2 19/20] Documentation: thermal: Explain the exynos thermal driver model

2013-04-26 Thread Amit Daniel Kachhap
This patch updates the documentation to explain the driver model and file layout. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal/exynos_thermal | 43 ++--- 1 files changed, 34

[PATCH V2 20/20] ARM: dts: Add device tree node for exynos5440 TMU controller

2013-04-26 Thread Amit Daniel Kachhap
This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi | 30 ++ 1

[PATCH V2 18/20] thermal: exynos: Add support for exynos5440 TMU sensor.

2013-04-26 Thread Amit Daniel Kachhap
supports upto five trip points. For critical threshold the driver uses the core driver thermal framework for shutdown. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt | 28 - drivers

[PATCH V2 14/20] thermal: exynos: Make the zone handling dependent on trip count

2013-04-26 Thread Amit Daniel Kachhap
This code simplifies the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c | 55

[PATCH V2 08/20] thermal: exynos: Support thermal tripping

2013-04-26 Thread Amit Daniel Kachhap
...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c |8 +++- drivers/thermal/samsung/exynos_tmu_data.c |2 ++ 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers

[PATCH V2 11/20] thermal: exynos: Add support for instance based register/unregister

2013-04-26 Thread Amit Daniel Kachhap
This code modifies the thermal driver to have multiple thermal zone support by replacing the global thermal zone variable with device data member of thermal_zone_device. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal

[PATCH V2 12/20] thermal: exynos: Modify private_data to appropriate name driver_data

2013-04-26 Thread Amit Daniel Kachhap
This patch renames member private_data to driver_data of the thermal zone registration structure as this item stores the driver related data and uses it to call the driver related callbacks. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com

[PATCH V2 15/20] thermal: exynos: Add support to handle many instances of TMU

2013-04-26 Thread Amit Daniel Kachhap
. Also the identifier of the TMU controller is extracted from device tree alias. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 125 +++--- 1 files changed, 84 insertions

[PATCH V2 13/20] thermal: exynos: Return success even if no cooling data supplied

2013-04-26 Thread Amit Daniel Kachhap
This patch removes the error return in the bind/unbind routine as the platform may not register any cpufreq cooling data. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c |4 ++-- 1 files

[PATCH V2 09/20] thermal: exynos: Move register definitions from driver file to data file

2013-04-26 Thread Amit Daniel Kachhap
This patch migrates the TMU register definition/bitfields to data file. This is needed to support SoC's which use the same TMU controller but register validity, offsets or bitfield may slightly vary across SOC's. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V2 05/20] thermal: exynos: Bifurcate exynos tmu driver and configuration data

2013-04-26 Thread Amit Daniel Kachhap
This code splits the exynos tmu driver code into SOC specific data parts. This will simplify adding new SOC specific data to the same TMU controller. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Makefile

[PATCH V2 06/20] thermal: exynos: Add missing definations and code cleanup

2013-04-26 Thread Amit Daniel Kachhap
This patch adds some extra register bitfield definations and cleans up the code to prepare for moving register macros and definations inside the TMU data section. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung

[PATCH V2 07/20] thermal: exynos: Add extra entries in the tmu platform data

2013-04-26 Thread Amit Daniel Kachhap
of the constant macros. All these changes helps in separating the SOC specific data part from the TMU driver. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 43 +++ drivers/thermal

[PATCH V2 04/20] thermal: exynos: Move exynos_thermal.h from include/* to driver/* folder

2013-04-26 Thread Amit Daniel Kachhap
definations. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c|1 - drivers/thermal/samsung/exynos_thermal_common.h| 15 +++ drivers/thermal/samsung/exynos_tmu.c

Re: [PATCH v2 2/4] Thermal: exynos: Support for TMU regulator defined at device tree

2013-04-25 Thread amit daniel kachhap
Hi Lukasz Majewski, Sorry for late review but I am currently working on restructuring the whole exynos thermal driver and this support of LDO can be added as feature as not all socs support this. This is also suggested by Eduardo. All your other patches looks fine. Thanks, Amit Daniel On Thu,

Re: [PATCH] cpufreq: exynos5440: Protect opp search calls with rcu lock

2013-04-16 Thread amit daniel kachhap
Hi Nishanth, Thanks for reviewing this patch. On Mon, Apr 15, 2013 at 7:40 PM, Nishanth Menon n...@ti.com wrote: Daniel, On Mon, Apr 15, 2013 at 1:24 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: As per the OPP library documentation(Documentation/power/opp.txt) all opp find/get

[PATCH] cpufreq: exynos5440: Protect opp search calls with rcu lock

2013-04-15 Thread Amit Daniel Kachhap
As per the OPP library documentation(Documentation/power/opp.txt) all opp find/get calls should be protected by rcu locks. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- This patch is created against linux-next tree and is suggested by Nishanth Menon. (https://lkml.org/lkml/2013

Re: [5/9] thermal: exynos: Make the zone handling dependent on trip count

2013-04-12 Thread amit daniel kachhap
Hi Eduardo, On Fri, Apr 12, 2013 at 2:18 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 26-03-2013 07:33, Amit Daniel Kachhap wrote: This code changes the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Signed-off-by: Amit

Re: [6/9] thermal: exynos: small cleanups to prepare for adding exynos5440 driver

2013-04-12 Thread amit daniel kachhap
Hi Eduardo, On Fri, Apr 12, 2013 at 2:24 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: Amit, On 26-03-2013 07:33, Amit Daniel Kachhap wrote: Add calib mode, trigger types and trigger_enable array. This is needed for adding exynos5440 TMU driver. I dont think the above are small

Re: [7/9] thermal: exynos: Add support for exynos5440 TMU sensor.

2013-04-12 Thread amit daniel kachhap
Hi Eduardo, On Fri, Apr 12, 2013 at 2:34 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: Amit, On 26-03-2013 07:34, Amit Daniel Kachhap wrote: This sensor registers 3 instance of the tmu controller with the thermal zone and hence reports 3 temperature output. This driver supports

Re: [RESEND PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-12 Thread amit daniel kachhap
Hi Rafael, On Fri, Apr 12, 2013 at 4:49 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday, April 11, 2013 06:23:52 PM Nishanth Menon wrote: Hi, On Mon, Apr 8, 2013 at 4:57 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: + +static int init_div_table(void) +{ + struct

[PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread Amit Daniel Kachhap
state management logic. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/cpufreq/cpufreq-exynos5440.txt| 28 ++ drivers/cpufreq/Kconfig.arm

[PATCH V6 4/4] arm: dts: Add cpufreq controller node for Exynos5440 SoC

2013-04-08 Thread Amit Daniel Kachhap
J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts

[PATCH V6 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-04-08 Thread Amit Daniel Kachhap
Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index c0c4ce5..475b4f6 100644

[PATCH V6 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-04-08 Thread Amit Daniel Kachhap
are dependent on Thomas Abraham common clock patches. (http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg15860.html) This whole patch series is based on Rafael tree. git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge Amit Daniel Kachhap (4): cpufreq: exynos

[PATCH V6 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-04-08 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig

Re: [PATCH V5 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-04-08 Thread amit daniel kachhap
On Fri, Apr 5, 2013 at 6:08 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday, March 28, 2013 01:35:18 PM Amit Daniel Kachhap wrote: Submitting the V5 version of exynos5440 cpufreq driver. This patchset addresses all the coding and design concerns raised especially by Viresh. Changes

[RESEND PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread Amit Daniel Kachhap
state management logic. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Re-sending this patch with a minor comment from Viresh about the correct usage

Re: [PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread amit daniel kachhap
On Mon, Apr 8, 2013 at 2:46 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 April 2013 14:17, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 April 2013 13:47, Amit Daniel Kachhap amit.dan...@samsung.com wrote: diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index

Re: [PATCH 0/9] thermal: exynos: Add thermal driver for exynos5440

2013-04-08 Thread amit daniel kachhap
Hi Rui, On Tue, Apr 2, 2013 at 3:56 PM, Kukjin Kim kgene@samsung.com wrote: Amit Daniel Kachhap wrote: This patchset adds TMU(Thermal management Unit) driver support for exynos5440 platform. There are 3 instances of the TMU controllers so necessary cleanup is done to handle multiple

[PATCH V5 4/4] arm: dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-28 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH V5 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-03-28 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm

[PATCH V5 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-03-28 Thread Amit Daniel Kachhap
state management logic. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/cpufreq/cpufreq-exynos5440.txt| 28 ++ drivers/cpufreq/Kconfig.arm|9 + drivers/cpufreq/Makefile |1 + drivers/cpufreq/exynos5440

[PATCH V5 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-03-28 Thread Amit Daniel Kachhap
and Inder. All these patches are dependent on Thomas Abraham common clock patches. (http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg15860.html) This whole patch series is based on 3.9-rc4. Amit Daniel Kachhap (4): cpufreq: exynos: Add cpufreq driver for exynos5440 cpufreq

[PATCH V5 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-28 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos

[PATCH 8/9] thermal: exynos: Parse the platform data from the device tree.

2013-03-26 Thread Amit Daniel Kachhap
This patch adds code to parse the DT based platform data like threshold temp, sensor configuration parameters like gain, reference voltages, calibration modes etc. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/thermal/exynos5440-thermal.txt| 93

[PATCH 9/9] ARM: dts: Add device tree node for exynos5440 TMU controller

2013-03-26 Thread Amit Daniel Kachhap
This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi | 43 + 1 files changed, 43 insertions(+), 0

[PATCH 7/9] thermal: exynos: Add support for exynos5440 TMU sensor.

2013-03-26 Thread Amit Daniel Kachhap
based frequency clipping limits. Because of such differences with the existing 4210 tmu controller, exynos5440 tmu driver is added in a new file. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Kconfig |9 + drivers/thermal/samsung/Makefile

[PATCH 5/9] thermal: exynos: Make the zone handling dependent on trip count

2013-03-26 Thread Amit Daniel Kachhap
This code changes the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_common.c | 56 + drivers/thermal/samsung

[PATCH 1/9] thermal: exynos: Adapt to temperature emulation core thermal framework

2013-03-26 Thread Amit Daniel Kachhap
read_temperature also follows the same execution method. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal/exynos_thermal_emulation |8 +- drivers/thermal/Kconfig|9 -- drivers/thermal

[PATCH 2/9] thermal: exynos: Add support for instance based register/unregister

2013-03-26 Thread Amit Daniel Kachhap
This code modifies the thermal driver to have multiple thermal zone support by replacing the global thermal zone varibale with device data member of thermal_zone_device. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/exynos_thermal.c | 65

[PATCH 6/9] thermal: exynos: small cleanups to prepare for adding exynos5440 driver

2013-03-26 Thread Amit Daniel Kachhap
Add calib mode, trigger types and trigger_enable array. This is needed for adding exynos5440 TMU driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos4210_thermal.c | 30 include/linux/platform_data/exynos_thermal.h

[PATCH 0/3] ARM: EXYNOS: cpuidle: Several fixes in exynos cpuidle/PM

2013-03-14 Thread Amit Daniel Kachhap
://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next Amit Daniel Kachhap (3): ARM: EXYNOS: Move arm core power down clock to exynos5250 common clock ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm ARM: EXYNOS: cpuidle: Allow C1 state only in supported SOC's

[PATCH 1/3] ARM: EXYNOS: Move arm core power down clock to exynos5250 common clock

2013-03-14 Thread Amit Daniel Kachhap
...@linaro.org Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/cpuidle.c | 35 drivers/clk/samsung/clk-exynos5250.c | 42 ++ 2 files changed, 42 insertions(+), 35 deletions(-) diff --git

[PATCH 2/3] ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm

2013-03-14 Thread Amit Daniel Kachhap
to `s3c_pm_restore_core' make: *** [vmlinux] Error 1 Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |2 +- arch/arm/mach-exynos/common.c |2 +- arch/arm/mach-exynos/common.h |1 - arch/arm/mach-exynos/cpuidle.c |1

[PATCH 3/3] ARM: EXYNOS: cpuidle: Allow C1 state only in supported SOC's.

2013-03-14 Thread Amit Daniel Kachhap
This patch registers the basic C0 state for all exynos SOC's but limits the C1(AFTR -Arm off top running) state in only the supported SOC's(ie. EXYNOS 4210, 4212, 4412 and 5250). Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/cpuidle.c |4 +++- 1 files

[PATCH V4 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-03-12 Thread Amit Daniel Kachhap
@vger.kernel.org/msg15860.html) This whole patch series is based on 3.9-rc2. Amit Daniel Kachhap (4): cpufreq: exynos: Adding cpufreq driver for exynos5440 cpufreq: exynos: Remove error return even if no soc is found arm: exynos: Enable OPP library support for exynos5440 dts: Add cpufreq controller

[PATCH V4 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-12 Thread Amit Daniel Kachhap
state management logic. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/cpufreq/cpufreq-exynos5440.txt| 29 ++ drivers/cpufreq/Kconfig.arm|9 + drivers/cpufreq/Makefile |1 + drivers/cpufreq/exynos5440

[PATCH V4 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-12 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos

[PATCH V4 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-03-12 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm

[PATCH V4 4/4] dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-12 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH 1/2] ARM: EXYNOS: enable all secondary cores for exynos5440

2013-03-11 Thread Amit Daniel Kachhap
This patch enables four cores on exynos5440. Also this patch skips the non exynos5440 pmu control changes. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/platsmp.c | 44

[PATCH 2/2] ARM: EXYNOS: Support CPU hotplug for exynos5440

2013-03-11 Thread Amit Daniel Kachhap
This patch adds support for CPU hotlpug for the 3 secondary cores of the exynos5440 SOC. The command to hotplug out/in is, echo 0 /sys/devices/system/cpu/cpu[1-3]/online echo 1 /sys/devices/system/cpu/cpu[1-3]/online Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 4/4] dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-06 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH V3 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-06 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos

[PATCH V2 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-02 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos

[PATCH V2 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-03-02 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm

[PATCH V2 4/4] dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-02 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added inside cpu0 node as done in other cpufreq drivers. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts

[PATCH V2 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-02 Thread Amit Daniel Kachhap
state management logic. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes in V2: * Added OPP library support to parse DT parameters. * Removed a hack to handle interrupts in bootup. * Added many review comments from Viresh and Inder. All these patches are dependent on Thomas

[PATCH V2] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-10 Thread Amit Daniel Kachhap
tushar.beh...@linaro.org Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- This patch is based on Samsung kernel maintainer's for-next tree. git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next The s5m8767 DT support is already accepted by regulator's maintainer

Re: [PATCH 2/5] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-10 Thread amit daniel kachhap
Daniel Kachhap amit.dan...@samsung.com Added S5M8767 PMIC DT nodes to Arndale board. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch/arm/boot/dts/exynos5250

<    1   2   3   4   5   6   >