[PATCH v3 3/6] hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

2012-05-08 Thread Amit Daniel Kachhap
+++ b/drivers/thermal/exynos_thermal.c @@ -0,0 +1,409 @@ +/* + * exynos_thermal.c - Samsung EXYNOS TMU (Thermal Management Unit) + * + * Copyright (C) 2011 Samsung Electronics + * Donggeun Kim dg77@samsung.com + * Amit Daniel Kachhap amit.kach...@linaro.org + * + * This program is free

[PATCH v3 4/6] thermal: exynos5: Add exynos5 thermal sensor driver support

2012-05-08 Thread Amit Daniel Kachhap
This patch inserts exynos5 TMU sensor changes in the thermal driver. Some exynos4 changes are made generic for exynos series. Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/Kconfig |6

[PATCH v4 0/5] thermal: exynos: Add kernel thermal support for exynos platform

2012-05-12 Thread Amit Daniel Kachhap
| | \|/| Cpufreq cooling device --- TODO: *Will send the DT enablement patches later after the driver is merged. Amit Daniel Kachhap (5): thermal: Add generic cpufreq cooling implementation hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

[PATCH v4 1/5] thermal: Add generic cpufreq cooling implementation

2012-05-12 Thread Amit Daniel Kachhap
be easily done as the registration APIs return the cooling device pointer. The user of these APIs are responsible for passing clipping frequency . The drivers can also register to recieve notification about any cooling action called. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org

[PATCH v4 3/5] thermal: exynos5: Add exynos5 thermal sensor driver support

2012-05-12 Thread Amit Daniel Kachhap
This patch inserts exynos5 TMU sensor changes in the thermal driver. Some exynos4 changes are made generic for exynos series. Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/Kconfig |6

[PATCH v4 4/5] thermal: exynos: Register the tmu sensor with the kernel thermal layer

2012-05-12 Thread Amit Daniel Kachhap
This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary cooling action. Signed-off-by: Amit Daniel Kachhap

[PATCH v4 5/5] ARM: exynos: Add thermal sensor driver platform data support

2012-05-12 Thread Amit Daniel Kachhap
This patch adds necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/exynos_thermal.c | 111

[PATCH v4 2/5] hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

2012-05-12 Thread Amit Daniel Kachhap
guenter.ro...@ericsson.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Signed-off-by: Donggeun Kim dg77@samsung.com --- Documentation/hwmon/exynos4_tmu | 81 Documentation/thermal/exynos_thermal | 52 +++ drivers/hwmon/Kconfig| 10

[PATCH 0/2] ARM: exynos: Enable TMU support in exynos platforms

2012-07-12 Thread Amit Daniel Kachhap
.html) This patchset is based Samsung Maintainer's tree, git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next Amit Daniel Kachhap (2): ARM: exynos4: Add devicetree node for TMU driver ARM: exynos5: Add devicetree node for TMU driver arch/arm/boot/dts/exynos4210.dtsi

[PATCH 1/2] ARM: exynos4: Add devicetree node for TMU driver

2012-07-12 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and adds devicetree for exynos4. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi|7 +++ arch/arm/mach-exynos/clock-exynos4.c |5 + arch/arm/mach-exynos

[PATCH 2/2] ARM: exynos5: Add devicetree node for TMU driver

2012-07-12 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and adds devicetree for exynos5. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach-exynos/clock-exynos5.c|5 + arch/arm/mach-exynos

[RESEND PATCH v4 0/5] thermal: Add kernel thermal support for exynos platform

2012-07-12 Thread Amit Daniel Kachhap
. Thanks, Amit Daniel Amit Daniel Kachhap (5): thermal: add generic cpufreq cooling implementation hwmon: exynos4: move thermal sensor driver to driver/thermal directory thermal: exynos5: add exynos5 thermal sensor driver support thermal: exynos: register the tmu sensor with the kernel

[RESEND PATCH v4 1/5] thermal: add generic cpufreq cooling implementation

2012-07-12 Thread Amit Daniel Kachhap
-foundation.org: fix comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Cc: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju sw...@samsung.com Cc: Durgadoss durgados...@intel.com Cc: Len Brown l...@kernel.org Cc: Jean Delvare kh...@linux

[RESEND PATCH v4 2/5] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-07-12 Thread Amit Daniel Kachhap
@@ +/* + * exynos_thermal.c - Samsung EXYNOS TMU (Thermal Management Unit) + * + * Copyright (C) 2011 Samsung Electronics + * Donggeun Kim dg77@samsung.com + * Amit Daniel Kachhap amit.kach...@linaro.org + * + * This program is free software; you can redistribute it and/or modify + * it under

[RESEND PATCH v4 3/5] thermal: exynos5: add exynos5 thermal sensor driver support

2012-07-12 Thread Amit Daniel Kachhap
Insert exynos5 TMU sensor changes into the thermal driver. Some exynos4 changes are made generic for exynos series. [a...@linux-foundation.org: fix comment layout] Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77

[RESEND PATCH v4 4/5] thermal: exynos: register the tmu sensor with the kernel thermal layer

2012-07-12 Thread Amit Daniel Kachhap
comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Acked-by: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju sw...@samsung.com Cc: Durgadoss durgados...@intel.com Cc: Len Brown l...@kernel.org Cc: Jean Delvare kh...@linux-fr.org

[RESEND PATCH v4 5/5] ARM: exynos: add thermal sensor driver platform data support

2012-07-12 Thread Amit Daniel Kachhap
Add necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Acked-by: Guenter Roeck guenter.ro

[PATCH v5 0/5] thermal: Add kernel thermal support for exynos platform

2012-07-13 Thread Amit Daniel Kachhap
Amit Daniel Kachhap (5): thermal: add generic cpufreq cooling implementation hwmon: exynos4: move thermal sensor driver to driver/thermal directory thermal: exynos5: add exynos5 thermal sensor driver support thermal: exynos: register the tmu sensor with the kernel thermal layer

[PATCH v5 5/5] ARM: exynos: add thermal sensor driver platform data support

2012-07-13 Thread Amit Daniel Kachhap
Add necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Acked-by: Guenter Roeck guenter.ro

[PATCH v5 1/5] thermal: add generic cpufreq cooling implementation

2012-07-13 Thread Amit Daniel Kachhap
-foundation.org: fix comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Cc: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju sw...@samsung.com Cc: Durgadoss durgados...@intel.com Cc: Len Brown l...@kernel.org Cc: Jean Delvare kh...@linux

[PATCH v5 2/5] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-07-13 Thread Amit Daniel Kachhap
+ * Amit Daniel Kachhap amit.kach...@linaro.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version

[PATCH v5 4/5] thermal: exynos: register the tmu sensor with the kernel thermal layer

2012-07-13 Thread Amit Daniel Kachhap
comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Acked-by: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju sw...@samsung.com Cc: Durgadoss durgados...@intel.com Cc: Len Brown l...@kernel.org Cc: Jean Delvare kh...@linux-fr.org

[PATCH v5 3/5] thermal: exynos5: add exynos5 thermal sensor driver support

2012-07-13 Thread Amit Daniel Kachhap
Insert exynos5 TMU sensor changes into the thermal driver. Some exynos4 changes are made generic for exynos series. [a...@linux-foundation.org: fix comment layout] Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77

Re: [PATCH 0/2] ARM: exynos: Enable TMU support in exynos platforms

2012-07-23 Thread amit daniel kachhap
On Fri, Jul 13, 2012 at 4:58 PM, Kukjin Kim kgene@samsung.com wrote: Amit Daniel Kachhap wrote: These TMU enablement patches are needed for exynos4 and exynos5 TMU driver patches sent earlier. The link for those are http://www.spinics.net/lists/lm-sensors/msg35858.html. How was going

[PATCH v6 1/6] thermal: add generic cpufreq cooling implementation

2012-08-16 Thread Amit Daniel Kachhap
. The user of these APIs are responsible for passing clipping frequency . The drivers can also register to recieve notification about any cooling action called. [a...@linux-foundation.org: fix comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Guenter Roeck guenter.ro

[PATCH v6 0/6] thermal: Add kernel thermal support for exynos platform

2012-08-16 Thread Amit Daniel Kachhap
over Zhang Rui's work can be found in the git link git://git.linaro.org/people/amitdanielk/linux.git exynos_v6_thermal_tree Thanks, Amit Daniel Amit Daniel Kachhap (6): thermal: add generic cpufreq cooling implementation hwmon: exynos4: move thermal sensor driver to driver/thermal directory

[PATCH v6 2/6] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-08-16 Thread Amit Daniel Kachhap
Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/hwmon/exynos4_tmu | 81 Documentation/thermal/exynos_thermal | 52 +++ drivers/hwmon/Kconfig| 10 - drivers

[PATCH v6 4/6] thermal: exynos: register the tmu sensor with the kernel thermal layer

2012-08-16 Thread Amit Daniel Kachhap
comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Acked-by: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju sw...@samsung.com Cc: Durgadoss durgados...@intel.com Cc: Len Brown l...@kernel.org Cc: Jean Delvare kh...@linux-fr.org Cc: Kyungmin Park kmp...@infradead.org Cc

[PATCH v6 5/6] ARM: exynos: add thermal sensor driver platform data support

2012-08-16 Thread Amit Daniel Kachhap
Add necessary default platform data support needed for TMU driver. The supplied dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms and only compile tested for exynos4412. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Acked-by: Guenter Roeck guenter.ro

[PATCH v6 6/6] thermal: exynos: Use devm_* functions

2012-08-16 Thread Amit Daniel Kachhap
...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/exynos_thermal.c | 45 +++-- 1 files changed, 9 insertions(+), 36 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index 03a99e4

[PATCH v6 3/6] thermal: exynos5: add exynos5250 thermal sensor driver support

2012-08-16 Thread Amit Daniel Kachhap
Insert exynos5 TMU sensor changes into the thermal driver. Some exynos4 changes are made generic for exynos series. [a...@linux-foundation.org: fix comment layout] Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Acked-by: Guenter Roeck

[RESEND PATCH v6 1/6] thermal: add generic cpufreq cooling implementation

2012-08-17 Thread Amit Daniel Kachhap
of these APIs are responsible for passing clipping frequency . The drivers can also register to recieve notification about any cooling action called. [a...@linux-foundation.org: fix comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Guenter Roeck guenter.ro...@ericsson.com Cc

[PATCH v2 0/2] ARM: exynos: Enable TMU support in exynos platforms

2012-10-26 Thread Amit Daniel Kachhap
From: Amit Daniel Kachhap amit.dan...@samsung.com These TMU enablement patches are needed for exynos4 and exynos5 TMU driver already merged(drivers/thermal/exynos_thermal.c). This patchset is based on Samsung Maintainer's tree, git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux

[PATCH v2 1/2] ARM: exynos4: Add devicetree node for TMU driver

2012-10-26 Thread Amit Daniel Kachhap
From: Amit Daniel Kachhap amit.dan...@samsung.com This patch adds necessary source definations needed for TMU driver and adds devicetree node for exynos4210. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi|7 +++ arch/arm/mach

[PATCH v2 2/2] ARM: exynos5: Add devicetree node for TMU driver

2012-10-26 Thread Amit Daniel Kachhap
From: Amit Daniel Kachhap amit.dan...@samsung.com This patch adds necessary source definations needed for TMU driver and adds devicetree node for exynos5250. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach

Re: [PATCH v2 1/2] ARM: exynos4: Add devicetree node for TMU driver

2012-10-29 Thread Amit Daniel Kachhap
On 29 October 2012 17:52, Kukjin Kim kgene@samsung.com wrote: On 10/26/12 18:29, Amit Daniel Kachhap wrote: From: Amit Daniel Kachhapamit.dan...@samsung.com This patch adds necessary source definations needed for TMU driver and adds devicetree node for exynos4210. Signed-off-by: Amit

[PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-07 Thread Amit Daniel Kachhap
threshold interrupts and polling can be totally avoided. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/step_wise.c | 19 +++ include/linux/thermal.h |2 ++ 2 files changed, 17

[PATCH 0/4] thermal: Add support for interrupt based notification to thermal layer

2012-11-07 Thread Amit Daniel Kachhap
trend type to implement this feature. All these patches are based on thermal maintainer next tree. git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next Amit Daniel Kachhap (3): thermal: Add new thermal trend type to support quick cooling thermal: exynos: Miscellaneous fixes

[PATCH 2/4] Thermal: exynos: Add support for temperature falling interrupt.

2012-11-07 Thread Amit Daniel Kachhap
things by hw. This feature is not supported in exynos4210. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/exynos_thermal.c | 81 +++--- include/linux/platform_data/exynos_thermal.h

[PATCH 3/4] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2012-11-07 Thread Amit Daniel Kachhap
the the event that caused the interrupt. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/exynos_thermal.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/thermal

[PATCH 4/4] thermal: exynos: Use the new thermal trend type for quick cooling action.

2012-11-08 Thread Amit Daniel Kachhap
This patch uses the quick thermal cooling trend type macros. This is needed as exynos5 and other thermal sensors now supports only interrupt method for thresold temperature check. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org

[PATCH V2 0/3] thermal: Add support for interrupt based notification to thermal layer

2012-11-26 Thread Amit Daniel Kachhap
new thermal trend type to implement this feature and some falling interrupt fixes. All these patches are based on thermal maintainer thermal branch. git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git thermal Amit Daniel Kachhap (2): thermal: exynos: Miscellaneous fixes to support

[PATCH V2 1/3] Thermal: exynos: Add support for temperature falling interrupt.

2012-11-26 Thread Amit Daniel Kachhap
things by hw. This feature is not supported in exynos4210. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/exynos_thermal.c | 81 +++--- include/linux/platform_data/exynos_thermal.h

[PATCH V2 2/3] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2012-11-26 Thread Amit Daniel Kachhap
that caused the interrupt. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- drivers/thermal/exynos_thermal.c | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/thermal

[PATCH V2 3/3] thermal: exynos: Use the new thermal trend type for quick cooling action.

2012-11-26 Thread Amit Daniel Kachhap
This patch uses the quick thermal cooling trend type macros. This is needed as exynos5 and other thermal sensors now supports only interrupt method for thresold temperature check. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org

[PATCH 0/4] regulator: s5m8767: Small fixes and device support

2012-12-10 Thread Amit Daniel Kachhap
These patch series contains 3 small fixes and device tree support for pmic component of s5m8767 regulator driver. Amit Daniel Kachhap (4): regulator: s5m8767: Fix to work when platform registers less regulators regulator: s5m8767: Fix to read the first DVS register. regulator: s5m8767

[PATCH 4/4] regulator: add device tree support for s5m8767

2012-12-10 Thread Amit Daniel Kachhap
Add device tree based discovery support for pmic block of s5m8767 Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/regulator/s5m8767-regulator.txt | 133 ++ drivers/mfd/sec-core.c | 75 - drivers/regulator

[PATCH 2/4] regulator: s5m8767: Fix to read the first DVS register.

2012-12-10 Thread Amit Daniel Kachhap
This patch modifies the DVS register read function to select correct DVS1 register. This change is required because the GPIO select pin is 000 in unintialized state and hence selects the DVS1 register. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/regulator/s5m8767.c

[PATCH 1/4] regulator: s5m8767: Fix to work when platform registers less regulators

2012-12-10 Thread Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/regulator/s5m8767.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 2b822be..df0b094 100644 --- a/drivers/regulator

[PATCH] cpufreq: exynos: Add the missing cpufreq_cpu_put function

2012-12-26 Thread Amit Daniel Kachhap
This patch adds the missing cpufreq_cpu_put function needed for returning the cpufreq policy instance. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/cpufreq/exynos

[PATCH 2/5 RESEND] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2013-01-06 Thread Amit Daniel Kachhap
that caused the interrupt. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/exynos_thermal.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index dcd13f7

Re: [PATCH V2 0/3] thermal: Add support for interrupt based notification to thermal layer

2013-01-06 Thread amit daniel kachhap
Hi Rui, Any comment on these patches? These are based on new quick cooling macros introduced. Also my linaro ID is not valid so using samsung ID. Thanks, Amit Daniel On Mon, Nov 26, 2012 at 5:47 AM, Amit Daniel Kachhap amit.kach...@linaro.org wrote: Changes since V1: Used the new thermal trend

[PATCH 1/2] thermal: sysfs: Add a new sysfs node emul_temp

2013-01-06 Thread Amit Daniel Kachhap
. This is useful in debugging different temperature threshold and its associated cooling action. Writing 0 on this node should disable emulation. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal/sysfs-api.txt | 14 ++ drivers/thermal/thermal_sys.c

[PATCH 2/2] thermal: exynos: Use the framework for temperature emulation support

2013-01-06 Thread Amit Daniel Kachhap
This removes the driver specific sysfs support of the temperature emulation and uses the newly added core thermal framework for thermal emulation. A platform specific handler is added to support this. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal

Re: [PATCH 5/5] ARM: exynos: enable/disable cpuidle when cpu1 is down/up

2013-01-10 Thread amit daniel kachhap
On Thu, Jan 10, 2013 at 1:32 PM, Daniel Lezcano daniel.lezc...@free.fr wrote: On 01/10/2013 09:07 PM, amit daniel kachhap wrote: Hi Daniel, Hi Amit Daniel, This hotplug noifiers looks fine. I suppose it should add extra state C1 in cpu0. If it is done like below than for normal cases(when

[PATCH V3 2/3] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2013-01-16 Thread Amit Daniel Kachhap
that caused the interrupt. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes since V2, Incorporated Joe Perches j...@perches.com review comments about coding guidelines. This path is based on thermal maintainer next tree. drivers/thermal/exynos_thermal.c | 17

Re: [PATCH V2 0/3] thermal: Add support for interrupt based notification to thermal layer

2013-01-17 Thread amit daniel kachhap
Hi Rui, Any update? Please merge these patch series as they have many critical fixes. Thanks, Amit Daniel On Sun, Jan 6, 2013 at 3:57 PM, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Rui, Any comment on these patches? These are based on new quick cooling macros introduced. Also

[PATCH V2 2/2] thermal: exynos: Use the framework for temperature emulation support

2013-01-27 Thread Amit Daniel Kachhap
This removes the driver specific sysfs support of the temperature emulation and uses the newly added core thermal framework for thermal emulation. A platform specific handler is added to support this. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Kukjin Kim kgene

[PATCH V2 1/2] thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation

2013-01-27 Thread Amit Daniel Kachhap
software emulation if no platform handler defined. This is useful in debugging different temperature threshold and its associated cooling action. Critical threshold's cannot be emulated. Writing 0 on this node should disable emulation. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked

[PATCH V2] regulator: add device tree support for s5m8767

2013-01-30 Thread Amit Daniel Kachhap
...@linaro.org Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Change since V1: * Added description of pmic-buck-ds-gpios and op_mode in the device tree documentation as suggested by Thomas Abraham. * Incorporated coding guidelines review comments. This patch is based on Mark Brown's tree next

Re: [PATCH V2] regulator: add device tree support for s5m8767

2013-01-31 Thread amit daniel kachhap
On Thu, Jan 31, 2013 at 1:56 AM, Rahul Sharma r.sh.o...@gmail.com wrote: On Thu, Jan 31, 2013 at 3:10 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This device tree support is added for PMIC block of S5m8767 multi function driver. The usage detail is added in the device tree

[PATCH V3] regulator: add device tree support for s5m8767

2013-02-03 Thread Amit Daniel Kachhap
...@linaro.org Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes since V2: * Remove un-necessary inclusion of platform file as pointed by Rahul Sharma r.sh.o...@gmail.com Changes since V1: * Added description of pmic-buck-ds-gpios and op_mode in the device tree documentation

[PATCH V3 1/2] thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation

2013-02-03 Thread Amit Daniel Kachhap
software emulation if no platform handler defined. This is useful in debugging different temperature threshold and its associated cooling action. Critical threshold's cannot be emulated. Writing 0 on this node should disable emulation. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked

[PATCH 1/3] cpufreq: exynos: Remove error return even if no soc found

2013-02-06 Thread Amit Daniel Kachhap
This change is needed for adding different type of cpufreq driver and support single binary image. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/exynos

[PATCH 2/3] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-02-06 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/cpufreq/cpufreq-exynos5440.txt| 24 ++ drivers/cpufreq/Kconfig.arm|8 + drivers/cpufreq/Makefile |1 + drivers/cpufreq/exynos5440-cpufreq.c | 448

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

2013-02-06 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi |9 + 1 file changed, 9 insertions(+) diff --git

[PATCH V3 1/2] Thermal: exynos: Add support for temperature falling interrupt.

2013-02-07 Thread Amit Daniel Kachhap
things by hw. This feature is not supported in exynos4210. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Hi, Submitting these patches again as they got lost somewhere and was not merged

[PATCH V3 2/2] thermal: exynos: Use the new thermal trend type for quick cooling action.

2013-02-07 Thread Amit Daniel Kachhap
This patch uses the quick thermal cooling trend type macros. This is needed as exynos5 and other thermal sensors now supports only interrupt method for thresold temperature check. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Hi

[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

[PATCH V3] thermal: exynos: Adapt to temperature emulation core thermal framework

2013-02-10 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 --- Changes in V3: * Added an invalid return from function when CONFIG_THERMAL_EMULATION is not defined. * Added more details in the patch

[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 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 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 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 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 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 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

  1   2   3   4   5   6   >