Hello Greg,
Several compilation fixes and a couple of debugging prints
added to the omap-thermal driver under staging area.
Patches are also available here:
g...@gitorious.org:thermal-framework/thermal-framework.git
thermal_work/omap/omap-thermal-fixes
Cheers,
Eduardo Valentin (4):
staging
Because we are not including asm/io.h, the driver is not compiling.
This patch adds the missing header.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging
Because the driver is not really using platform data, this patch
removes the pdata nomenclature from this driver.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-thermal-common.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff
table.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.h|9 ---
drivers/staging/omap-thermal/omap-thermal-common.c | 63 +---
2 files changed, 3 insertions(+), 69 deletions(-)
diff --git a/drivers/staging/omap
For debugging purposes, print the IRQ event for the domain being processed.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/omap-thermal/omap
. Hence removed checking of the register value and
restoring the context.
Signed-off-by: Radhesh Fadnis radhesh.fad...@ti.com
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c | 56 ++-
1 files changed, 21 insertions
Hello Greg,
I will repost this series as I found I sent you wrong set of patches.
Please check the next version.
On 13-11-2012 11:43, Eduardo Valentin wrote:
Hello Greg,
Several compilation fixes and a couple of debugging prints
added to the omap-thermal driver under staging area.
Patches
.
Patches are also available here:
g...@gitorious.org:thermal-framework/thermal-framework.git
thermal_work/omap/omap-thermal-fixes_3.7
Cheers,
Eduardo Valentin (4):
staging: omap-thermal: fix compilation
staging: omap-thermal: remove platform data nomenclature
staging: omap-thermal: remove
Because we are not including linux/io.h, the driver is not compiling.
This patch adds the missing header.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers
Because the driver is not really using platform data, this patch
removes the pdata nomenclature from this driver.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-thermal-common.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff
table.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.h|9 ---
drivers/staging/omap-thermal/omap-thermal-common.c | 63 +---
2 files changed, 3 insertions(+), 69 deletions(-)
diff --git a/drivers/staging/omap
For debugging purposes, print the IRQ event for the domain being processed.
Signed-off-by: Enric Balletbo i Serra eballe...@gmail.com
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c |5 +
1 files changed, 5 insertions(+), 0
. Hence removed checking of the register value and
restoring the context.
Signed-off-by: Radhesh Fadnis radhesh.fad...@ti.com
Signed-off-by: Enric Balletbo i Serra eballe...@gmail.com
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/staging/omap-thermal/omap-bandgap.c | 57
Hello,
On Tue, Nov 13, 2012 at 02:09:59PM -0400, Eduardo Valentin wrote:
Hello again Greg,
So here is the correct set of changes. They now include the
right version of the patches and with the fixes reported
by Enric. Thanks Enric for the heads up.
So, Several compilation fixes
On 14-04-2013 21:43, Zhang Rui wrote:
On Fri, 2013-04-05 at 08:32 -0400, Eduardo Valentin wrote:
This patch adds a helper function to get a reference of
a thermal zone, based on the zone type name.
It will perform a zone name lookup and return a reference
to a thermal zone device that matches
On 14-04-2013 21:43, Zhang Rui wrote:
On Fri, 2013-04-05 at 08:32 -0400, Eduardo Valentin wrote:
This patch exports the thermal_zone_get_temp API so that driver
writers can fetch temperature of thermal zones managed by other
drivers.
Acked-by: Durgadoss R durgados...@intel.com
Signed-off
On 14-04-2013 21:44, Zhang Rui wrote:
On Fri, 2013-04-05 at 08:32 -0400, Eduardo Valentin wrote:
For boards that provide a PCB sensor close to SoC junction
temperature, it is possible to remove the cumulative heat
reported by the SoC temperature sensor.
This patch changes the extrapolation
On 13-04-2013 19:46, Ville Syrjälä wrote:
On Sun, Apr 14, 2013 at 12:44:00AM +0300, Ville Syrjälä wrote:
On Sat, Apr 13, 2013 at 10:02:21AM -0600, Jake Edge wrote:
Hi Zhang Rui,
The problem reported in https://lkml.org/lkml/2012/12/4/428 (and
incorrectly attributed to a suspend patch by me
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
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 3
Remove unnecessary white spaces.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
Simple fixes for making kernel_doc happy about
struct cpufreq_cooling_device. Includes also a minor
spelling fix.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal
Restrict the usage to GPL modules.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git
level will be used only if GET_FREQ mode is requested.
There is no potential harm with current code. But for
cleaning the compilation log, this patch initializes
level to zero.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index bdc4233..68d5a2d 100644
--- a/drivers
Update documentation for is_cpufreq_valid function so
that kernel-doc does not complain about return value.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c
Rui,
On 08-04-2013 12:07, Eduardo Valentin wrote:
Here is a sequence of fixes and documentation improvements
thermal code base. This should be first of a series of changes
I am planing to send out.
On this very first there is no change in functionality, as
the patches only change symbol
As this is one of the central functions of this file,
it deserves a proper documentation. This patch improves
the existing comment to format it as a kernel-doc style.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
Improve code readiness by remove checkpatch.pl warnings
on get_property function.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 3 ++-
1 file changed, 2
There are at least three patterns for oneline comments in this
file. This patch changes them to one single pattern
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal
Remove unnecessary blank line.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/thermal
Add documentation for cpufreq_get_cooling_level. As this
is an exported function, it has to be documented.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c
Simple code style fix.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal
Fix kernel-doc warning on get_cpu_frequency and improve
documentation comments.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 8 +++-
1 file changed
Update kernel-doc comments for cpufreq_apply_cooling function.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 6 ++
1 file changed, 6 insertions
Update kernel-doc comment and documentation for cpufreq_thermal_notifier.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 6 ++
1 file changed, 6
There is no support for hotplug or any other means of reducing
temperature. So, this patch removes these references from Kconfig.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers
Update documentation for cpufreq_get_max_state callback.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 5 +
1 file changed, 5 insertions(+)
diff
Update documentation for cpufreq_set_cur_state callback.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 5 +
1 file changed, 5 insertions(+)
diff
Update documentation for cpufreq_get_cur_state callback.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 5 +
1 file changed, 5 insertions(+)
diff
Add proper documentation for exported function cpufreq_cooling_register.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 7 +++
1 file changed, 7
Update comments for this exported function.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
Limit the amount of bytes written to dev_name by
secure writing with snprintf.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 3 ++-
1 file changed, 2
Just for style purposes, remove extra curl brackets.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions
The list is needed so far. Thus removing it.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/cpu_cooling.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff
Remove defines that are not in used.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
include/linux/cpu_cooling.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux
Add cpu_cooling.h to thermal entry in MAINTAINERS.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
Update header list for cpu_cooling.h. Missing definition
of cpumask.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Durgadoss R durgados...@intel.com
Cc: Amit Daniel Kachhap amit.kach...@linaro.org
Cc: Andrew Morton a...@linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
To improve code readiness, change the way the lines
are broken in this file.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
include/linux/cpu_cooling.h | 16
1 file
Improve code readiness by changing alignments so that
they match open parenthesis, like checkpatch.pl --strict
suggests.
Cc: Zhang Rui rui.zh...@intel.com
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal
On 15-04-2013 09:22, Eduardo Valentin wrote:
On 14-04-2013 21:43, Zhang Rui wrote:
On Fri, 2013-04-05 at 08:32 -0400, Eduardo Valentin wrote:
This patch exports the thermal_zone_get_temp API so that driver
writers can fetch temperature of thermal zones managed by other
drivers.
Acked
On 15-04-2013 09:21, Eduardo Valentin wrote:
On 14-04-2013 21:43, Zhang Rui wrote:
On Fri, 2013-04-05 at 08:32 -0400, Eduardo Valentin wrote:
This patch adds a helper function to get a reference of
a thermal zone, based on the zone type name.
It will perform a zone name lookup and return
On 17-04-2013 11:10, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
To follow the prefix names used by the thermal exported functions,
this patch renames get_tz_trend to thermal_zone_trend_get.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
NACK
On 17-04-2013 11:20, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
Restrict usage of GPL modules.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
NACK for
thermal_zone_trend_get/thermal_instance_get/thermal_cdev_update, for the
reasons stated earlier
On 17-04-2013 11:28, Zhang Rui wrote:
On Wed, 2013-04-17 at 23:26 +0800, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
This patch updates the documentation for thermal_zone_bind_cooling_device
and removes the warnings generated by scripts/kernel-doc -v.
Signed
On 17-04-2013 11:09, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
To follow the prefix names used by the thermal exported functions,
this patch renames get_thermal_instance to thermal_instance_get.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
NACK
On 17-04-2013 11:31, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
This patch updates the documentation for thermal_cooling_device_register
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
On 17-04-2013 11:24, Zhang Rui wrote:
On Mon, 2013-04-08 at 12:07 -0400, Eduardo Valentin wrote:
This patch updates the documentation for thermal_zone_device_register
it is not enough.
parameters including const struct thermal_zone_params *tzp,
int passive_delay, and int polling_delay
@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
arch/arm/Kconfig| 3 +++
arch/arm/mach-omap2/Kconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index abf4467..04abc7c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm
@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
arch/arm/boot/dts/omap443x.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index cccf39a..8d6c968 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
@vger.kernel.org
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
arch/arm/boot/dts/omap4460.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
index 7c2c23c..3808b5c 100644
--- a/arch/arm/boot/dts/omap4460.dtsi
+++ b
On 17-04-2013 13:11, Eduardo Valentin wrote:
Rui,
Looks like I forgot to add the lists on patch 00. Doing so..
This is a series of patches to improve the code for cpu_cooling.
Majority of these changes are actually kernel-doc updates, as
they required to be revised. A part from
On 04-04-2013 13:12, R, Durgadoss wrote:
-Original Message-
From: Eduardo Valentin [mailto:eduardo.valen...@ti.com]
Sent: Thursday, April 04, 2013 3:43 AM
To: Zhang, Rui
Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; R, Durgadoss;
Eduardo Valentin
Subject: [PATCHv2 1/3
On 29-03-2013 10:26, Zhang Rui wrote:
this is the preparation work to build all the thermal core framework
source file, like governors, cpu cooling, etc, into one module.
No functional change in this patch.
Signed-off-by: Zhang Rui rui.zh...@intel.com
Durga and me have already reviewed and
Hello Rui,
Here is V3 of temperature lookup helper function. This has been
split into two API as suggested on V1 and now the API returns an
specific error code for multiple matches, as suggested in V2.
The usage of it is exemplified on patch 03.
Eduardo Valentin (3):
thermal: introduce
This patch exports the thermal_zone_get_temp API so that driver
writers can fetch temperature of thermal zones managed by other
drivers.
Acked-by: Durgadoss R durgados...@intel.com
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 20
For boards that provide a PCB sensor close to SoC junction
temperature, it is possible to remove the cumulative heat
reported by the SoC temperature sensor.
This patch changes the extrapolation computation to consider
an external sensor in the extrapolation equations.
Signed-off-by: Eduardo
or if the required parameters are invalid, it will return
the corresponding error code (ERR_PTR).
Cc: Durgadoss R durgados...@intel.com
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 38 ++
include/linux/thermal.h |1
.
Eduardo Valentin (11):
thermal: use strlcpy instead of strcpy
thermal: update driver license
thermal: rename notify_thermal_framework to thermal_notify_framework
thermal: rename get_thermal_instance to thermal_instance_get
thermal: rename get_tz_trend to thermal_zone_trend_get
For memory boundaries safety, use strlcpy instead of strcpy.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index
As per the comment at the top of this file, this is a GPLv2 driver.
This patch updates the driver license accordingly.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers
To follow the prefix names used by the thermal exported functions,
this patch renames notify_thermal_framework to thermal_notify_framework.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/thermal_sys.c |6
To follow the prefix names used by the thermal exported functions,
this patch renames get_thermal_instance to thermal_instance_get.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/fair_share.c|2 +-
drivers
Restrict usage of GPL modules.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 24
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index 242c82a
This patch updates the documentation for thermal_zone_bind_cooling_device
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions
This patch updates the documentation for thermal_zone_unbind_cooling_device
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions
To follow the prefix names used by the thermal exported functions,
this patch renames get_tz_trend to thermal_zone_trend_get.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/step_wise.c |2 +-
drivers/thermal
This patch updates the documentation for thermal_cooling_device_register
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff
This patch updates the documentation for thermal_zone_device_register
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff
This patch updates the documentation for create_trip_attrs
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers
Tyrel,
On 08-04-2013 14:24, edubez...@gmail.com wrote:
Fixing to right email address.
On Mon, Apr 8, 2013 at 1:22 PM, Greg KH gre...@linuxfoundation.org wrote:
On Sun, Apr 07, 2013 at 06:47:20PM -0700, Tyrel Datwyler wrote:
This patch removes trailing whitespace from a blank line in
On 08-04-2013 15:12, Dan Carpenter wrote:
On Mon, Apr 08, 2013 at 02:27:13PM -0400, Eduardo Valentin wrote:
Thanks, please keep sending your patches and copy my email address
so I will give you a quick response.
Please, send a patch adding yourself to the MAINTAINERS file so
Hi Andrew,
On 08-04-2013 19:54, Andrew Bresticker wrote:
The loops which are used to perform lookups in CPU frequency tables in
cpu_cooling and the Exynos thermal driver do not update the loop counter
if they encounter an invalid table entry, leading to an infinite loop in
that case.
Hi Andrew,
On 08-04-2013 19:56, Andrew Bresticker wrote:
When selecting a target cooling state in get_target_state(), make sure
that the state is at least as high as the minimum when the temperature
is rising and at least as low as the maximum when the temperature is
falling. Previously the
On 09-04-2013 13:09, Andrew Bresticker wrote:
Hi Eduardo,
On Tue, Apr 9, 2013 at 8:00 AM, Eduardo Valentin
eduardo.valen...@ti.com wrote:
Hi Andrew,
On 08-04-2013 19:56, Andrew Bresticker wrote:
When selecting a target cooling state in get_target_state(), make sure
that the state
On 09-04-2013 13:02, Andrew Bresticker wrote:
Hi Eduardo,
On Tue, Apr 9, 2013 at 7:55 AM, Eduardo Valentin
eduardo.valen...@ti.com wrote:
Hi Andrew,
On 08-04-2013 19:54, Andrew Bresticker wrote:
The loops which are used to perform lookups in CPU frequency tables in
cpu_cooling
On 09-04-2013 14:27, Andrew Bresticker wrote:
You do two things in this change on cpu_cooling.c: (1) fix the case where
the loop is kept running indefinitely. (2) Reserve a specific role for each
index in this function.
So the issue is that the changes are not independent. With just the
fix
and hits a thermal trip point for the first time when it's frequency
is much higher than the range specified by the thermal instance
corresponding to the trip point.
Signed-off-by: Andrew Bresticker abres...@chromium.org
applied.
Rui,
Can you please add my:
Acked-by: Eduardo Valentin eduardo.valen
them, so we can just remove the inclusions.
Signed-off-by: Arnd Bergmann a...@arndb.de
Cc: linux...@vger.kernel.org
Cc: Zhang Rui rui.zh...@intel.com
This patch looks good to me.
You can add my:
Acked-by: Eduardo Valentin eduardo.valen...@ti.com
[1] - http://marc.info/?l=linux-pmm
Hello Amit,
Couple of comments inline.
On 26-03-2013 07:33, Amit Daniel Kachhap wrote:
This removes the driver specific sysfs support of the temperature
emulation and uses the newly added core thermal framework for thermal
emulation. An exynos platform specific handler is added to support
Hey Amit,
On 26-03-2013 07:33, Amit Daniel Kachhap wrote:
This code modifies the thermal driver to have multiple thermal zone
support by replacing the global thermal zone varibale with device data
s/varibale/variable
member of thermal_zone_device.
Signed-off-by: Amit Daniel Kachhap
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 Daniel Kachhap amit.dan...@samsung.com
---
drivers/thermal/samsung/exynos_common.c | 56
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 cleanups. I d rather split this patch
into three, one per change and describe them properly.
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 upto five trip
points. For critical threshold the driver uses the core driver thermal
framework for
Amit,
Copying Grant for the DT part discussion.
On 26-03-2013 07:34, Amit Daniel Kachhap wrote:
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
Amit,
Copying Grant for DT.
On 26-03-2013 07:34, Amit Daniel Kachhap wrote:
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
On 11-04-2013 21:12, Zhang Rui wrote:
On Thu, 2013-04-04 at 16:24 -0400, Eduardo Valentin wrote:
On 29-03-2013 10:26, Zhang Rui wrote:
this is the preparation work to build all the thermal core framework
source file, like governors, cpu cooling, etc, into one module.
No functional change
On 12-04-2013 07:16, amit daniel kachhap wrote:
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
Hello Rui,
Here is V2 of temperature lookup helper function. This has been
split into two API as suggested on V1.
The usage of it is exemplified on patch 03.
Eduardo Valentin (3):
thermal: introduce thermal_zone_get_zone_by_name helper function
thermal: expose thermal_zone_get_temp API
or if the required parameters are invalid, it will return
the corresponding error code (ERR_PTR).
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 34 ++
include/linux/thermal.h |1 +
2 files changed, 35 insertions(+), 0
This patch exports the thermal_zone_get_temp API so that driver
writers can fetch temperature of thermal zones managed by other
drivers.
Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com
---
drivers/thermal/thermal_sys.c | 20 +---
include/linux/thermal.h |1
1 - 100 of 3753 matches
Mail list logo