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
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
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
-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
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
...@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 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
...@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
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
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
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
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
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
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
. 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
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
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
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
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
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, 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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
-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
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
.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
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
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
.
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
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
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
| |
\|/|
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
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
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
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
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
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
+++ 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
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
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
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 | 107
the default data such as freq_clip_max if
needed.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
Documentation/thermal/cpu-cooling-api.txt | 60 +
drivers/thermal/Kconfig | 11 +
drivers/thermal/Makefile |3 +-
drivers/thermal/cpu_cooling.c
This patch enables core cpuidle timekeeping and irq enabling and
remove those redundant parts from the exynos cpuidle drivers
CC: Daniel Lezcano daniel.lezc...@linaro.org
CC: Robert Lee rob@linaro.org
Signed-off-by: Amit Daniel amit.kach...@linaro.org
---
arch/arm/mach-exynos/cpuidle.c |
be easily done as the registration APIs return the
cooling device pointer. The user of these APIs are responsible for
passing the cpumask.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
Documentation/thermal/cpu-cooling-api.txt | 16 +++
drivers/thermal/Kconfig
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
+++ b/drivers/thermal/exynos4_thermal.c
@@ -0,0 +1,409 @@
+/*
+ * exynos4_thermal.c - Samsung EXYNOS4 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
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/Kconfig | 11 +++
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos
- Temperature Sensor
| |
\|/|
Cpufreq cooling device ---
Amit Daniel Kachhap (6):
thermal: Add a new trip type to use cooling device instance number
thermal: Add generic cpufreq cooling implementation
this,
Core Linux thermal --- Exynos thermal Temperature Sensor
| |
\|/|
Cpufreq cooling device -
Amit Daniel Kachhap (4):
thermal: exynos: Add thermal interface support for linux thermal
layer
hwmon
cooling action.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
drivers/thermal/Kconfig |8 +
drivers/thermal/Makefile |1 +
drivers/thermal/exynos_thermal.c | 272 ++
include/linux/exynos_thermal.h | 72 ++
4
This movement is needed because the hwmon entries and corresponding
sysfs interface is a duplicate of utilities already provided by
driver/thermal/thermal_sys.c. The goal is to place it in mfd folder
and add necessary calls to get the temperature information.
Signed-off-by: Amit Daniel Kachhap
functions are removed as all of them are present in generic linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
Documentation/mfd/exynos4_tmu
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/Kconfig | 11 +
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos
(http://www.spinics.net/lists/arm-kernel/msg132243.html) earlier
submitted by Jaecheol Lee jc@samsung.com.
This patch uses CPU PM notifiers , common l2 save/restore and
new cpu_suspend/resume interfaces and is based on the tip of
master branch of kernel.org tree(v3.3-rc4)
Amit Daniel Kachhap (5
@samsung.com
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/cpuidle.c | 147 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 146 insertions(+), 3
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm
-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index a4f61a4..2dd55a1
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/common.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/common.c b/arch
functions are currently left although all of them are present in generic
linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
drivers/hwmon/exynos4_tmu.c
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm
-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 4093fea..1883cc9
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/cpu.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach
.
(git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
for-next).
Amit Daniel Kachhap (6):
ARM: exynos: Add support AFTR mode on EXYNOS4210
ARM: s5p: remove useless churn in sleep.S
ARM: exynos: save L2 settings during bootup
ARM: s5p: add L2 early resume code
ARM
@samsung.com
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos/cpuidle.c | 152 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 151 insertions(+), 3
This patch cleans up sleep code in preparation for L2 resume code
and hotplug functions
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/plat-s5p/sleep.S |4 +++-
1 files changed, 3 insertions(+), 1 deletions
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/mach-exynos
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org
---
arch/arm/plat-s5p/sleep.S | 28
1 files changed
401 - 500 of 515 matches
Mail list logo