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
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
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
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
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
-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
+ * 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
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
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
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
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
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
Hi,
On Wed, Apr 17, 2013 at 10:41 PM, Eduardo Valentin
eduardo.valen...@ti.com wrote:
As this code is not a module nor a platform device driver,
this patch removes some unused header files.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Hi Eduardo,
I looked at your whole series and they certainly looks useful, so for
the entire series,
Acked-by: Amit Daniel Kachhap amit.dan...@samsung.com
Thanks,
Amit Daniel Kachhap
On Thu, Apr 18, 2013 at 2:02 AM, Eduardo Valentin
eduardo.valen...@ti.com wrote:
On 17-04-2013 13:11, Eduardo
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
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
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
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
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
On Thu, Mar 28, 2013 at 6:12 PM, Viresh Kumar viresh.ku...@linaro.org wrote:
On 28 March 2013 13:35, Amit Daniel Kachhap amit.dan...@samsung.com wrote:
+++ b/drivers/cpufreq/exynos5440-cpufreq.c
+static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
+{
+ policy-cur
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
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
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
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
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
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
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
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
posted patch,
https://patchwork.kernel.org/patch/2123131/.
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 (9):
thermal: exynos: Adapt to temperature emulation core thermal
framework
thermal
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
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
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
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
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
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
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
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
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
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
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
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
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
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
@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
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
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
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
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
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
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
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
state management logic.
Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com
---
Changes in V3:
* Converted the driver to probe based as suggested by Viresh. This is also
beneficial for multiplatform kernel.
* Other coding guidelines related changes.
Changes in V2:
* Added OPP library
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
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
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
...@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
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
On Thu, Jan 31, 2013 at 11:59 PM, Zhang Rui rui.zh...@intel.com wrote:
On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote:
In different places in the Thermal code, the CPU frequency list is iterated
in an incorrect way, leading to endless loops when the frequency list
contains
a
On Tue, Feb 5, 2013 at 1:59 AM, Zhang Rui rui.zh...@intel.com wrote:
On Mon, 2013-02-04 at 11:49 -0800, amit daniel kachhap wrote:
On Thu, Jan 31, 2013 at 11:59 PM, Zhang Rui rui.zh...@intel.com wrote:
On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote:
In different places in the Thermal code
...@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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
...@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
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
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
On Sat, May 12, 2012 at 3:10 PM, Amit Daniel Kachhap
amit.kach...@linaro.org wrote:
Hi Andrew/Rui,
As discussed with Rui Zhang, I dropped the patch for new trip type
THERMAL_TRIP_STATE_INSTANCE and made the necessary state magnagement changes
in cpufreq cooling functions. Also I fixed all
.
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
-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
@@
+/*
+ * 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
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
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
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
This patch initialises the cpu field of this_dbs_info structure. This
change is similar to existing ondemand governor.
Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com
---
drivers/cpufreq/cpufreq_conservative.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
On Tue, Jul 24, 2012 at 12:25 AM, Rafael J. Wysocki r...@sisk.pl wrote:
On Monday, July 23, 2012, Amit Daniel Kachhap wrote:
On 23 July 2012 15:53, Rafael J. Wysocki r...@sisk.pl wrote:
On Monday, July 23, 2012, Amit Daniel Kachhap wrote:
This patch initialises the cpu field
This change initialises the cpu id field of cs_cpu_dbs_info structure in
conservative governor and keep this consistent with other governors.
Similar initialisation is present in ondemand governor.
Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com
---
drivers/cpufreq
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
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
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
Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com
---
drivers/regulator/s5m8767.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 7ed7591..9f991f2 100644
--- a/drivers/regulator
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
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
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
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
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
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
On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao sonny...@chromium.org wrote:
The cpu_thermal generic thermal management code has a bug where once
max cpu frequency has been lowered in sysfs (scaling_max_freq) it is
not possible to raise the max back up later. The bug is that the
notifer gets
On Tue, Dec 18, 2012 at 9:45 PM, Doug Anderson diand...@chromium.org wrote:
Amit,
On Tue, Dec 18, 2012 at 8:17 PM, amit daniel kachhap
amit.dan...@samsung.com wrote:
On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao sonny...@chromium.org wrote:
The cpu_thermal generic thermal management code has
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
1 - 100 of 974 matches
Mail list logo